files.com 1.1.119 → 1.1.120
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/api_key.md +2 -2
- data/lib/files.com/models/api_key.rb +2 -2
- 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: a20f9454c2cdcfc2156da75028e988146c654287cea5b8d53be445055f35ace6
|
4
|
+
data.tar.gz: ded0458144cb0d334e1fff32ab8fd564cdf2c7047fa7d9b6701ac17aad4e87b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a18470035f28c13545634e5c4132f4e10de89f5a08cb192d1aaccff12e36525f1020fffa7d9a52f987bb5b19400bd0103f771546cc4f24a65af927c0d65778f6
|
7
|
+
data.tar.gz: e79a3acd13c16680a58479beb3937e5c1d063a70ea0700c30db27d368dac693330fcdfd58ed739c054e652bba083dd4f17d86953ce9c606df6c2bd7cfd6bd09b
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.120
|
data/docs/api_key.md
CHANGED
@@ -31,7 +31,7 @@
|
|
31
31
|
* `platform` (string): If this API key represents a Desktop app, what platform was it created on?
|
32
32
|
* `url` (string): URL for API host.
|
33
33
|
* `user_id` (int64): User ID for the owner of this API Key. May be blank for Site-wide API Keys.
|
34
|
-
* `path` (string): Folder path restriction for
|
34
|
+
* `path` (string): Folder path restriction for `office_integration` permission set API keys.
|
35
35
|
|
36
36
|
|
37
37
|
---
|
@@ -101,7 +101,7 @@ Files::ApiKey.create(
|
|
101
101
|
* `expires_at` (string): API Key expiration date
|
102
102
|
* `permission_set` (string): Permissions for this API Key. It must be full for site-wide API Keys. 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. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
103
103
|
* `name` (string): Required - Internal name for the API Key. For your use.
|
104
|
-
* `path` (string): Folder path restriction for
|
104
|
+
* `path` (string): Folder path restriction for `office_integration` permission set API keys.
|
105
105
|
|
106
106
|
|
107
107
|
---
|
@@ -113,7 +113,7 @@ module Files
|
|
113
113
|
@attributes[:user_id] = value
|
114
114
|
end
|
115
115
|
|
116
|
-
# string - Folder path restriction for
|
116
|
+
# string - Folder path restriction for `office_integration` permission set API keys.
|
117
117
|
def path
|
118
118
|
@attributes[:path]
|
119
119
|
end
|
@@ -224,7 +224,7 @@ module Files
|
|
224
224
|
# expires_at - string - API Key expiration date
|
225
225
|
# permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. 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. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
226
226
|
# name (required) - string - Internal name for the API Key. For your use.
|
227
|
-
# path - string - Folder path restriction for
|
227
|
+
# path - string - Folder path restriction for `office_integration` permission set API keys.
|
228
228
|
def self.create(params = {}, options = {})
|
229
229
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
230
230
|
raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].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.120
|
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-08-
|
11
|
+
date: 2024-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|