files.com 1.0.342 → 1.0.343

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7458797b6e16bae6a2cc875ce51e4260071662654c0409f1c4c6a2e52a13c6e
4
- data.tar.gz: cd8927cc6fd7e377d235023f9619ddebd85c799cac5456349f168b2290eff83f
3
+ metadata.gz: c71156389e0b6234b60ed41cfb6a47c63d40733c7510e8ab5fb6aaf9b0994c24
4
+ data.tar.gz: 10b5604e99412b84b1011ceea259c14a111c4a5a6196430a4fce201ccbfaa1a8
5
5
  SHA512:
6
- metadata.gz: b5cf369b8c58189785b6cad2660067ca1a558cdf29468558e6ab790639511568ea1b292c8a6a958ae3f4453251737e77f1c60920722868ef26902d9048ceb548
7
- data.tar.gz: 1e2e6db344b59a26fdbda10284151f02e9e9ba275c561b100b5136a02561bd87cdabf21c93586e5bab375edfe2a3219136a9527156227787178240dc39ac7dd5
6
+ metadata.gz: 8a2746cc39fcf8518b8d3e5cdbda82ded80e1f0ac5bf130728c49e708bc4ca856cc2f39826f54c590f4702dd2c13ea991a5d00c08d24156bf673d180565ed1b2
7
+ data.tar.gz: d5851ae9f52779f23fd9e04a45ab22e8e890d05a145455cf450395ef8b1aa266a1f10466b6f226d3349e62d84a59aab31d1c50bd44656baf803f4c7a69545244
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.342
1
+ 1.0.343
data/docs/behavior.md CHANGED
@@ -17,7 +17,7 @@
17
17
  ```
18
18
 
19
19
  * `id` (int64): Folder behavior ID
20
- * `path` (string): Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
20
+ * `path` (string): Folder path. Note that Behavior paths cannot be updated once initially set. You will need to remove and re-create the behavior on the new path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
21
21
  * `attachment_url` (string): URL for attached file
22
22
  * `behavior` (string): Behavior type.
23
23
  * `name` (string): Name for this behavior.
data/docs/folder.md CHANGED
@@ -75,7 +75,7 @@ Files::Folder.list_for(path,
75
75
  * `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.
76
76
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
77
77
  * `path` (string): Required - Path to operate on.
78
- * `filter` (string): If specified, will filter folders/files list by this string. Wildcards of `*` and `?` are acceptable here.
78
+ * `filter` (string): If specified, will filter folders/files list by name. Ignores text before last `/`. Wildcards of `*` and `?` are acceptable here.
79
79
  * `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
80
80
  * `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"}`.
81
81
  * `search` (string): If `search_all` is `true`, provide the search string here. Otherwise, this parameter acts like an alias of `filter`.
@@ -18,7 +18,7 @@ module Files
18
18
  @attributes[:id] = value
19
19
  end
20
20
 
21
- # string - Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
21
+ # string - Folder path. Note that Behavior paths cannot be updated once initially set. You will need to remove and re-create the behavior on the new path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
22
22
  def path
23
23
  @attributes[:path]
24
24
  end
@@ -326,7 +326,7 @@ module Files
326
326
  # 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.
327
327
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
328
328
  # path (required) - string - Path to operate on.
329
- # filter - string - If specified, will filter folders/files list by this string. Wildcards of `*` and `?` are acceptable here.
329
+ # filter - string - If specified, will filter folders/files list by name. Ignores text before last `/`. Wildcards of `*` and `?` are acceptable here.
330
330
  # preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
331
331
  # 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"}`.
332
332
  # search - string - If `search_all` is `true`, provide the search string here. Otherwise, this parameter acts like an alias of `filter`.
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.0.342
4
+ version: 1.0.343
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-24 00:00:00.000000000 Z
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable