files.com 1.1.730 → 1.1.732
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/api_key.md +2 -2
- data/docs/file.md +4 -4
- data/lib/files.com/models/api_key.rb +2 -2
- data/lib/files.com/models/file.rb +4 -4
- 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: f6845b8b11eabcc227371d2a68eeb71e74a43283095f659d4be9c36996e97a6a
|
|
4
|
+
data.tar.gz: 04eeb271e321a66e4c4d9c24aa248cda36ecbdb74fecf9716ab07e244f67ed35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aed67e3cd0cd3eec0961845455016c34c51d7eff985f8b97887b1ae64fa027c8ad88d2791f5570acf443e610ec954b23233fddcd2d4cad44a96bde80ffc65fbf
|
|
7
|
+
data.tar.gz: 29a8904dbbed910453f0a41a2384aa4ca5223e32cb40c74edf8b983957de856e00b46cbe53a30d6d365940643ff4bec1d05bfddf0d783ca1b2b80f196c665ac5
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.732
|
data/docs/api_key.md
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
* `url` (string): URL for API host.
|
|
44
44
|
* `user_id` (int64): User ID for the owner of this API Key. May be blank for Site-wide API Keys.
|
|
45
45
|
* `workspace_id` (int64): Workspace ID for this API Key. `0` means the default workspace.
|
|
46
|
-
* `path` (string):
|
|
46
|
+
* `path` (string): Restricts this API key to the specified folder and its descendants. Applies to every permission set and all paths accessed by a request, including copy and move destinations. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
---
|
|
@@ -115,7 +115,7 @@ Files::ApiKey.create(
|
|
|
115
115
|
* `expires_at` (string): API Key expiration date
|
|
116
116
|
* `name` (string): Required - Internal name for the API Key. For your use.
|
|
117
117
|
* `aws_style_credentials` (boolean): If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
|
|
118
|
-
* `path` (string):
|
|
118
|
+
* `path` (string): Restricts this API key to the specified folder and its descendants. Applies to every permission set and all paths accessed by a request, including copy and move destinations. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
|
|
119
119
|
* `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can perform file operations as a full-access file user in the key's workspace scope, but cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user.
|
|
120
120
|
* `workspace_id` (int64): Workspace ID for this API Key. `0` means the default workspace.
|
|
121
121
|
|
data/docs/file.md
CHANGED
|
@@ -105,7 +105,7 @@ may places where a Ruby File object can be used.
|
|
|
105
105
|
* `parts` (int64): How many parts to fetch?
|
|
106
106
|
* `ref` (string):
|
|
107
107
|
* `restart` (int64): File byte offset to restart from.
|
|
108
|
-
* `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors to the destination folder tree?
|
|
108
|
+
* `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
|
|
109
109
|
* `structure` (string): If copying folder, copy just the structure?
|
|
110
110
|
* `with_rename` (boolean): Allow file rename instead of overwrite?
|
|
111
111
|
* `buffered_upload` (boolean): If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
|
|
@@ -170,7 +170,7 @@ Files::File.create(path,
|
|
|
170
170
|
* `ref` (string):
|
|
171
171
|
* `restart` (int64): File byte offset to restart from.
|
|
172
172
|
* `size` (int64): Size of file.
|
|
173
|
-
* `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors to the destination folder tree?
|
|
173
|
+
* `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
|
|
174
174
|
* `structure` (string): If copying folder, copy just the structure?
|
|
175
175
|
* `with_rename` (boolean): Allow file rename instead of overwrite?
|
|
176
176
|
* `buffered_upload` (boolean): If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
|
|
@@ -262,7 +262,7 @@ Files::File.copy(path,
|
|
|
262
262
|
|
|
263
263
|
* `path` (string): Required - Path to operate on.
|
|
264
264
|
* `destination` (string): Required - Copy destination path.
|
|
265
|
-
* `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors to the destination folder tree?
|
|
265
|
+
* `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
|
|
266
266
|
* `structure` (boolean): Copy structure only?
|
|
267
267
|
* `overwrite` (boolean): Overwrite existing file(s) in the destination?
|
|
268
268
|
|
|
@@ -530,7 +530,7 @@ file.copy(
|
|
|
530
530
|
|
|
531
531
|
* `path` (string): Required - Path to operate on.
|
|
532
532
|
* `destination` (string): Required - Copy destination path.
|
|
533
|
-
* `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors to the destination folder tree?
|
|
533
|
+
* `copy_behaviors` (boolean): If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
|
|
534
534
|
* `structure` (boolean): Copy structure only?
|
|
535
535
|
* `overwrite` (boolean): Overwrite existing file(s) in the destination?
|
|
536
536
|
|
|
@@ -167,7 +167,7 @@ module Files
|
|
|
167
167
|
@attributes[:workspace_id] = value
|
|
168
168
|
end
|
|
169
169
|
|
|
170
|
-
# string -
|
|
170
|
+
# string - Restricts this API key to the specified folder and its descendants. Applies to every permission set and all paths accessed by a request, including copy and move destinations. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
|
|
171
171
|
def path
|
|
172
172
|
@attributes[:path]
|
|
173
173
|
end
|
|
@@ -276,7 +276,7 @@ module Files
|
|
|
276
276
|
# expires_at - string - API Key expiration date
|
|
277
277
|
# name (required) - string - Internal name for the API Key. For your use.
|
|
278
278
|
# aws_style_credentials - boolean - If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
|
|
279
|
-
# path - string -
|
|
279
|
+
# path - string - Restricts this API key to the specified folder and its descendants. Applies to every permission set and all paths accessed by a request, including copy and move destinations. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
|
|
280
280
|
# permission_set - string - Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can perform file operations as a full-access file user in the key's workspace scope, but cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user.
|
|
281
281
|
# workspace_id - int64 - Workspace ID for this API Key. `0` means the default workspace.
|
|
282
282
|
def self.create(params = {}, options = {})
|
|
@@ -1016,7 +1016,7 @@ module Files
|
|
|
1016
1016
|
@attributes[:restart] = value
|
|
1017
1017
|
end
|
|
1018
1018
|
|
|
1019
|
-
# boolean - If copying a folder, also copy supported behaviors to the destination folder tree?
|
|
1019
|
+
# boolean - If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
|
|
1020
1020
|
def copy_behaviors
|
|
1021
1021
|
@attributes[:copy_behaviors]
|
|
1022
1022
|
end
|
|
@@ -1129,7 +1129,7 @@ module Files
|
|
|
1129
1129
|
#
|
|
1130
1130
|
# Parameters:
|
|
1131
1131
|
# destination (required) - string - Copy destination path.
|
|
1132
|
-
# copy_behaviors - boolean - If copying a folder, also copy supported behaviors to the destination folder tree?
|
|
1132
|
+
# copy_behaviors - boolean - If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
|
|
1133
1133
|
# structure - boolean - Copy structure only?
|
|
1134
1134
|
# overwrite - boolean - Overwrite existing file(s) in the destination?
|
|
1135
1135
|
def copy(params = {})
|
|
@@ -1323,7 +1323,7 @@ module Files
|
|
|
1323
1323
|
# ref - string -
|
|
1324
1324
|
# restart - int64 - File byte offset to restart from.
|
|
1325
1325
|
# size - int64 - Size of file.
|
|
1326
|
-
# copy_behaviors - boolean - If copying a folder, also copy supported behaviors to the destination folder tree?
|
|
1326
|
+
# copy_behaviors - boolean - If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
|
|
1327
1327
|
# structure - string - If copying folder, copy just the structure?
|
|
1328
1328
|
# with_rename - boolean - Allow file rename instead of overwrite?
|
|
1329
1329
|
# buffered_upload - boolean - If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
|
|
@@ -1419,7 +1419,7 @@ module Files
|
|
|
1419
1419
|
#
|
|
1420
1420
|
# Parameters:
|
|
1421
1421
|
# destination (required) - string - Copy destination path.
|
|
1422
|
-
# copy_behaviors - boolean - If copying a folder, also copy supported behaviors to the destination folder tree?
|
|
1422
|
+
# copy_behaviors - boolean - If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
|
|
1423
1423
|
# structure - boolean - Copy structure only?
|
|
1424
1424
|
# overwrite - boolean - Overwrite existing file(s) in the destination?
|
|
1425
1425
|
def self.copy(path, params = {}, options = {})
|
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.732
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|