files.com 1.1.177 → 1.1.178
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/inbox_upload.md +2 -7
- data/lib/files.com/models/inbox_upload.rb +1 -5
- 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: 3c277306c58869359840049a216eaf284e84678eb4e75b8c8f96d9dc7b8b0358
|
4
|
+
data.tar.gz: 46d2548f33d60f27b5e8ad4aac1fee90d00b03104d69727d2c2e5bde4d83fec4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c99c3af2c09ef96555226a5e5a1813f4aa244a516c236f82df4dedb37ab7b7118d9d4e39f0684b37667e1a33d661af061845c5585ae311c458fb4b54e9e5d6a
|
7
|
+
data.tar.gz: ed9857743084b7a8e9bdd403f42e942f7f55b4e2b8bdb161c957eb28264babad9aacd2dbff9a84787a65a8b9ec91d54823a9e9ba8200871d32e39dd4b31d70dc
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.178
|
data/docs/inbox_upload.md
CHANGED
@@ -20,10 +20,7 @@
|
|
20
20
|
## List Inbox Uploads
|
21
21
|
|
22
22
|
```
|
23
|
-
Files::InboxUpload.list
|
24
|
-
inbox_registration_id: 1,
|
25
|
-
inbox_id: 1
|
26
|
-
)
|
23
|
+
Files::InboxUpload.list
|
27
24
|
```
|
28
25
|
|
29
26
|
### Parameters
|
@@ -31,10 +28,8 @@ Files::InboxUpload.list(
|
|
31
28
|
* `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.
|
32
29
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
33
30
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
34
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
31
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ created_at, folder_behavior_id ]` and `[ created_at, inbox_registration_id ]`.
|
35
32
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
36
33
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
37
34
|
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
38
35
|
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
39
|
-
* `inbox_registration_id` (int64): InboxRegistration ID
|
40
|
-
* `inbox_id` (int64): Inbox ID
|
@@ -28,13 +28,11 @@ module Files
|
|
28
28
|
# 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.
|
29
29
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
30
30
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
31
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
31
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ created_at, folder_behavior_id ]` and `[ created_at, inbox_registration_id ]`.
|
32
32
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
33
33
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
34
34
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
35
35
|
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
36
|
-
# inbox_registration_id - int64 - InboxRegistration ID
|
37
|
-
# inbox_id - int64 - Inbox ID
|
38
36
|
def self.list(params = {}, options = {})
|
39
37
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
40
38
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
@@ -44,8 +42,6 @@ module Files
|
|
44
42
|
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
45
43
|
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
46
44
|
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
47
|
-
raise InvalidParameterError.new("Bad parameter: inbox_registration_id must be an Integer") if params[:inbox_registration_id] and !params[:inbox_registration_id].is_a?(Integer)
|
48
|
-
raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
|
49
45
|
|
50
46
|
List.new(InboxUpload, params) do
|
51
47
|
Api.send_request("/inbox_uploads", :get, params, options)
|
data/lib/files.com/version.rb
CHANGED