files.com 1.1.174 → 1.1.176

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47cb28b2c3b7de493a24cad001db22dbc10eec20d0ecba0d22b97ced7daaa92e
4
- data.tar.gz: a8ccf28faca51b38c547fb54643c1f4ed4a31f39050716dc2290abb3b2197e1a
3
+ metadata.gz: 2e25ae59e297094550badf14d9e3e3cd758ef04dff01aeef5be0c8a6aea2aad9
4
+ data.tar.gz: 41f5b1ed6799f8b358e1625d84a16978e0d82133782b7aada6b0fb62b2904b40
5
5
  SHA512:
6
- metadata.gz: 6b617976a274af570890b6235a74d63563e7c6c0cba7adbcc36f518b37b1cb3b1d208b319c37c4643c3f1632b3a4ccf826d5a1308e0824c74d3579cc50cf3d5a
7
- data.tar.gz: 5cc1879bc1d6b64672bea9bdaf4ce72030391d454b117ac3ba6446dff7cc4bfc405279911c517e224dc395a3b0916f7d70dc121300a1b309764046d4d3f8bfff
6
+ metadata.gz: 6f0984ac71938aaf540f78fd53a992baa33ff41e1dda16d9e9e92140497a079d46a4cf0c289f772d39d01a84a8e3d9f5f68b0a62660a54958939941a28ecd166
7
+ data.tar.gz: e8f445e81fb17e409f62e5863a3d182709f7828d8b91d59af13aa9f6930d16c08ad3322a0cb489764b8d6a20843b0433173cece8b31378c5f1ef2a575d22a3f2
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.174
1
+ 1.1.176
data/docs/action.md CHANGED
@@ -11,9 +11,7 @@
11
11
  "display": "Actual text of the action here.",
12
12
  "ip": "192.283.128.182",
13
13
  "source": "/from_path",
14
- "targets": [
15
-
16
- ],
14
+ "targets": null,
17
15
  "user_id": 1,
18
16
  "username": "user",
19
17
  "user_is_from_parent_site": true,
@@ -30,7 +28,7 @@
30
28
  * `display` (string): Friendly displayed output
31
29
  * `ip` (string): IP Address that performed this action
32
30
  * `source` (string): The source path for this action, if applicable
33
- * `targets` (array(object)): Targets
31
+ * `targets` (object): Targets
34
32
  * `user_id` (int64): User ID
35
33
  * `username` (string): Username
36
34
  * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
data/docs/folder.md CHANGED
@@ -113,7 +113,7 @@ Files::Folder.list_for(path,
113
113
  * `path` (string): Required - Path to operate on.
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 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.
116
+ * `search` (string): If specified, will search the 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. Results may be trunacted if more than 1,000 possible matches exist. 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?
data/docs/history.md CHANGED
@@ -11,9 +11,7 @@
11
11
  "display": "Actual text of the action here.",
12
12
  "ip": "192.283.128.182",
13
13
  "source": "/from_path",
14
- "targets": [
15
-
16
- ],
14
+ "targets": null,
17
15
  "user_id": 1,
18
16
  "username": "user",
19
17
  "user_is_from_parent_site": true,
@@ -30,7 +28,7 @@
30
28
  * `display` (string): Friendly displayed output
31
29
  * `ip` (string): IP Address that performed this action
32
30
  * `source` (string): The source path for this action, if applicable
33
- * `targets` (array(object)): Targets
31
+ * `targets` (object): Targets
34
32
  * `user_id` (int64): User ID
35
33
  * `username` (string): Username
36
34
  * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
@@ -44,7 +44,7 @@ module Files
44
44
  @attributes[:source]
45
45
  end
46
46
 
47
- # array(object) - Targets
47
+ # object - Targets
48
48
  def targets
49
49
  @attributes[:targets]
50
50
  end
@@ -482,7 +482,7 @@ module Files
482
482
  # path (required) - string - Path to operate on.
483
483
  # preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
484
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"}`.
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.
485
+ # search - string - If specified, will search the 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. Results may be trunacted if more than 1,000 possible matches exist. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
486
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.
487
487
  # with_previews - boolean - Include file previews?
488
488
  # with_priority_color - boolean - Include file priority color information?
@@ -44,7 +44,7 @@ module Files
44
44
  @attributes[:source]
45
45
  end
46
46
 
47
- # array(object) - Targets
47
+ # object - Targets
48
48
  def targets
49
49
  @attributes[:targets]
50
50
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.174"
4
+ VERSION = "1.1.176"
5
5
  end
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.174
4
+ version: 1.1.176
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-09 00:00:00.000000000 Z
11
+ date: 2024-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable