files.com 1.1.187 → 1.1.189
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/README.md +6 -0
- data/_VERSION +1 -1
- data/docs/user.md +1 -1
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/user.rb +1 -1
- 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: 1ff599330200f04340ceedac02ac0f6172a58b24cc477a24aea54c6758e8ae61
|
4
|
+
data.tar.gz: 837fb450e54fc23819ccfedbd6ee2dc6b240760d6ccf78614d8badf1f6ce4f1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc9bfd3a7186861899e3c3b038eeba829ddce72742a2d15e18afa1d31239415e9247a60fbe21431b8dce73dfec076b6e8c554fad87f405ec762bc66faed379f0
|
7
|
+
data.tar.gz: 68c4c9a6cd9793ea151925fdb2f7d23cf3f5bf8a42e0324ceae43114d25c08dcd6cff938b9ea8d34f8fbbeb6a0d2adc960fe6af1592f7755c008563dbb3529dd
|
data/README.md
CHANGED
@@ -345,6 +345,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
|
|
345
345
|
|`InvalidFilterAliasCombinationError`| `BadRequestError` |
|
346
346
|
|`InvalidFilterFieldError`| `BadRequestError` |
|
347
347
|
|`InvalidFilterParamError`| `BadRequestError` |
|
348
|
+
|`InvalidFilterParamFormatError`| `BadRequestError` |
|
348
349
|
|`InvalidFilterParamValueError`| `BadRequestError` |
|
349
350
|
|`InvalidInputEncodingError`| `BadRequestError` |
|
350
351
|
|`InvalidInterfaceError`| `BadRequestError` |
|
@@ -499,6 +500,11 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
|
|
499
500
|
|`TrialLockedError`| `SiteConfigurationError` |
|
500
501
|
|`UserRequestsEnabledRequiredError`| `SiteConfigurationError` |
|
501
502
|
|
503
|
+
## Case Sensitivity
|
504
|
+
|
505
|
+
The Files.com API compares files and paths in a case-insensitive manner.
|
506
|
+
For related documentation see [Case Sensitivity Documentation](https://www.files.com/docs/files-and-folders/file-system-semantics/case-sensitivity).
|
507
|
+
|
502
508
|
## Examples
|
503
509
|
|
504
510
|
The Files::File and Files::Dir models implement the standard Ruby API
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.189
|
data/docs/user.md
CHANGED
@@ -167,7 +167,7 @@ Files::User.list(
|
|
167
167
|
|
168
168
|
* `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.
|
169
169
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
170
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `
|
170
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `name`, `company`, `password_validity_days`, `ssl_required` or `username`.
|
171
171
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]` and `[ company, name ]`.
|
172
172
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
|
173
173
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
|
data/lib/files.com/errors.rb
CHANGED
@@ -61,6 +61,7 @@ module Files
|
|
61
61
|
class InvalidFilterAliasCombinationError < BadRequestError; end
|
62
62
|
class InvalidFilterFieldError < BadRequestError; end
|
63
63
|
class InvalidFilterParamError < BadRequestError; end
|
64
|
+
class InvalidFilterParamFormatError < BadRequestError; end
|
64
65
|
class InvalidFilterParamValueError < BadRequestError; end
|
65
66
|
class InvalidInputEncodingError < BadRequestError; end
|
66
67
|
class InvalidInterfaceError < BadRequestError; end
|
@@ -836,7 +836,7 @@ module Files
|
|
836
836
|
# Parameters:
|
837
837
|
# 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.
|
838
838
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
839
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `
|
839
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `name`, `company`, `password_validity_days`, `ssl_required` or `username`.
|
840
840
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]` and `[ company, name ]`.
|
841
841
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
|
842
842
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
|
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.189
|
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-
|
11
|
+
date: 2024-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|