files.com 1.1.78 → 1.1.80
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/api_request_log.md +2 -0
- data/docs/behavior.md +4 -4
- data/lib/files.com/errors.rb +2 -0
- data/lib/files.com/models/api_request_log.rb +5 -0
- data/lib/files.com/models/behavior.rb +4 -4
- 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: fb64b3962881003eaa1321f393eaa78263adffa6673058112ca54faae4a30f04
|
4
|
+
data.tar.gz: f90717c54d61cf5be75ec075aad171c656d46c3d043b46f78d5c351910f62f38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d079eed4185586e823ede2746a194fa50d3af47f67d21049f06b21642076ccdd332f4205391c2a3ad6103aa3c198f8faaef3bf31361d0948619a5a912dcb1d44
|
7
|
+
data.tar.gz: 8b21fabe60da61aa2fefd34ddc8acbe95c6642cb4371a1057586744d0bb254e91dbaf50ea5e25625b214e32fa06f657a5ab5210085d5bb0757c77a8d08856055
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.80
|
data/docs/api_request_log.md
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
"api_name": "example",
|
19
19
|
"user_agent": "example",
|
20
20
|
"error_type": "example",
|
21
|
+
"error_message": "example",
|
21
22
|
"response_code": 1,
|
22
23
|
"success": true,
|
23
24
|
"duration_ms": 1
|
@@ -38,6 +39,7 @@
|
|
38
39
|
* `api_name` (string): Name of API Endpoint
|
39
40
|
* `user_agent` (string): User-Agent
|
40
41
|
* `error_type` (string): Error type, if applicable
|
42
|
+
* `error_message` (string): Error message, if applicable
|
41
43
|
* `response_code` (int64): HTTP Response Code
|
42
44
|
* `success` (boolean): `false` if HTTP Response Code is 4xx or 5xx
|
43
45
|
* `duration_ms` (int64): Duration (in milliseconds)
|
data/docs/behavior.md
CHANGED
@@ -45,8 +45,8 @@ Files::Behavior.list(
|
|
45
45
|
|
46
46
|
* `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.
|
47
47
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
48
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior`.
|
49
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
|
48
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior` and `impacts_ui`.
|
49
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
50
50
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
|
51
51
|
|
52
52
|
|
@@ -78,8 +78,8 @@ Files::Behavior.list_for(path,
|
|
78
78
|
|
79
79
|
* `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.
|
80
80
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
81
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior`.
|
82
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
|
81
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior` and `impacts_ui`.
|
82
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
83
83
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
|
84
84
|
* `path` (string): Required - Path to operate on.
|
85
85
|
* `ancestor_behaviors` (string): Show behaviors above this path?
|
data/lib/files.com/errors.rb
CHANGED
@@ -212,6 +212,8 @@ module Files
|
|
212
212
|
class ServiceUnavailableError < APIError; end
|
213
213
|
class AgentUnavailableError < ServiceUnavailableError; end
|
214
214
|
class AutomationsUnavailableError < ServiceUnavailableError; end
|
215
|
+
class MigrationInProgressError < ServiceUnavailableError; end
|
216
|
+
class SiteDisabledError < ServiceUnavailableError; end
|
215
217
|
class UploadsUnavailableError < ServiceUnavailableError; end
|
216
218
|
|
217
219
|
class SiteConfigurationError < APIError; end
|
@@ -162,8 +162,8 @@ module Files
|
|
162
162
|
# Parameters:
|
163
163
|
# 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.
|
164
164
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
165
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior`.
|
166
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
|
165
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior` and `impacts_ui`.
|
166
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
167
167
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
|
168
168
|
def self.list(params = {}, options = {})
|
169
169
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
@@ -200,8 +200,8 @@ module Files
|
|
200
200
|
# Parameters:
|
201
201
|
# 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.
|
202
202
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
203
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior`.
|
204
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
|
203
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior` and `impacts_ui`.
|
204
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
205
205
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
|
206
206
|
# path (required) - string - Path to operate on.
|
207
207
|
# ancestor_behaviors - string - Show behaviors above this path?
|
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.80
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|