files.com 1.1.407 → 1.1.408
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/behavior.md +1 -1
- data/docs/sync.md +2 -0
- data/lib/files.com/models/behavior.rb +1 -1
- data/lib/files.com/models/sync.rb +4 -0
- 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: 2e1565de75caff420c9d3a651f2ee02b199cc11915a6d404e630b670c1e800b8
|
|
4
|
+
data.tar.gz: e8ef94458d5129b73f1d422e5a4e0f5c77778d34e1cb05637889ebf9f94a3e3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be4e7d3f443ae8cc807b35b1f18eb241688d38e032f300ce51be83545de17af9e10375ef3145310c92a51a591c51cdf1eaefc90ad51e136bdc7c9ddbf99c73c7
|
|
7
|
+
data.tar.gz: 380747899a1dc0711011a1d247bff6767ef1c08a7a2f2622ac2f3ee65dda23e47f47ff9a73add6ba01ba490b0a764baf9aeba28cc2e33c0b49fa9121ecaf0339
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.408
|
data/docs/behavior.md
CHANGED
|
@@ -44,7 +44,7 @@ Files::Behavior.list
|
|
|
44
44
|
* `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.
|
|
45
45
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
46
46
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
|
|
47
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui`
|
|
47
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `clickwrap_id`, `form_field_set_id`, `impacts_ui`, `remote_server_id` or `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
---
|
data/docs/sync.md
CHANGED
|
@@ -110,6 +110,8 @@ Files::Sync.list
|
|
|
110
110
|
|
|
111
111
|
* `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.
|
|
112
112
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
113
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`.
|
|
114
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `src_remote_server_id` and `dest_remote_server_id`.
|
|
113
115
|
|
|
114
116
|
|
|
115
117
|
---
|
|
@@ -159,7 +159,7 @@ module Files
|
|
|
159
159
|
# 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.
|
|
160
160
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
161
161
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
|
|
162
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui`
|
|
162
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `clickwrap_id`, `form_field_set_id`, `impacts_ui`, `remote_server_id` or `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
|
|
163
163
|
def self.list(params = {}, options = {})
|
|
164
164
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
165
165
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
@@ -339,9 +339,13 @@ module Files
|
|
|
339
339
|
# Parameters:
|
|
340
340
|
# 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.
|
|
341
341
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
342
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`.
|
|
343
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `src_remote_server_id` and `dest_remote_server_id`.
|
|
342
344
|
def self.list(params = {}, options = {})
|
|
343
345
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
344
346
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
347
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
|
348
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
|
345
349
|
|
|
346
350
|
List.new(Sync, params) do
|
|
347
351
|
Api.send_request("/syncs", :get, params, options)
|
data/lib/files.com/version.rb
CHANGED