files.com 1.1.71 → 1.1.73
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/api_request_log.md +2 -0
- data/docs/sftp_action_log.md +6 -18
- data/lib/files.com/models/api_request_log.rb +5 -0
- data/lib/files.com/models/sftp_action_log.rb +8 -38
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a631c195abdeeb0171bade12e5785fbe72d31a9b59e27e717626bb9b3c9156c
|
4
|
+
data.tar.gz: ae984fd3fb3585064645377adc6be7f85a1a8930235ec2d83a23e12550b50b73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92643759ea9caafb71621cfdef8ecb7cee922a18a4faff12e0e44aedb275d75fe3346c5ca51596a94552c7a3e5f88fde3a564614982045eb42b0c22a86b10f0c
|
7
|
+
data.tar.gz: e009091e256c98becb789b8bcb5a01a718236b56c2f1c63a8db4e31ffdd56aaf1d8135474f812f45d5de8a3428fcae5c8cd070f1223601f59c62d29a81740c48
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.73
|
data/docs/api_request_log.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
{
|
7
7
|
"timestamp": "2000-01-01T01:00:00Z",
|
8
8
|
"api_key_id": "example",
|
9
|
+
"api_key_prefix": "example",
|
9
10
|
"user_id": 1,
|
10
11
|
"username": "example",
|
11
12
|
"interface": "example",
|
@@ -25,6 +26,7 @@
|
|
25
26
|
|
26
27
|
* `timestamp` (date-time): Start Time of Action
|
27
28
|
* `api_key_id` (string): API Key ID, if applicable
|
29
|
+
* `api_key_prefix` (string): API Key Prefix, if applicable
|
28
30
|
* `user_id` (int64): User ID
|
29
31
|
* `username` (string): Username
|
30
32
|
* `interface` (string): API Interface
|
data/docs/sftp_action_log.md
CHANGED
@@ -16,16 +16,10 @@
|
|
16
16
|
"path": "example",
|
17
17
|
"true_path": "example",
|
18
18
|
"name": "example",
|
19
|
-
"
|
20
|
-
"
|
21
|
-
"failure_reason_message": "example",
|
19
|
+
"sftp_response_code": "example",
|
20
|
+
"sftp_response_message": "example",
|
22
21
|
"md5": "example",
|
23
|
-
"flags": "example",
|
24
|
-
"handle": "example",
|
25
|
-
"attrs": "example",
|
26
22
|
"size": "example",
|
27
|
-
"offset": "example",
|
28
|
-
"length": "example",
|
29
23
|
"data_length": "example",
|
30
24
|
"entries_returned": 1,
|
31
25
|
"success": "example",
|
@@ -42,19 +36,13 @@
|
|
42
36
|
* `auth_method` (string): Authentication Method
|
43
37
|
* `auth_ciphers` (string): Authentication Ciphers
|
44
38
|
* `action_type` (string): Action Type
|
45
|
-
* `path` (string): Path as sent by the Client (may not match Files.com path due to user root folders for SFTP) This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
39
|
+
* `path` (string): Path as sent by the Client (may not match Files.com path due to user root folders for SFTP). This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
46
40
|
* `true_path` (string): Path on Files.com
|
47
41
|
* `name` (string): Name of File
|
48
|
-
* `
|
49
|
-
* `
|
50
|
-
* `failure_reason_message` (string): Failure Reason Message
|
42
|
+
* `sftp_response_code` (string): SFTP Response Code Returned to the Client.
|
43
|
+
* `sftp_response_message` (string): SFTP Response Message Returned to the Client.
|
51
44
|
* `md5` (string): MD5 Hash of the file. Not always available.
|
52
|
-
* `
|
53
|
-
* `handle` (string): SFTP Command Handle. Present for actions which involve handles.
|
54
|
-
* `attrs` (string): SFTP Command Attrs. Present for action which involve attrs.
|
55
|
-
* `size` (string): Size. Present for action which involve size.
|
56
|
-
* `offset` (string): Offset. Present for actions which involve offset.
|
57
|
-
* `length` (string): Length. Present for actions which involve length.
|
45
|
+
* `size` (string): Size of File That was Uploaded or Downloaded.
|
58
46
|
* `data_length` (string): Data Length in Bytes. Present for actions that transfer data.
|
59
47
|
* `entries_returned` (int64): Number of entries returned when listing files and folders
|
60
48
|
* `success` (string): Whether SFTP Action was successful.
|
@@ -54,7 +54,7 @@ module Files
|
|
54
54
|
@attributes[:action_type]
|
55
55
|
end
|
56
56
|
|
57
|
-
# string - Path as sent by the Client (may not match Files.com path due to user root folders for SFTP) This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
57
|
+
# string - Path as sent by the Client (may not match Files.com path due to user root folders for SFTP). This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
58
58
|
def path
|
59
59
|
@attributes[:path]
|
60
60
|
end
|
@@ -69,19 +69,14 @@ module Files
|
|
69
69
|
@attributes[:name]
|
70
70
|
end
|
71
71
|
|
72
|
-
# string -
|
73
|
-
def
|
74
|
-
@attributes[:
|
72
|
+
# string - SFTP Response Code Returned to the Client.
|
73
|
+
def sftp_response_code
|
74
|
+
@attributes[:sftp_response_code]
|
75
75
|
end
|
76
76
|
|
77
|
-
# string -
|
78
|
-
def
|
79
|
-
@attributes[:
|
80
|
-
end
|
81
|
-
|
82
|
-
# string - Failure Reason Message
|
83
|
-
def failure_reason_message
|
84
|
-
@attributes[:failure_reason_message]
|
77
|
+
# string - SFTP Response Message Returned to the Client.
|
78
|
+
def sftp_response_message
|
79
|
+
@attributes[:sftp_response_message]
|
85
80
|
end
|
86
81
|
|
87
82
|
# string - MD5 Hash of the file. Not always available.
|
@@ -89,36 +84,11 @@ module Files
|
|
89
84
|
@attributes[:md5]
|
90
85
|
end
|
91
86
|
|
92
|
-
# string -
|
93
|
-
def flags
|
94
|
-
@attributes[:flags]
|
95
|
-
end
|
96
|
-
|
97
|
-
# string - SFTP Command Handle. Present for actions which involve handles.
|
98
|
-
def handle
|
99
|
-
@attributes[:handle]
|
100
|
-
end
|
101
|
-
|
102
|
-
# string - SFTP Command Attrs. Present for action which involve attrs.
|
103
|
-
def attrs
|
104
|
-
@attributes[:attrs]
|
105
|
-
end
|
106
|
-
|
107
|
-
# string - Size. Present for action which involve size.
|
87
|
+
# string - Size of File That was Uploaded or Downloaded.
|
108
88
|
def size
|
109
89
|
@attributes[:size]
|
110
90
|
end
|
111
91
|
|
112
|
-
# string - Offset. Present for actions which involve offset.
|
113
|
-
def offset
|
114
|
-
@attributes[:offset]
|
115
|
-
end
|
116
|
-
|
117
|
-
# string - Length. Present for actions which involve length.
|
118
|
-
def length
|
119
|
-
@attributes[:length]
|
120
|
-
end
|
121
|
-
|
122
92
|
# string - Data Length in Bytes. Present for actions that transfer data.
|
123
93
|
def data_length
|
124
94
|
@attributes[:data_length]
|
data/lib/files.com/version.rb
CHANGED