files.com 1.0.226 → 1.0.230
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/action_notification_export_result.md +1 -1
- data/docs/api_key.md +1 -1
- data/docs/app.md +1 -1
- data/docs/as2_key.md +1 -1
- data/docs/automation.md +1 -1
- data/docs/automation_run.md +1 -1
- data/docs/bandwidth_snapshot.md +1 -1
- data/docs/behavior.md +9 -4
- data/docs/bundle.md +19 -3
- data/docs/bundle_download.md +1 -1
- data/docs/bundle_recipient.md +1 -1
- data/docs/bundle_registration.md +1 -1
- data/docs/clickwrap.md +1 -1
- data/docs/dns_record.md +1 -1
- data/docs/external_event.md +1 -1
- data/docs/file_comment.md +1 -1
- data/docs/folder.md +1 -1
- data/docs/form_field_set.md +1 -1
- data/docs/group.md +1 -1
- data/docs/group_user.md +1 -1
- data/docs/history.md +5 -5
- data/docs/history_export_result.md +1 -1
- data/docs/inbox_recipient.md +1 -1
- data/docs/inbox_registration.md +1 -1
- data/docs/inbox_upload.md +1 -1
- data/docs/invoice.md +1 -1
- data/docs/ip_address.md +2 -2
- data/docs/lock.md +1 -1
- data/docs/message.md +1 -1
- data/docs/message_comment.md +1 -1
- data/docs/message_comment_reaction.md +1 -1
- data/docs/message_reaction.md +1 -1
- data/docs/notification.md +1 -1
- data/docs/payment.md +1 -1
- data/docs/permission.md +1 -1
- data/docs/priority.md +1 -1
- data/docs/project.md +1 -1
- data/docs/public_key.md +1 -1
- data/docs/remote_server.md +1 -1
- data/docs/request.md +2 -2
- data/docs/settings_change.md +5 -1
- data/docs/sso_strategy.md +1 -1
- data/docs/sync_job.md +1 -1
- data/docs/usage_daily_snapshot.md +1 -1
- data/docs/usage_snapshot.md +1 -1
- data/docs/user.md +1 -1
- data/docs/user_cipher_use.md +1 -1
- data/docs/user_request.md +1 -1
- data/lib/files.com/models/action_notification_export_result.rb +1 -1
- data/lib/files.com/models/api_key.rb +1 -1
- data/lib/files.com/models/app.rb +1 -1
- data/lib/files.com/models/as2_key.rb +1 -1
- data/lib/files.com/models/automation.rb +1 -1
- data/lib/files.com/models/automation_run.rb +1 -1
- data/lib/files.com/models/bandwidth_snapshot.rb +1 -1
- data/lib/files.com/models/behavior.rb +15 -3
- data/lib/files.com/models/bundle.rb +42 -1
- data/lib/files.com/models/bundle_download.rb +1 -1
- data/lib/files.com/models/bundle_recipient.rb +1 -1
- data/lib/files.com/models/bundle_registration.rb +1 -1
- data/lib/files.com/models/clickwrap.rb +1 -1
- data/lib/files.com/models/dns_record.rb +1 -1
- data/lib/files.com/models/external_event.rb +1 -1
- data/lib/files.com/models/file_comment.rb +1 -1
- data/lib/files.com/models/folder.rb +1 -1
- data/lib/files.com/models/form_field_set.rb +1 -1
- data/lib/files.com/models/group.rb +1 -1
- data/lib/files.com/models/group_user.rb +1 -1
- data/lib/files.com/models/history.rb +5 -5
- data/lib/files.com/models/history_export_result.rb +1 -1
- data/lib/files.com/models/inbox_recipient.rb +1 -1
- data/lib/files.com/models/inbox_registration.rb +1 -1
- data/lib/files.com/models/inbox_upload.rb +1 -1
- data/lib/files.com/models/invoice.rb +1 -1
- data/lib/files.com/models/ip_address.rb +2 -2
- data/lib/files.com/models/lock.rb +1 -1
- data/lib/files.com/models/message.rb +1 -1
- data/lib/files.com/models/message_comment.rb +1 -1
- data/lib/files.com/models/message_comment_reaction.rb +1 -1
- data/lib/files.com/models/message_reaction.rb +1 -1
- data/lib/files.com/models/notification.rb +1 -1
- data/lib/files.com/models/payment.rb +1 -1
- data/lib/files.com/models/permission.rb +1 -1
- data/lib/files.com/models/priority.rb +1 -1
- data/lib/files.com/models/project.rb +1 -1
- data/lib/files.com/models/public_key.rb +1 -1
- data/lib/files.com/models/remote_server.rb +1 -1
- data/lib/files.com/models/request.rb +2 -2
- data/lib/files.com/models/settings_change.rb +6 -1
- data/lib/files.com/models/sso_strategy.rb +1 -1
- data/lib/files.com/models/sync_job.rb +1 -1
- data/lib/files.com/models/usage_daily_snapshot.rb +1 -1
- data/lib/files.com/models/usage_snapshot.rb +1 -1
- data/lib/files.com/models/user.rb +1 -1
- data/lib/files.com/models/user_cipher_use.rb +1 -1
- data/lib/files.com/models/user_request.rb +1 -1
- metadata +2 -2
data/docs/settings_change.md
CHANGED
@@ -5,12 +5,16 @@
|
|
5
5
|
```
|
6
6
|
{
|
7
7
|
"change_details": "{ domain: [\"olddomain.com', \"newdomain.com\"] }",
|
8
|
+
"changes": [
|
9
|
+
""
|
10
|
+
],
|
8
11
|
"created_at": "2000-01-01T01:00:00Z",
|
9
12
|
"user_id": 1
|
10
13
|
}
|
11
14
|
```
|
12
15
|
|
13
16
|
* `change_details` (object): Specifics on what changed.
|
17
|
+
* `changes` (string): Markdown-formatted change messages.
|
14
18
|
* `created_at` (date-time): The time this change was made
|
15
19
|
* `user_id` (int64): The user id responsible for this change
|
16
20
|
|
@@ -27,7 +31,7 @@ Files::SettingsChange.list(
|
|
27
31
|
|
28
32
|
### Parameters
|
29
33
|
|
30
|
-
* `cursor` (string): Used for pagination. Send a cursor value 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.
|
34
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
31
35
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
32
36
|
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `api_key_id`, `created_at` or `user_id`.
|
33
37
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
|
data/docs/sso_strategy.md
CHANGED
@@ -107,7 +107,7 @@ Files::SsoStrategy.list(
|
|
107
107
|
|
108
108
|
### Parameters
|
109
109
|
|
110
|
-
* `cursor` (string): Used for pagination. Send a cursor value 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.
|
110
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
111
111
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
112
112
|
|
113
113
|
|
data/docs/sync_job.md
CHANGED
@@ -33,5 +33,5 @@ Files::SyncJob.list(
|
|
33
33
|
|
34
34
|
### Parameters
|
35
35
|
|
36
|
-
* `cursor` (string): Used for pagination. Send a cursor value 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.
|
36
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
37
37
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
@@ -31,7 +31,7 @@ Files::UsageDailySnapshot.list(
|
|
31
31
|
|
32
32
|
### Parameters
|
33
33
|
|
34
|
-
* `cursor` (string): Used for pagination. Send a cursor value 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.
|
34
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
35
35
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
36
36
|
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `date` and `usage_snapshot_id`.
|
37
37
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
|
data/docs/usage_snapshot.md
CHANGED
@@ -49,5 +49,5 @@ Files::UsageSnapshot.list(
|
|
49
49
|
|
50
50
|
### Parameters
|
51
51
|
|
52
|
-
* `cursor` (string): Used for pagination. Send a cursor value 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.
|
52
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
53
53
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
data/docs/user.md
CHANGED
@@ -129,7 +129,7 @@ Files::User.list(
|
|
129
129
|
|
130
130
|
### Parameters
|
131
131
|
|
132
|
-
* `cursor` (string): Used for pagination. Send a cursor value 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.
|
132
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
133
133
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
134
134
|
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `company`, `name`, `site_admin`, `receive_admin_alerts`, `password_validity_days`, `ssl_required` or `not_site_admin`.
|
135
135
|
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`.
|
data/docs/user_cipher_use.md
CHANGED
@@ -35,5 +35,5 @@ Files::UserCipherUse.list(
|
|
35
35
|
### Parameters
|
36
36
|
|
37
37
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
38
|
-
* `cursor` (string): Used for pagination. Send a cursor value 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.
|
38
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
39
39
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
data/docs/user_request.md
CHANGED
@@ -29,7 +29,7 @@ Files::UserRequest.list(
|
|
29
29
|
|
30
30
|
### Parameters
|
31
31
|
|
32
|
-
* `cursor` (string): Used for pagination. Send a cursor value 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.
|
32
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
33
33
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
34
34
|
|
35
35
|
|
@@ -61,7 +61,7 @@ module Files
|
|
61
61
|
|
62
62
|
# Parameters:
|
63
63
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
64
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
64
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
65
65
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
66
66
|
# action_notification_export_id (required) - int64 - ID of the associated action notification export.
|
67
67
|
def self.list(params = {}, options = {})
|
@@ -146,7 +146,7 @@ module Files
|
|
146
146
|
|
147
147
|
# Parameters:
|
148
148
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
149
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
149
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
150
150
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
151
151
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `expires_at`.
|
152
152
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
|
data/lib/files.com/models/app.rb
CHANGED
@@ -90,7 +90,7 @@ module Files
|
|
90
90
|
end
|
91
91
|
|
92
92
|
# Parameters:
|
93
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
93
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
94
94
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
95
95
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `name` and `app_type`.
|
96
96
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name` and `app_type`.
|
@@ -98,7 +98,7 @@ module Files
|
|
98
98
|
|
99
99
|
# Parameters:
|
100
100
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
101
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
101
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
102
102
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
103
103
|
def self.list(params = {}, options = {})
|
104
104
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
@@ -257,7 +257,7 @@ module Files
|
|
257
257
|
end
|
258
258
|
|
259
259
|
# Parameters:
|
260
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
260
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
261
261
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
262
262
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`.
|
263
263
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`.
|
@@ -41,7 +41,7 @@ module Files
|
|
41
41
|
|
42
42
|
# Parameters:
|
43
43
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
44
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
44
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
45
45
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
46
46
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `status`.
|
47
47
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
|
@@ -65,7 +65,7 @@ module Files
|
|
65
65
|
end
|
66
66
|
|
67
67
|
# Parameters:
|
68
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
68
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
69
69
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
70
70
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `logged_at`.
|
71
71
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
@@ -81,6 +81,15 @@ module Files
|
|
81
81
|
@attributes[:attachment_file] = value
|
82
82
|
end
|
83
83
|
|
84
|
+
# boolean - If true, will delete the file stored in attachment
|
85
|
+
def attachment_delete
|
86
|
+
@attributes[:attachment_delete]
|
87
|
+
end
|
88
|
+
|
89
|
+
def attachment_delete=(value)
|
90
|
+
@attributes[:attachment_delete] = value
|
91
|
+
end
|
92
|
+
|
84
93
|
# Parameters:
|
85
94
|
# value - string - The value of the folder behavior. Can be a integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
|
86
95
|
# attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
@@ -88,6 +97,7 @@ module Files
|
|
88
97
|
# description - string - Description for this behavior.
|
89
98
|
# behavior - string - Behavior type.
|
90
99
|
# path - string - Folder behaviors path.
|
100
|
+
# attachment_delete - boolean - If true, will delete the file stored in attachment
|
91
101
|
def update(params = {})
|
92
102
|
params ||= {}
|
93
103
|
params[:id] = @attributes[:id]
|
@@ -127,7 +137,7 @@ module Files
|
|
127
137
|
end
|
128
138
|
|
129
139
|
# Parameters:
|
130
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
140
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
131
141
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
132
142
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `behavior`.
|
133
143
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
|
@@ -175,7 +185,7 @@ module Files
|
|
175
185
|
end
|
176
186
|
|
177
187
|
# Parameters:
|
178
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
188
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
179
189
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
180
190
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `behavior`.
|
181
191
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
|
@@ -256,6 +266,7 @@ module Files
|
|
256
266
|
# description - string - Description for this behavior.
|
257
267
|
# behavior - string - Behavior type.
|
258
268
|
# path - string - Folder behaviors path.
|
269
|
+
# attachment_delete - boolean - If true, will delete the file stored in attachment
|
259
270
|
def self.update(id, params = {}, options = {})
|
260
271
|
params ||= {}
|
261
272
|
params[:id] = id
|
@@ -264,7 +275,8 @@ module Files
|
|
264
275
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
|
265
276
|
raise InvalidParameterError.new("Bad parameter: description must be an String") if params.dig(:description) and !params.dig(:description).is_a?(String)
|
266
277
|
raise InvalidParameterError.new("Bad parameter: behavior must be an String") if params.dig(:behavior) and !params.dig(:behavior).is_a?(String)
|
267
|
-
raise InvalidParameterError.new("Bad parameter: path must be
|
278
|
+
raise InvalidParameterError.new("Bad parameter: path must be an String") if params.dig(:path) and !params.dig(:path).is_a?(String)
|
279
|
+
raise InvalidParameterError.new("Bad parameter: attachment_delete must be one of String, Integer, Hash") if params.dig(:attachment_delete) and [ String, Integer, Hash ].none? { |klass| params.dig(:attachment_delete).is_a?(klass) }
|
268
280
|
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
269
281
|
|
270
282
|
response, options = Api.send_request("/behaviors/#{params[:id]}", :patch, params, options)
|
@@ -167,6 +167,24 @@ module Files
|
|
167
167
|
@attributes[:inbox_id] = value
|
168
168
|
end
|
169
169
|
|
170
|
+
# Preview watermark image applied to all bundle items.
|
171
|
+
def watermark_attachment
|
172
|
+
@attributes[:watermark_attachment]
|
173
|
+
end
|
174
|
+
|
175
|
+
def watermark_attachment=(value)
|
176
|
+
@attributes[:watermark_attachment] = value
|
177
|
+
end
|
178
|
+
|
179
|
+
# object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
180
|
+
def watermark_value
|
181
|
+
@attributes[:watermark_value]
|
182
|
+
end
|
183
|
+
|
184
|
+
def watermark_value=(value)
|
185
|
+
@attributes[:watermark_value] = value
|
186
|
+
end
|
187
|
+
|
170
188
|
# boolean - Does this bundle have an associated inbox?
|
171
189
|
def has_inbox
|
172
190
|
@attributes[:has_inbox]
|
@@ -203,6 +221,24 @@ module Files
|
|
203
221
|
@attributes[:form_field_set_id] = value
|
204
222
|
end
|
205
223
|
|
224
|
+
# file - Preview watermark image applied to all bundle items.
|
225
|
+
def watermark_attachment_file
|
226
|
+
@attributes[:watermark_attachment_file]
|
227
|
+
end
|
228
|
+
|
229
|
+
def watermark_attachment_file=(value)
|
230
|
+
@attributes[:watermark_attachment_file] = value
|
231
|
+
end
|
232
|
+
|
233
|
+
# boolean - If true, will delete the file stored in watermark_attachment
|
234
|
+
def watermark_attachment_delete
|
235
|
+
@attributes[:watermark_attachment_delete]
|
236
|
+
end
|
237
|
+
|
238
|
+
def watermark_attachment_delete=(value)
|
239
|
+
@attributes[:watermark_attachment_delete] = value
|
240
|
+
end
|
241
|
+
|
206
242
|
# Send email(s) with a link to bundle
|
207
243
|
#
|
208
244
|
# Parameters:
|
@@ -236,6 +272,8 @@ module Files
|
|
236
272
|
# preview_only - boolean - Restrict users to previewing files only?
|
237
273
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
238
274
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
275
|
+
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
276
|
+
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
239
277
|
def update(params = {})
|
240
278
|
params ||= {}
|
241
279
|
params[:id] = @attributes[:id]
|
@@ -281,7 +319,7 @@ module Files
|
|
281
319
|
|
282
320
|
# Parameters:
|
283
321
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
284
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
322
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
285
323
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
286
324
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `code`.
|
287
325
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
@@ -342,6 +380,7 @@ module Files
|
|
342
380
|
# clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
|
343
381
|
# inbox_id - int64 - ID of the associated inbox, if available.
|
344
382
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
383
|
+
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
345
384
|
def self.create(params = {}, options = {})
|
346
385
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
347
386
|
raise InvalidParameterError.new("Bad parameter: paths must be an Array") if params.dig(:paths) and !params.dig(:paths).is_a?(Array)
|
@@ -393,6 +432,8 @@ module Files
|
|
393
432
|
# preview_only - boolean - Restrict users to previewing files only?
|
394
433
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
395
434
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
435
|
+
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
436
|
+
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
396
437
|
def self.update(id, params = {}, options = {})
|
397
438
|
params ||= {}
|
398
439
|
params[:id] = id
|
@@ -29,7 +29,7 @@ module Files
|
|
29
29
|
end
|
30
30
|
|
31
31
|
# Parameters:
|
32
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
32
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
33
33
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
34
34
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at`.
|
35
35
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
@@ -92,7 +92,7 @@ module Files
|
|
92
92
|
|
93
93
|
# Parameters:
|
94
94
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
95
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
95
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
96
96
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
97
97
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `has_registrations`.
|
98
98
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
@@ -71,7 +71,7 @@ module Files
|
|
71
71
|
|
72
72
|
# Parameters:
|
73
73
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
74
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
74
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
75
75
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
76
76
|
# bundle_id - int64 - ID of the associated Bundle
|
77
77
|
def self.list(params = {}, options = {})
|
@@ -108,7 +108,7 @@ module Files
|
|
108
108
|
end
|
109
109
|
|
110
110
|
# Parameters:
|
111
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
111
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
112
112
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
113
113
|
def self.list(params = {}, options = {})
|
114
114
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
@@ -30,7 +30,7 @@ module Files
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Parameters:
|
33
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
33
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
34
34
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
35
35
|
def self.list(params = {}, options = {})
|
36
36
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
@@ -114,7 +114,7 @@ module Files
|
|
114
114
|
end
|
115
115
|
|
116
116
|
# Parameters:
|
117
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
117
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
118
118
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
119
119
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `event_type`, `created_at` or `status`.
|
120
120
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
|
@@ -83,7 +83,7 @@ module Files
|
|
83
83
|
end
|
84
84
|
|
85
85
|
# Parameters:
|
86
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
86
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
87
87
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
88
88
|
# path (required) - string - Path to operate on.
|
89
89
|
def self.list_for(path, params = {}, options = {})
|
@@ -300,7 +300,7 @@ module Files
|
|
300
300
|
end
|
301
301
|
|
302
302
|
# Parameters:
|
303
|
-
# 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 header.
|
303
|
+
# 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.
|
304
304
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
305
305
|
# path (required) - string - Path to operate on.
|
306
306
|
# filter - string - If specified, will filter folders/files list by this string. Wildcards of `*` and `?` are acceptable here.
|
@@ -124,7 +124,7 @@ module Files
|
|
124
124
|
|
125
125
|
# Parameters:
|
126
126
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
127
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
127
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
128
128
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
129
129
|
def self.list(params = {}, options = {})
|
130
130
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
@@ -106,7 +106,7 @@ module Files
|
|
106
106
|
end
|
107
107
|
|
108
108
|
# Parameters:
|
109
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
109
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
110
110
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
111
111
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `name`.
|
112
112
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
|
@@ -113,7 +113,7 @@ module Files
|
|
113
113
|
|
114
114
|
# Parameters:
|
115
115
|
# user_id - int64 - User ID. If provided, will return group_users of this user.
|
116
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
116
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
117
117
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
118
118
|
# group_id - int64 - Group ID. If provided, will return group_users of this group.
|
119
119
|
def self.list(params = {}, options = {})
|
@@ -78,7 +78,7 @@ module Files
|
|
78
78
|
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
79
79
|
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
80
80
|
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
81
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
81
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
82
82
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
83
83
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
84
84
|
# path (required) - string - Path to operate on.
|
@@ -103,7 +103,7 @@ module Files
|
|
103
103
|
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
104
104
|
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
105
105
|
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
106
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
106
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
107
107
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
108
108
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
109
109
|
# path (required) - string - Path to operate on.
|
@@ -128,7 +128,7 @@ module Files
|
|
128
128
|
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
129
129
|
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
130
130
|
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
131
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
131
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
132
132
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
133
133
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
134
134
|
# user_id (required) - int64 - User ID.
|
@@ -153,7 +153,7 @@ module Files
|
|
153
153
|
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
154
154
|
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
155
155
|
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
156
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
156
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
157
157
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
158
158
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
159
159
|
def self.list_logins(params = {}, options = {})
|
@@ -173,7 +173,7 @@ module Files
|
|
173
173
|
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
174
174
|
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
175
175
|
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
176
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
176
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
177
177
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
178
178
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `path`, `folder`, `user_id` or `created_at`.
|
179
179
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
|
@@ -126,7 +126,7 @@ module Files
|
|
126
126
|
|
127
127
|
# Parameters:
|
128
128
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
129
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
129
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
130
130
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
131
131
|
# history_export_id (required) - int64 - ID of the associated history export.
|
132
132
|
def self.list(params = {}, options = {})
|
@@ -92,7 +92,7 @@ module Files
|
|
92
92
|
|
93
93
|
# Parameters:
|
94
94
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
95
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
95
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
96
96
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
97
97
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `has_registrations`.
|
98
98
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
@@ -60,7 +60,7 @@ module Files
|
|
60
60
|
end
|
61
61
|
|
62
62
|
# Parameters:
|
63
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
63
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
64
64
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
65
65
|
# folder_behavior_id - int64 - ID of the associated Inbox.
|
66
66
|
def self.list(params = {}, options = {})
|
@@ -24,7 +24,7 @@ module Files
|
|
24
24
|
end
|
25
25
|
|
26
26
|
# Parameters:
|
27
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
27
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
28
28
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
29
29
|
# sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at`.
|
30
30
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
@@ -80,7 +80,7 @@ module Files
|
|
80
80
|
end
|
81
81
|
|
82
82
|
# Parameters:
|
83
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
83
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
84
84
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
85
85
|
def self.list(params = {}, options = {})
|
86
86
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
@@ -30,7 +30,7 @@ module Files
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Parameters:
|
33
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
33
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
34
34
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
35
35
|
def self.list(params = {}, options = {})
|
36
36
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
@@ -46,7 +46,7 @@ module Files
|
|
46
46
|
end
|
47
47
|
|
48
48
|
# Parameters:
|
49
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
49
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
50
50
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
51
51
|
def self.get_reserved(params = {}, options = {})
|
52
52
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
@@ -141,7 +141,7 @@ module Files
|
|
141
141
|
end
|
142
142
|
|
143
143
|
# Parameters:
|
144
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
144
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
145
145
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
146
146
|
# path (required) - string - Path to operate on.
|
147
147
|
# include_children - boolean - Include locks from children objects?
|
@@ -108,7 +108,7 @@ module Files
|
|
108
108
|
|
109
109
|
# Parameters:
|
110
110
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
111
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
111
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
112
112
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
113
113
|
# project_id (required) - int64 - Project for which to return messages.
|
114
114
|
def self.list(params = {}, options = {})
|
@@ -84,7 +84,7 @@ module Files
|
|
84
84
|
|
85
85
|
# Parameters:
|
86
86
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
87
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
87
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
88
88
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
89
89
|
# message_id (required) - int64 - Message comment to return comments for.
|
90
90
|
def self.list(params = {}, options = {})
|
@@ -61,7 +61,7 @@ module Files
|
|
61
61
|
|
62
62
|
# Parameters:
|
63
63
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
64
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
64
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
65
65
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
66
66
|
# message_comment_id (required) - int64 - Message comment to return reactions for.
|
67
67
|
def self.list(params = {}, options = {})
|
@@ -61,7 +61,7 @@ module Files
|
|
61
61
|
|
62
62
|
# Parameters:
|
63
63
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
64
|
-
# cursor - string - Used for pagination. Send a cursor value 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.
|
64
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
65
65
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
66
66
|
# message_id (required) - int64 - Message to return reactions for.
|
67
67
|
def self.list(params = {}, options = {})
|