files.com 1.1.71 → 1.1.73

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96350d60adbf48f03bef23f92f401b7379d941d0a84a096fb888f9f50ac5b14f
4
- data.tar.gz: 6eb373ee703eb37af54a90c56d1659cd39a9a85c3ca4e71d3d6feed415671ab0
3
+ metadata.gz: 4a631c195abdeeb0171bade12e5785fbe72d31a9b59e27e717626bb9b3c9156c
4
+ data.tar.gz: ae984fd3fb3585064645377adc6be7f85a1a8930235ec2d83a23e12550b50b73
5
5
  SHA512:
6
- metadata.gz: 7adad898b0859968b76bd05468a3026d69927fff732407c0ffc520c38abe8d59bd52a0c455ca6b775a2782b024248d47fbe25edbabb582fbd6520110b42d993f
7
- data.tar.gz: feb59df8af1b8e566321579e3e9807fb462d679edf45fb5d7ffdf80c9992f2361b70a0646675fc6ef7b92f4b51a9f0b7d0c572c15068dd7992044d6dd68c5b3b
6
+ metadata.gz: 92643759ea9caafb71621cfdef8ecb7cee922a18a4faff12e0e44aedb275d75fe3346c5ca51596a94552c7a3e5f88fde3a564614982045eb42b0c22a86b10f0c
7
+ data.tar.gz: e009091e256c98becb789b8bcb5a01a718236b56c2f1c63a8db4e31ffdd56aaf1d8135474f812f45d5de8a3428fcae5c8cd070f1223601f59c62d29a81740c48
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.71
1
+ 1.1.73
@@ -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
@@ -16,16 +16,10 @@
16
16
  "path": "example",
17
17
  "true_path": "example",
18
18
  "name": "example",
19
- "message": "example",
20
- "failure_reason_type": "example",
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
- * `message` (string): Log Message
49
- * `failure_reason_type` (string): Failure Reason Type
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
- * `flags` (string): SFTP Command Flags. Present for actions which involve flags.
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.
@@ -19,6 +19,11 @@ module Files
19
19
  @attributes[:api_key_id]
20
20
  end
21
21
 
22
+ # string - API Key Prefix, if applicable
23
+ def api_key_prefix
24
+ @attributes[:api_key_prefix]
25
+ end
26
+
22
27
  # int64 - User ID
23
28
  def user_id
24
29
  @attributes[:user_id]
@@ -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 - Log Message
73
- def message
74
- @attributes[:message]
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 - Failure Reason Type
78
- def failure_reason_type
79
- @attributes[:failure_reason_type]
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 - SFTP Command Flags. Present for actions which involve flags.
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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.71"
4
+ VERSION = "1.1.73"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.71
4
+ version: 1.1.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com