files.com 1.1.269 → 1.1.271
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/public_hosting_request_log.md +11 -7
- data/docs/sync_run.md +2 -2
- data/lib/files.com/models/public_hosting_request_log.rb +16 -6
- data/lib/files.com/models/sync_run.rb +1 -1
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93a13f9f2fcb1618b8e0d422bc03b75b7e717725325c8838f1285fdf5e82ec1b
|
4
|
+
data.tar.gz: 6a9d8e9fdd9098e6e524628c8e64c9f94fc51f0afd144c96b46b44ab52879cf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ff1ef1e595296b5a3cc2e087a0521ea846b51ead530efa3b7796770b8f2f0480453c18687d835c57865e27b6a3af44fabc35157ddcc23f2f644cfb0e1128197
|
7
|
+
data.tar.gz: 66bb7d1ff74327dd41e940640e5259f8297fd3c201bf426a03d71b18acc89e99294b3bcf8c300c67fb4f9b035cf7c352e101d86279d1540dfd4f3dfb3074abd0
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.271
|
@@ -12,19 +12,23 @@
|
|
12
12
|
"responseCode": 1,
|
13
13
|
"success": true,
|
14
14
|
"duration_ms": 1,
|
15
|
-
"created_at": "2000-01-01T01:00:00Z"
|
15
|
+
"created_at": "2000-01-01T01:00:00Z",
|
16
|
+
"bytes_transferred": 1,
|
17
|
+
"http_method": "GET"
|
16
18
|
}
|
17
19
|
```
|
18
20
|
|
19
21
|
* `timestamp` (date-time): Start Time of Action. Deprecrated: Use created_at.
|
20
|
-
* `remote_ip` (string): IP Address of Public Hosting Client
|
21
|
-
* `server_ip` (string): IP Address of Public Hosting Server
|
22
|
-
* `hostname` (string): HTTP Request Hostname
|
22
|
+
* `remote_ip` (string): IP Address of Public Hosting Client.
|
23
|
+
* `server_ip` (string): IP Address of Public Hosting Server.
|
24
|
+
* `hostname` (string): HTTP Request Hostname.
|
23
25
|
* `path` (string): HTTP Request Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
24
|
-
* `responseCode` (int64): HTTP Response Code
|
26
|
+
* `responseCode` (int64): HTTP Response Code.
|
25
27
|
* `success` (boolean): Whether SFTP Action was successful.
|
26
|
-
* `duration_ms` (int64): Duration (in milliseconds)
|
27
|
-
* `created_at` (date-time): Start Time of Action
|
28
|
+
* `duration_ms` (int64): Duration (in milliseconds).
|
29
|
+
* `created_at` (date-time): Start Time of Action.
|
30
|
+
* `bytes_transferred` (int64): The number of bytes transferred for file downloads.
|
31
|
+
* `http_method` (string): Method of the HTTP call.
|
28
32
|
|
29
33
|
|
30
34
|
---
|
data/docs/sync_run.md
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
"compared_folders": 1,
|
19
19
|
"errored_files": 1,
|
20
20
|
"successful_files": 1,
|
21
|
-
"runtime":
|
21
|
+
"runtime": 1.0,
|
22
22
|
"s3_body_path": "example",
|
23
23
|
"s3_internal_body_path": "example",
|
24
24
|
"completed_at": "2000-01-01T01:00:00Z",
|
@@ -40,7 +40,7 @@
|
|
40
40
|
* `compared_folders` (int64): Number of folders compared
|
41
41
|
* `errored_files` (int64): Number of files that errored
|
42
42
|
* `successful_files` (int64): Number of files successfully synced
|
43
|
-
* `runtime` (
|
43
|
+
* `runtime` (double): Total runtime in seconds
|
44
44
|
* `s3_body_path` (string): S3 path to the main log file
|
45
45
|
* `s3_internal_body_path` (string): S3 path to the internal log file
|
46
46
|
* `completed_at` (date-time): When this run was completed
|
@@ -14,17 +14,17 @@ module Files
|
|
14
14
|
@attributes[:timestamp]
|
15
15
|
end
|
16
16
|
|
17
|
-
# string - IP Address of Public Hosting Client
|
17
|
+
# string - IP Address of Public Hosting Client.
|
18
18
|
def remote_ip
|
19
19
|
@attributes[:remote_ip]
|
20
20
|
end
|
21
21
|
|
22
|
-
# string - IP Address of Public Hosting Server
|
22
|
+
# string - IP Address of Public Hosting Server.
|
23
23
|
def server_ip
|
24
24
|
@attributes[:server_ip]
|
25
25
|
end
|
26
26
|
|
27
|
-
# string - HTTP Request Hostname
|
27
|
+
# string - HTTP Request Hostname.
|
28
28
|
def hostname
|
29
29
|
@attributes[:hostname]
|
30
30
|
end
|
@@ -34,7 +34,7 @@ module Files
|
|
34
34
|
@attributes[:path]
|
35
35
|
end
|
36
36
|
|
37
|
-
# int64 - HTTP Response Code
|
37
|
+
# int64 - HTTP Response Code.
|
38
38
|
def response_code
|
39
39
|
@attributes[:responseCode]
|
40
40
|
end
|
@@ -44,16 +44,26 @@ module Files
|
|
44
44
|
@attributes[:success]
|
45
45
|
end
|
46
46
|
|
47
|
-
# int64 - Duration (in milliseconds)
|
47
|
+
# int64 - Duration (in milliseconds).
|
48
48
|
def duration_ms
|
49
49
|
@attributes[:duration_ms]
|
50
50
|
end
|
51
51
|
|
52
|
-
# date-time - Start Time of Action
|
52
|
+
# date-time - Start Time of Action.
|
53
53
|
def created_at
|
54
54
|
@attributes[:created_at]
|
55
55
|
end
|
56
56
|
|
57
|
+
# int64 - The number of bytes transferred for file downloads.
|
58
|
+
def bytes_transferred
|
59
|
+
@attributes[:bytes_transferred]
|
60
|
+
end
|
61
|
+
|
62
|
+
# string - Method of the HTTP call.
|
63
|
+
def http_method
|
64
|
+
@attributes[:http_method]
|
65
|
+
end
|
66
|
+
|
57
67
|
# Parameters:
|
58
68
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
59
69
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
data/lib/files.com/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: files.com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.271
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|