files.com 1.1.169 → 1.1.171
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/bundle_action.md +0 -2
- data/docs/folder.md +2 -2
- data/lib/files.com/models/bundle_action.rb +0 -5
- data/lib/files.com/models/folder.rb +1 -3
- 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: 7d19b0cd3a4eeb6e7e3534cba99ad43f6b929af41b58a625aa783f98b73e70df
|
4
|
+
data.tar.gz: ccd21731f2e64291248e69db69cf2be2253d4a353d551fb604bb9e4e541aa7d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 167deddace8f8721e1777d67e05f4bd6a3b9af65daa7fe9124c9a75c64cecd9d6b54258121d4998407af2a5baf8db27e422440431d740d7517a5a5b6a0f8cf49
|
7
|
+
data.tar.gz: 04cff6c35a74784370b166434448177b96bb704db618e0c037335494d9c39f55a9cc11eee7018ba1f3f77c4f9447de16ecc4502a9031caf7db2f3980c4ecb2d8
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.171
|
data/docs/bundle_action.md
CHANGED
@@ -23,7 +23,6 @@
|
|
23
23
|
"created_at": "2000-01-01T01:00:00Z"
|
24
24
|
},
|
25
25
|
"created_at": "2000-01-01T01:00:00Z",
|
26
|
-
"when": "2000-01-01T01:00:00Z",
|
27
26
|
"destination": "/to_path",
|
28
27
|
"path": "",
|
29
28
|
"source": "/from_path"
|
@@ -33,7 +32,6 @@
|
|
33
32
|
* `action` (string): Type of action
|
34
33
|
* `bundle_registration` (BundleRegistration): Object that contains bundle registration information
|
35
34
|
* `created_at` (date-time): Action occurrence date/time
|
36
|
-
* `when` (date-time): Action occurrence date/time
|
37
35
|
* `destination` (string): The destination path for this bundle action, if applicable
|
38
36
|
* `path` (string): Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
39
37
|
* `source` (string): The source path for this bundle action, if applicable
|
data/docs/folder.md
CHANGED
@@ -99,6 +99,7 @@ Files::Dir is an alias of Files::Folder
|
|
99
99
|
|
100
100
|
```
|
101
101
|
Files::Folder.list_for(path,
|
102
|
+
search: "some-partial-filename",
|
102
103
|
search_all: true,
|
103
104
|
with_previews: true,
|
104
105
|
with_priority_color: true
|
@@ -110,10 +111,9 @@ Files::Folder.list_for(path,
|
|
110
111
|
* `cursor` (string): Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
111
112
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
112
113
|
* `path` (string): Required - Path to operate on.
|
113
|
-
* `filter` (string): If specified, will filter folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
114
114
|
* `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
115
115
|
* `sort_by` (object): Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
|
116
|
-
* `search` (string): If
|
116
|
+
* `search` (string): If specified, will filter folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
117
117
|
* `search_all` (boolean): Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the web UI when running 'Search All Files'. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
118
118
|
* `with_previews` (boolean): Include file previews?
|
119
119
|
* `with_priority_color` (boolean): Include file priority color information?
|
@@ -24,11 +24,6 @@ module Files
|
|
24
24
|
@attributes[:created_at]
|
25
25
|
end
|
26
26
|
|
27
|
-
# date-time - Action occurrence date/time
|
28
|
-
def when
|
29
|
-
@attributes[:when]
|
30
|
-
end
|
31
|
-
|
32
27
|
# string - The destination path for this bundle action, if applicable
|
33
28
|
def destination
|
34
29
|
@attributes[:destination]
|
@@ -480,10 +480,9 @@ module Files
|
|
480
480
|
# cursor - string - Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
481
481
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
482
482
|
# path (required) - string - Path to operate on.
|
483
|
-
# filter - string - If specified, will filter folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
484
483
|
# preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
485
484
|
# sort_by - object - Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
|
486
|
-
# search - string - If
|
485
|
+
# search - string - If specified, will filter folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
487
486
|
# search_all - boolean - Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the web UI when running 'Search All Files'. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
488
487
|
# with_previews - boolean - Include file previews?
|
489
488
|
# with_priority_color - boolean - Include file priority color information?
|
@@ -493,7 +492,6 @@ module Files
|
|
493
492
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
494
493
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
495
494
|
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
496
|
-
raise InvalidParameterError.new("Bad parameter: filter must be an String") if params[:filter] and !params[:filter].is_a?(String)
|
497
495
|
raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
|
498
496
|
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
499
497
|
raise InvalidParameterError.new("Bad parameter: search must be an String") if params[:search] and !params[:search].is_a?(String)
|
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.171
|
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-
|
11
|
+
date: 2024-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|