files.com 1.1.6 → 1.1.7
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 +1 -2
- data/lib/files.com/models/api_key.rb +9 -9
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '045895df933d7ee7e70af3e54d72f8ff2a3a26c2dff685e793f3ebd7852af77b'
|
4
|
+
data.tar.gz: 195b79c751211a1e8ba022f646e2b01c1e4e7454d0c181c78c1e93dffa26e92f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fae2012ac5edf7d114345c30009ea24e431018b5e3836e3e64d92054b7141829f0d1dee59b1120a65ea1d70650c95f895a05a3428042e38b8bb0f9d860689bc
|
7
|
+
data.tar.gz: 57751fea98faea1a0c1e38bf49f92529a247b420549ad081cde7174066bd5d2f4bd6e32228722f4f4d35b58ab579083940a93ef06ee3443a39dbacc3d9cd0576
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.7
|
data/docs/api_key.md
CHANGED
@@ -12,7 +12,6 @@
|
|
12
12
|
"key": "[key]",
|
13
13
|
"last_use_at": "2000-01-01T01:00:00Z",
|
14
14
|
"name": "My Main API Key",
|
15
|
-
"path": "shared/docs",
|
16
15
|
"permission_set": "full",
|
17
16
|
"platform": "win32",
|
18
17
|
"url": "example",
|
@@ -28,11 +27,11 @@
|
|
28
27
|
* `key` (string): API Key actual key string
|
29
28
|
* `last_use_at` (date-time): API Key last used - note this value is only updated once per 3 hour period, so the 'actual' time of last use may be up to 3 hours later than this timestamp.
|
30
29
|
* `name` (string): Internal name for the API Key. For your use.
|
31
|
-
* `path` (string): Folder path restriction for this api key. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
32
30
|
* `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). 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.
|
33
31
|
* `platform` (string): If this API key represents a Desktop app, what platform was it created on?
|
34
32
|
* `url` (string): URL for API host.
|
35
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 this api key.
|
36
35
|
|
37
36
|
|
38
37
|
---
|
@@ -77,15 +77,6 @@ module Files
|
|
77
77
|
@attributes[:name] = value
|
78
78
|
end
|
79
79
|
|
80
|
-
# string - Folder path restriction for this api key. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
81
|
-
def path
|
82
|
-
@attributes[:path]
|
83
|
-
end
|
84
|
-
|
85
|
-
def path=(value)
|
86
|
-
@attributes[:path] = value
|
87
|
-
end
|
88
|
-
|
89
80
|
# 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). 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.
|
90
81
|
def permission_set
|
91
82
|
@attributes[:permission_set]
|
@@ -122,6 +113,15 @@ module Files
|
|
122
113
|
@attributes[:user_id] = value
|
123
114
|
end
|
124
115
|
|
116
|
+
# string - Folder path restriction for this api key.
|
117
|
+
def path
|
118
|
+
@attributes[:path]
|
119
|
+
end
|
120
|
+
|
121
|
+
def path=(value)
|
122
|
+
@attributes[:path] = value
|
123
|
+
end
|
124
|
+
|
125
125
|
# Parameters:
|
126
126
|
# name - string - Internal name for the API Key. For your use.
|
127
127
|
# description - string - User-supplied description of API key.
|
data/lib/files.com/version.rb
CHANGED