files.com 1.1.178 → 1.1.180
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/action_notification_export_result.md +17 -0
- data/docs/api_key.md +21 -0
- data/docs/api_request_log.md +14 -0
- data/docs/app.md +15 -0
- data/docs/as2_incoming_message.md +21 -0
- data/docs/as2_outgoing_message.md +21 -0
- data/docs/as2_partner.md +9 -0
- data/docs/as2_station.md +9 -0
- data/docs/automation.md +18 -0
- data/docs/automation_log.md +14 -0
- data/docs/automation_run.md +17 -0
- data/docs/bandwidth_snapshot.md +18 -0
- data/docs/behavior.md +15 -0
- data/docs/bundle.md +22 -0
- data/docs/bundle_action.md +18 -0
- data/docs/bundle_download.md +23 -0
- data/docs/bundle_notification.md +14 -0
- data/docs/bundle_recipient.md +17 -0
- data/docs/bundle_registration.md +15 -0
- data/docs/clickwrap.md +9 -0
- data/docs/dns_record.md +9 -0
- data/docs/email_incoming_message.md +19 -0
- data/docs/email_log.md +14 -0
- data/docs/exavault_api_request_log.md +14 -0
- data/docs/export.md +27 -1
- data/docs/external_event.md +19 -0
- data/docs/file_migration_log.md +14 -0
- data/docs/form_field_set.md +15 -0
- data/docs/ftp_action_log.md +14 -0
- data/docs/gpg_key.md +16 -0
- data/docs/group.md +27 -3
- data/docs/group_user.md +17 -0
- data/docs/history.md +85 -0
- data/docs/history_export_result.md +17 -0
- data/docs/inbox_recipient.md +17 -0
- data/docs/inbox_registration.md +15 -0
- data/docs/inbox_upload.md +19 -1
- data/docs/invoice.md +9 -0
- data/docs/ip_address.md +36 -0
- data/docs/message.md +17 -0
- data/docs/message_comment.md +17 -0
- data/docs/message_comment_reaction.md +17 -0
- data/docs/message_reaction.md +17 -0
- data/docs/notification.md +20 -0
- data/docs/outbound_connection_log.md +14 -0
- data/docs/payment.md +9 -0
- data/docs/permission.md +21 -0
- data/docs/priority.md +13 -0
- data/docs/project.md +9 -0
- data/docs/public_hosting_request_log.md +14 -0
- data/docs/public_key.md +15 -0
- data/docs/remote_bandwidth_snapshot.md +18 -0
- data/docs/remote_server.md +15 -0
- data/docs/request.md +17 -0
- data/docs/settings_change.md +14 -0
- data/docs/sftp_action_log.md +14 -0
- data/docs/sftp_host_key.md +9 -0
- data/docs/share_group.md +15 -0
- data/docs/siem_http_destination.md +9 -0
- data/docs/site.md +1 -0
- data/docs/snapshot.md +9 -0
- data/docs/sso_strategy.md +9 -0
- data/docs/sync_log.md +14 -0
- data/docs/usage_daily_snapshot.md +18 -0
- data/docs/usage_snapshot.md +9 -0
- data/docs/user.md +31 -2
- data/docs/user_cipher_use.md +15 -0
- data/docs/user_request.md +9 -0
- data/docs/user_sftp_client_use.md +15 -0
- data/docs/web_dav_action_log.md +14 -0
- data/lib/files.com/models/action_notification_export_result.rb +12 -0
- data/lib/files.com/models/api_key.rb +21 -0
- data/lib/files.com/models/api_request_log.rb +11 -0
- data/lib/files.com/models/app.rb +13 -0
- data/lib/files.com/models/as2_incoming_message.rb +21 -0
- data/lib/files.com/models/as2_outgoing_message.rb +21 -0
- data/lib/files.com/models/as2_partner.rb +5 -0
- data/lib/files.com/models/as2_station.rb +5 -0
- data/lib/files.com/models/automation.rb +19 -0
- data/lib/files.com/models/automation_log.rb +11 -0
- data/lib/files.com/models/automation_run.rb +14 -0
- data/lib/files.com/models/bandwidth_snapshot.rb +19 -0
- data/lib/files.com/models/behavior.rb +13 -0
- data/lib/files.com/models/bundle.rb +23 -0
- data/lib/files.com/models/bundle_action.rb +19 -0
- data/lib/files.com/models/bundle_download.rb +23 -0
- data/lib/files.com/models/bundle_notification.rb +11 -0
- data/lib/files.com/models/bundle_recipient.rb +14 -0
- data/lib/files.com/models/bundle_registration.rb +9 -0
- data/lib/files.com/models/clickwrap.rb +5 -0
- data/lib/files.com/models/dns_record.rb +5 -0
- data/lib/files.com/models/email_incoming_message.rb +21 -0
- data/lib/files.com/models/email_log.rb +11 -0
- data/lib/files.com/models/exavault_api_request_log.rb +11 -0
- data/lib/files.com/models/export.rb +96 -0
- data/lib/files.com/models/external_event.rb +21 -0
- data/lib/files.com/models/file_migration_log.rb +11 -0
- data/lib/files.com/models/form_field_set.rb +9 -0
- data/lib/files.com/models/ftp_action_log.rb +11 -0
- data/lib/files.com/models/gpg_key.rb +11 -0
- data/lib/files.com/models/group.rb +27 -1
- data/lib/files.com/models/group_user.rb +11 -0
- data/lib/files.com/models/history.rb +94 -0
- data/lib/files.com/models/history_export_result.rb +12 -0
- data/lib/files.com/models/inbox_recipient.rb +14 -0
- data/lib/files.com/models/inbox_registration.rb +9 -0
- data/lib/files.com/models/inbox_upload.rb +20 -1
- data/lib/files.com/models/invoice.rb +5 -0
- data/lib/files.com/models/ip_address.rb +20 -0
- data/lib/files.com/models/message.rb +12 -0
- data/lib/files.com/models/message_comment.rb +12 -0
- data/lib/files.com/models/message_comment_reaction.rb +12 -0
- data/lib/files.com/models/message_reaction.rb +12 -0
- data/lib/files.com/models/notification.rb +18 -0
- data/lib/files.com/models/outbound_connection_log.rb +11 -0
- data/lib/files.com/models/payment.rb +5 -0
- data/lib/files.com/models/permission.rb +20 -0
- data/lib/files.com/models/priority.rb +12 -0
- data/lib/files.com/models/project.rb +5 -0
- data/lib/files.com/models/public_hosting_request_log.rb +11 -0
- data/lib/files.com/models/public_key.rb +9 -0
- data/lib/files.com/models/remote_bandwidth_snapshot.rb +19 -0
- data/lib/files.com/models/remote_server.rb +13 -0
- data/lib/files.com/models/request.rb +12 -0
- data/lib/files.com/models/settings_change.rb +11 -0
- data/lib/files.com/models/sftp_action_log.rb +11 -0
- data/lib/files.com/models/sftp_host_key.rb +5 -0
- data/lib/files.com/models/share_group.rb +9 -0
- data/lib/files.com/models/siem_http_destination.rb +5 -0
- data/lib/files.com/models/snapshot.rb +5 -0
- data/lib/files.com/models/sso_strategy.rb +5 -0
- data/lib/files.com/models/sync_log.rb +11 -0
- data/lib/files.com/models/usage_daily_snapshot.rb +19 -0
- data/lib/files.com/models/usage_snapshot.rb +5 -0
- data/lib/files.com/models/user.rb +37 -1
- data/lib/files.com/models/user_cipher_use.rb +9 -0
- data/lib/files.com/models/user_request.rb +5 -0
- data/lib/files.com/models/user_sftp_client_use.rb +9 -0
- data/lib/files.com/models/web_dav_action_log.rb +11 -0
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
@@ -148,6 +148,17 @@ module Files
|
|
148
148
|
GroupUser.new(response.data, options)
|
149
149
|
end
|
150
150
|
|
151
|
+
# Parameters:
|
152
|
+
# user_id - int64 - User ID. If provided, will return group_users of this user.
|
153
|
+
# group_id - int64 - Group ID. If provided, will return group_users of this group.
|
154
|
+
def self.create_export(params = {}, options = {})
|
155
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
156
|
+
raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
|
157
|
+
|
158
|
+
response, options = Api.send_request("/group_users/create_export", :post, params, options)
|
159
|
+
Export.new(response.data, options)
|
160
|
+
end
|
161
|
+
|
151
162
|
# Parameters:
|
152
163
|
# group_id (required) - int64 - Group ID to add user to.
|
153
164
|
# user_id (required) - int64 - User ID to add to group.
|
@@ -201,5 +201,99 @@ module Files
|
|
201
201
|
def self.all(params = {}, options = {})
|
202
202
|
list(params, options)
|
203
203
|
end
|
204
|
+
|
205
|
+
# Parameters:
|
206
|
+
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
207
|
+
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
208
|
+
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
209
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `path` and `created_at`.
|
210
|
+
# path (required) - int64
|
211
|
+
def self.list_for_file_create_export(path, params = {}, options = {})
|
212
|
+
params ||= {}
|
213
|
+
params[:path] = path
|
214
|
+
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
|
215
|
+
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
|
216
|
+
raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
|
217
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
218
|
+
raise InvalidParameterError.new("Bad parameter: path must be an Integer") if params[:path] and !params[:path].is_a?(Integer)
|
219
|
+
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
220
|
+
|
221
|
+
response, options = Api.send_request("/history/files/#{params[:path]}/create_export", :post, params, options)
|
222
|
+
Export.new(response.data, options)
|
223
|
+
end
|
224
|
+
|
225
|
+
# Parameters:
|
226
|
+
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
227
|
+
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
228
|
+
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
229
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
230
|
+
# path (required) - int64
|
231
|
+
def self.list_for_folder_create_export(path, params = {}, options = {})
|
232
|
+
params ||= {}
|
233
|
+
params[:path] = path
|
234
|
+
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
|
235
|
+
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
|
236
|
+
raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
|
237
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
238
|
+
raise InvalidParameterError.new("Bad parameter: path must be an Integer") if params[:path] and !params[:path].is_a?(Integer)
|
239
|
+
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
240
|
+
|
241
|
+
response, options = Api.send_request("/history/folders/#{params[:path]}/create_export", :post, params, options)
|
242
|
+
Export.new(response.data, options)
|
243
|
+
end
|
244
|
+
|
245
|
+
# Parameters:
|
246
|
+
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
247
|
+
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
248
|
+
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
249
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id` and `created_at`.
|
250
|
+
# user_id (required) - int64 - User ID.
|
251
|
+
def self.list_for_user_create_export(user_id, params = {}, options = {})
|
252
|
+
params ||= {}
|
253
|
+
params[:user_id] = user_id
|
254
|
+
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
|
255
|
+
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
|
256
|
+
raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
|
257
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
258
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
259
|
+
raise MissingParameterError.new("Parameter missing: user_id") unless params[:user_id]
|
260
|
+
|
261
|
+
response, options = Api.send_request("/history/users/#{params[:user_id]}/create_export", :post, params, options)
|
262
|
+
Export.new(response.data, options)
|
263
|
+
end
|
264
|
+
|
265
|
+
# Parameters:
|
266
|
+
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
267
|
+
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
268
|
+
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
269
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
270
|
+
def self.list_logins_create_export(params = {}, options = {})
|
271
|
+
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
|
272
|
+
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
|
273
|
+
raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
|
274
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
275
|
+
|
276
|
+
response, options = Api.send_request("/history/login/create_export", :post, params, options)
|
277
|
+
Export.new(response.data, options)
|
278
|
+
end
|
279
|
+
|
280
|
+
# Parameters:
|
281
|
+
# start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
282
|
+
# end_at - string - Leave blank or set to a date/time to filter later entries.
|
283
|
+
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
284
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `path`, `created_at` or `user_id`.
|
285
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`. Valid field combinations are `[ user_id, folder ]`, `[ user_id, path ]`, `[ folder, path ]` or `[ user_id, folder, path ]`.
|
286
|
+
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
|
287
|
+
def self.list_create_export(params = {}, options = {})
|
288
|
+
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
|
289
|
+
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
|
290
|
+
raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
|
291
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
292
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
293
|
+
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
294
|
+
|
295
|
+
response, options = Api.send_request("/history/create_export", :post, params, options)
|
296
|
+
Export.new(response.data, options)
|
297
|
+
end
|
204
298
|
end
|
205
299
|
end
|
@@ -159,5 +159,17 @@ module Files
|
|
159
159
|
def self.all(params = {}, options = {})
|
160
160
|
list(params, options)
|
161
161
|
end
|
162
|
+
|
163
|
+
# Parameters:
|
164
|
+
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
165
|
+
# history_export_id (required) - int64 - ID of the associated history export.
|
166
|
+
def self.create_export(params = {}, options = {})
|
167
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
168
|
+
raise InvalidParameterError.new("Bad parameter: history_export_id must be an Integer") if params[:history_export_id] and !params[:history_export_id].is_a?(Integer)
|
169
|
+
raise MissingParameterError.new("Parameter missing: history_export_id") unless params[:history_export_id]
|
170
|
+
|
171
|
+
response, options = Api.send_request("/history_export_results/create_export", :post, params, options)
|
172
|
+
Export.new(response.data, options)
|
173
|
+
end
|
162
174
|
end
|
163
175
|
end
|
@@ -125,5 +125,19 @@ module Files
|
|
125
125
|
response, options = Api.send_request("/inbox_recipients", :post, params, options)
|
126
126
|
InboxRecipient.new(response.data, options)
|
127
127
|
end
|
128
|
+
|
129
|
+
# Parameters:
|
130
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
131
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
132
|
+
# inbox_id (required) - int64 - List recipients for the inbox with this ID.
|
133
|
+
def self.create_export(params = {}, options = {})
|
134
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
135
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
136
|
+
raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
|
137
|
+
raise MissingParameterError.new("Parameter missing: inbox_id") unless params[:inbox_id]
|
138
|
+
|
139
|
+
response, options = Api.send_request("/inbox_recipients/create_export", :post, params, options)
|
140
|
+
Export.new(response.data, options)
|
141
|
+
end
|
128
142
|
end
|
129
143
|
end
|
@@ -86,5 +86,14 @@ module Files
|
|
86
86
|
def self.all(params = {}, options = {})
|
87
87
|
list(params, options)
|
88
88
|
end
|
89
|
+
|
90
|
+
# Parameters:
|
91
|
+
# folder_behavior_id - int64 - ID of the associated Inbox.
|
92
|
+
def self.create_export(params = {}, options = {})
|
93
|
+
raise InvalidParameterError.new("Bad parameter: folder_behavior_id must be an Integer") if params[:folder_behavior_id] and !params[:folder_behavior_id].is_a?(Integer)
|
94
|
+
|
95
|
+
response, options = Api.send_request("/inbox_registrations/create_export", :post, params, options)
|
96
|
+
Export.new(response.data, options)
|
97
|
+
end
|
89
98
|
end
|
90
99
|
end
|
@@ -28,7 +28,7 @@ module Files
|
|
28
28
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
29
29
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
30
30
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
31
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ created_at, folder_behavior_id ]`
|
31
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ created_at, folder_behavior_id ]`, `[ created_at, inbox_registration_id ]`, `[ folder_behavior_id, inbox_registration_id ]` or `[ created_at, folder_behavior_id, inbox_registration_id ]`.
|
32
32
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
33
33
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
34
34
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
@@ -51,5 +51,24 @@ module Files
|
|
51
51
|
def self.all(params = {}, options = {})
|
52
52
|
list(params, options)
|
53
53
|
end
|
54
|
+
|
55
|
+
# Parameters:
|
56
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
57
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ created_at, folder_behavior_id ]`, `[ created_at, inbox_registration_id ]`, `[ folder_behavior_id, inbox_registration_id ]` or `[ created_at, folder_behavior_id, inbox_registration_id ]`.
|
58
|
+
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
59
|
+
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
60
|
+
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
61
|
+
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
62
|
+
def self.create_export(params = {}, options = {})
|
63
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
64
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
65
|
+
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
|
66
|
+
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
67
|
+
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
68
|
+
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
69
|
+
|
70
|
+
response, options = Api.send_request("/inbox_uploads/create_export", :post, params, options)
|
71
|
+
Export.new(response.data, options)
|
72
|
+
end
|
54
73
|
end
|
55
74
|
end
|
@@ -105,5 +105,10 @@ module Files
|
|
105
105
|
def self.get(id, params = {}, options = {})
|
106
106
|
find(id, params, options)
|
107
107
|
end
|
108
|
+
|
109
|
+
def self.create_export(params = {}, options = {})
|
110
|
+
response, options = Api.send_request("/invoices/create_export", :post, params, options)
|
111
|
+
Export.new(response.data, options)
|
112
|
+
end
|
108
113
|
end
|
109
114
|
end
|
@@ -80,5 +80,25 @@ module Files
|
|
80
80
|
Api.send_request("/ip_addresses/reserved", :get, params, options)
|
81
81
|
end
|
82
82
|
end
|
83
|
+
|
84
|
+
def self.smartfile_reserved_create_export(params = {}, options = {})
|
85
|
+
response, options = Api.send_request("/ip_addresses/smartfile-reserved/create_export", :post, params, options)
|
86
|
+
Export.new(response.data, options)
|
87
|
+
end
|
88
|
+
|
89
|
+
def self.exavault_reserved_create_export(params = {}, options = {})
|
90
|
+
response, options = Api.send_request("/ip_addresses/exavault-reserved/create_export", :post, params, options)
|
91
|
+
Export.new(response.data, options)
|
92
|
+
end
|
93
|
+
|
94
|
+
def self.reserved_create_export(params = {}, options = {})
|
95
|
+
response, options = Api.send_request("/ip_addresses/reserved/create_export", :post, params, options)
|
96
|
+
Export.new(response.data, options)
|
97
|
+
end
|
98
|
+
|
99
|
+
def self.create_export(params = {}, options = {})
|
100
|
+
response, options = Api.send_request("/ip_addresses/create_export", :post, params, options)
|
101
|
+
Export.new(response.data, options)
|
102
|
+
end
|
83
103
|
end
|
84
104
|
end
|
@@ -164,6 +164,18 @@ module Files
|
|
164
164
|
Message.new(response.data, options)
|
165
165
|
end
|
166
166
|
|
167
|
+
# Parameters:
|
168
|
+
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
169
|
+
# project_id (required) - int64 - Project for which to return messages.
|
170
|
+
def self.create_export(params = {}, options = {})
|
171
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
172
|
+
raise InvalidParameterError.new("Bad parameter: project_id must be an Integer") if params[:project_id] and !params[:project_id].is_a?(Integer)
|
173
|
+
raise MissingParameterError.new("Parameter missing: project_id") unless params[:project_id]
|
174
|
+
|
175
|
+
response, options = Api.send_request("/messages/create_export", :post, params, options)
|
176
|
+
Export.new(response.data, options)
|
177
|
+
end
|
178
|
+
|
167
179
|
# Parameters:
|
168
180
|
# project_id (required) - int64 - Project to which the message should be attached.
|
169
181
|
# subject (required) - string - Message subject.
|
@@ -134,6 +134,18 @@ module Files
|
|
134
134
|
MessageComment.new(response.data, options)
|
135
135
|
end
|
136
136
|
|
137
|
+
# Parameters:
|
138
|
+
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
139
|
+
# message_id (required) - int64 - Message comment to return comments for.
|
140
|
+
def self.create_export(params = {}, options = {})
|
141
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
142
|
+
raise InvalidParameterError.new("Bad parameter: message_id must be an Integer") if params[:message_id] and !params[:message_id].is_a?(Integer)
|
143
|
+
raise MissingParameterError.new("Parameter missing: message_id") unless params[:message_id]
|
144
|
+
|
145
|
+
response, options = Api.send_request("/message_comments/create_export", :post, params, options)
|
146
|
+
Export.new(response.data, options)
|
147
|
+
end
|
148
|
+
|
137
149
|
# Parameters:
|
138
150
|
# body (required) - string - Comment body.
|
139
151
|
def self.update(id, params = {}, options = {})
|
@@ -111,6 +111,18 @@ module Files
|
|
111
111
|
MessageCommentReaction.new(response.data, options)
|
112
112
|
end
|
113
113
|
|
114
|
+
# Parameters:
|
115
|
+
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
116
|
+
# message_comment_id (required) - int64 - Message comment to return reactions for.
|
117
|
+
def self.create_export(params = {}, options = {})
|
118
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
119
|
+
raise InvalidParameterError.new("Bad parameter: message_comment_id must be an Integer") if params[:message_comment_id] and !params[:message_comment_id].is_a?(Integer)
|
120
|
+
raise MissingParameterError.new("Parameter missing: message_comment_id") unless params[:message_comment_id]
|
121
|
+
|
122
|
+
response, options = Api.send_request("/message_comment_reactions/create_export", :post, params, options)
|
123
|
+
Export.new(response.data, options)
|
124
|
+
end
|
125
|
+
|
114
126
|
def self.delete(id, params = {}, options = {})
|
115
127
|
params ||= {}
|
116
128
|
params[:id] = id
|
@@ -111,6 +111,18 @@ module Files
|
|
111
111
|
MessageReaction.new(response.data, options)
|
112
112
|
end
|
113
113
|
|
114
|
+
# Parameters:
|
115
|
+
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
116
|
+
# message_id (required) - int64 - Message to return reactions for.
|
117
|
+
def self.create_export(params = {}, options = {})
|
118
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
119
|
+
raise InvalidParameterError.new("Bad parameter: message_id must be an Integer") if params[:message_id] and !params[:message_id].is_a?(Integer)
|
120
|
+
raise MissingParameterError.new("Parameter missing: message_id") unless params[:message_id]
|
121
|
+
|
122
|
+
response, options = Api.send_request("/message_reactions/create_export", :post, params, options)
|
123
|
+
Export.new(response.data, options)
|
124
|
+
end
|
125
|
+
|
114
126
|
def self.delete(id, params = {}, options = {})
|
115
127
|
params ||= {}
|
116
128
|
params[:id] = id
|
@@ -338,6 +338,24 @@ module Files
|
|
338
338
|
Notification.new(response.data, options)
|
339
339
|
end
|
340
340
|
|
341
|
+
# Parameters:
|
342
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `path`, `user_id` or `group_id`.
|
343
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `user_id` or `group_id`.
|
344
|
+
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
|
345
|
+
# path - string - Show notifications for this Path.
|
346
|
+
# include_ancestors - boolean - If `include_ancestors` is `true` and `path` is specified, include notifications for any parent paths. Ignored if `path` is not specified.
|
347
|
+
# group_id - string
|
348
|
+
def self.create_export(params = {}, options = {})
|
349
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
350
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
351
|
+
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
352
|
+
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
353
|
+
raise InvalidParameterError.new("Bad parameter: group_id must be an String") if params[:group_id] and !params[:group_id].is_a?(String)
|
354
|
+
|
355
|
+
response, options = Api.send_request("/notifications/create_export", :post, params, options)
|
356
|
+
Export.new(response.data, options)
|
357
|
+
end
|
358
|
+
|
341
359
|
# Parameters:
|
342
360
|
# notify_on_copy - boolean - If `true`, copying or moving resources into this path will trigger a notification, in addition to just uploads.
|
343
361
|
# notify_on_delete - boolean - Trigger on files deleted in this path?
|
@@ -98,5 +98,16 @@ module Files
|
|
98
98
|
def self.all(params = {}, options = {})
|
99
99
|
list(params, options)
|
100
100
|
end
|
101
|
+
|
102
|
+
# Parameters:
|
103
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `operation`, `status`, `src_remote_server_id`, `dest_remote_server_id`, `path` or `client_ip`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ operation ]`, `[ status ]`, `[ src_remote_server_id ]`, `[ dest_remote_server_id ]`, `[ path ]`, `[ client_ip ]`, `[ start_date, end_date ]`, `[ start_date, operation ]`, `[ start_date, status ]`, `[ start_date, src_remote_server_id ]`, `[ start_date, dest_remote_server_id ]`, `[ start_date, path ]`, `[ start_date, client_ip ]`, `[ end_date, operation ]`, `[ end_date, status ]`, `[ end_date, src_remote_server_id ]`, `[ end_date, dest_remote_server_id ]`, `[ end_date, path ]`, `[ end_date, client_ip ]`, `[ operation, status ]`, `[ operation, src_remote_server_id ]`, `[ operation, dest_remote_server_id ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ status, src_remote_server_id ]`, `[ status, dest_remote_server_id ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id ]`, `[ src_remote_server_id, path ]`, `[ src_remote_server_id, client_ip ]`, `[ dest_remote_server_id, path ]`, `[ dest_remote_server_id, client_ip ]`, `[ path, client_ip ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, status ]`, `[ start_date, end_date, src_remote_server_id ]`, `[ start_date, end_date, dest_remote_server_id ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, client_ip ]`, `[ start_date, operation, status ]`, `[ start_date, operation, src_remote_server_id ]`, `[ start_date, operation, dest_remote_server_id ]`, `[ start_date, operation, path ]`, `[ start_date, operation, client_ip ]`, `[ start_date, status, src_remote_server_id ]`, `[ start_date, status, dest_remote_server_id ]`, `[ start_date, status, path ]`, `[ start_date, status, client_ip ]`, `[ start_date, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, src_remote_server_id, path ]`, `[ start_date, src_remote_server_id, client_ip ]`, `[ start_date, dest_remote_server_id, path ]`, `[ start_date, dest_remote_server_id, client_ip ]`, `[ start_date, path, client_ip ]`, `[ end_date, operation, status ]`, `[ end_date, operation, src_remote_server_id ]`, `[ end_date, operation, dest_remote_server_id ]`, `[ end_date, operation, path ]`, `[ end_date, operation, client_ip ]`, `[ end_date, status, src_remote_server_id ]`, `[ end_date, status, dest_remote_server_id ]`, `[ end_date, status, path ]`, `[ end_date, status, client_ip ]`, `[ end_date, src_remote_server_id, dest_remote_server_id ]`, `[ end_date, src_remote_server_id, path ]`, `[ end_date, src_remote_server_id, client_ip ]`, `[ end_date, dest_remote_server_id, path ]`, `[ end_date, dest_remote_server_id, client_ip ]`, `[ end_date, path, client_ip ]`, `[ operation, status, src_remote_server_id ]`, `[ operation, status, dest_remote_server_id ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id ]`, `[ operation, src_remote_server_id, path ]`, `[ operation, src_remote_server_id, client_ip ]`, `[ operation, dest_remote_server_id, path ]`, `[ operation, dest_remote_server_id, client_ip ]`, `[ operation, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id ]`, `[ status, src_remote_server_id, path ]`, `[ status, src_remote_server_id, client_ip ]`, `[ status, dest_remote_server_id, path ]`, `[ status, dest_remote_server_id, client_ip ]`, `[ status, path, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, path ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ src_remote_server_id, path, client_ip ]`, `[ dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, operation, src_remote_server_id ]`, `[ start_date, end_date, operation, dest_remote_server_id ]`, `[ start_date, end_date, operation, path ]`, `[ start_date, end_date, operation, client_ip ]`, `[ start_date, end_date, status, src_remote_server_id ]`, `[ start_date, end_date, status, dest_remote_server_id ]`, `[ start_date, end_date, status, path ]`, `[ start_date, end_date, status, client_ip ]`, `[ start_date, end_date, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, end_date, src_remote_server_id, path ]`, `[ start_date, end_date, src_remote_server_id, client_ip ]`, `[ start_date, end_date, dest_remote_server_id, path ]`, `[ start_date, end_date, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, path, client_ip ]`, `[ start_date, operation, status, src_remote_server_id ]`, `[ start_date, operation, status, dest_remote_server_id ]`, `[ start_date, operation, status, path ]`, `[ start_date, operation, status, client_ip ]`, `[ start_date, operation, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, operation, src_remote_server_id, path ]`, `[ start_date, operation, src_remote_server_id, client_ip ]`, `[ start_date, operation, dest_remote_server_id, path ]`, `[ start_date, operation, dest_remote_server_id, client_ip ]`, `[ start_date, operation, path, client_ip ]`, `[ start_date, status, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, status, src_remote_server_id, path ]`, `[ start_date, status, src_remote_server_id, client_ip ]`, `[ start_date, status, dest_remote_server_id, path ]`, `[ start_date, status, dest_remote_server_id, client_ip ]`, `[ start_date, status, path, client_ip ]`, `[ start_date, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, src_remote_server_id, path, client_ip ]`, `[ start_date, dest_remote_server_id, path, client_ip ]`, `[ end_date, operation, status, src_remote_server_id ]`, `[ end_date, operation, status, dest_remote_server_id ]`, `[ end_date, operation, status, path ]`, `[ end_date, operation, status, client_ip ]`, `[ end_date, operation, src_remote_server_id, dest_remote_server_id ]`, `[ end_date, operation, src_remote_server_id, path ]`, `[ end_date, operation, src_remote_server_id, client_ip ]`, `[ end_date, operation, dest_remote_server_id, path ]`, `[ end_date, operation, dest_remote_server_id, client_ip ]`, `[ end_date, operation, path, client_ip ]`, `[ end_date, status, src_remote_server_id, dest_remote_server_id ]`, `[ end_date, status, src_remote_server_id, path ]`, `[ end_date, status, src_remote_server_id, client_ip ]`, `[ end_date, status, dest_remote_server_id, path ]`, `[ end_date, status, dest_remote_server_id, client_ip ]`, `[ end_date, status, path, client_ip ]`, `[ end_date, src_remote_server_id, dest_remote_server_id, path ]`, `[ end_date, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ end_date, src_remote_server_id, path, client_ip ]`, `[ end_date, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ operation, status, src_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, client_ip ]`, `[ operation, status, dest_remote_server_id, path ]`, `[ operation, status, dest_remote_server_id, client_ip ]`, `[ operation, status, path, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, path, client_ip ]`, `[ operation, dest_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, path ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, path, client_ip ]`, `[ status, dest_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, status, src_remote_server_id ]`, `[ start_date, end_date, operation, status, dest_remote_server_id ]`, `[ start_date, end_date, operation, status, path ]`, `[ start_date, end_date, operation, status, client_ip ]`, `[ start_date, end_date, operation, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, end_date, operation, src_remote_server_id, path ]`, `[ start_date, end_date, operation, src_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, dest_remote_server_id, path ]`, `[ start_date, end_date, operation, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, path, client_ip ]`, `[ start_date, end_date, status, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, end_date, status, src_remote_server_id, path ]`, `[ start_date, end_date, status, src_remote_server_id, client_ip ]`, `[ start_date, end_date, status, dest_remote_server_id, path ]`, `[ start_date, end_date, status, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, status, path, client_ip ]`, `[ start_date, end_date, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, end_date, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, src_remote_server_id, path, client_ip ]`, `[ start_date, end_date, dest_remote_server_id, path, client_ip ]`, `[ start_date, operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, operation, status, src_remote_server_id, path ]`, `[ start_date, operation, status, src_remote_server_id, client_ip ]`, `[ start_date, operation, status, dest_remote_server_id, path ]`, `[ start_date, operation, status, dest_remote_server_id, client_ip ]`, `[ start_date, operation, status, path, client_ip ]`, `[ start_date, operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, operation, src_remote_server_id, path, client_ip ]`, `[ start_date, operation, dest_remote_server_id, path, client_ip ]`, `[ start_date, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, status, src_remote_server_id, path, client_ip ]`, `[ start_date, status, dest_remote_server_id, path, client_ip ]`, `[ start_date, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ end_date, operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ end_date, operation, status, src_remote_server_id, path ]`, `[ end_date, operation, status, src_remote_server_id, client_ip ]`, `[ end_date, operation, status, dest_remote_server_id, path ]`, `[ end_date, operation, status, dest_remote_server_id, client_ip ]`, `[ end_date, operation, status, path, client_ip ]`, `[ end_date, operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ end_date, operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ end_date, operation, src_remote_server_id, path, client_ip ]`, `[ end_date, operation, dest_remote_server_id, path, client_ip ]`, `[ end_date, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ end_date, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ end_date, status, src_remote_server_id, path, client_ip ]`, `[ end_date, status, dest_remote_server_id, path, client_ip ]`, `[ end_date, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, path, client_ip ]`, `[ operation, status, dest_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, end_date, operation, status, src_remote_server_id, path ]`, `[ start_date, end_date, operation, status, src_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, status, dest_remote_server_id, path ]`, `[ start_date, end_date, operation, status, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, status, path, client_ip ]`, `[ start_date, end_date, operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, end_date, operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, src_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, end_date, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, status, src_remote_server_id, path, client_ip ]`, `[ start_date, end_date, status, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, operation, status, src_remote_server_id, path, client_ip ]`, `[ start_date, operation, status, dest_remote_server_id, path, client_ip ]`, `[ start_date, operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ end_date, operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ end_date, operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ end_date, operation, status, src_remote_server_id, path, client_ip ]`, `[ end_date, operation, status, dest_remote_server_id, path, client_ip ]`, `[ end_date, operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ end_date, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, end_date, operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, status, src_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, status, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]` or `[ end_date, operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`.
|
104
|
+
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `operation`, `status`, `src_remote_server_id`, `dest_remote_server_id` or `path`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ operation ]`, `[ status ]`, `[ src_remote_server_id ]`, `[ dest_remote_server_id ]`, `[ path ]`, `[ client_ip ]`, `[ start_date, end_date ]`, `[ start_date, operation ]`, `[ start_date, status ]`, `[ start_date, src_remote_server_id ]`, `[ start_date, dest_remote_server_id ]`, `[ start_date, path ]`, `[ start_date, client_ip ]`, `[ end_date, operation ]`, `[ end_date, status ]`, `[ end_date, src_remote_server_id ]`, `[ end_date, dest_remote_server_id ]`, `[ end_date, path ]`, `[ end_date, client_ip ]`, `[ operation, status ]`, `[ operation, src_remote_server_id ]`, `[ operation, dest_remote_server_id ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ status, src_remote_server_id ]`, `[ status, dest_remote_server_id ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id ]`, `[ src_remote_server_id, path ]`, `[ src_remote_server_id, client_ip ]`, `[ dest_remote_server_id, path ]`, `[ dest_remote_server_id, client_ip ]`, `[ path, client_ip ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, status ]`, `[ start_date, end_date, src_remote_server_id ]`, `[ start_date, end_date, dest_remote_server_id ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, client_ip ]`, `[ start_date, operation, status ]`, `[ start_date, operation, src_remote_server_id ]`, `[ start_date, operation, dest_remote_server_id ]`, `[ start_date, operation, path ]`, `[ start_date, operation, client_ip ]`, `[ start_date, status, src_remote_server_id ]`, `[ start_date, status, dest_remote_server_id ]`, `[ start_date, status, path ]`, `[ start_date, status, client_ip ]`, `[ start_date, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, src_remote_server_id, path ]`, `[ start_date, src_remote_server_id, client_ip ]`, `[ start_date, dest_remote_server_id, path ]`, `[ start_date, dest_remote_server_id, client_ip ]`, `[ start_date, path, client_ip ]`, `[ end_date, operation, status ]`, `[ end_date, operation, src_remote_server_id ]`, `[ end_date, operation, dest_remote_server_id ]`, `[ end_date, operation, path ]`, `[ end_date, operation, client_ip ]`, `[ end_date, status, src_remote_server_id ]`, `[ end_date, status, dest_remote_server_id ]`, `[ end_date, status, path ]`, `[ end_date, status, client_ip ]`, `[ end_date, src_remote_server_id, dest_remote_server_id ]`, `[ end_date, src_remote_server_id, path ]`, `[ end_date, src_remote_server_id, client_ip ]`, `[ end_date, dest_remote_server_id, path ]`, `[ end_date, dest_remote_server_id, client_ip ]`, `[ end_date, path, client_ip ]`, `[ operation, status, src_remote_server_id ]`, `[ operation, status, dest_remote_server_id ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id ]`, `[ operation, src_remote_server_id, path ]`, `[ operation, src_remote_server_id, client_ip ]`, `[ operation, dest_remote_server_id, path ]`, `[ operation, dest_remote_server_id, client_ip ]`, `[ operation, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id ]`, `[ status, src_remote_server_id, path ]`, `[ status, src_remote_server_id, client_ip ]`, `[ status, dest_remote_server_id, path ]`, `[ status, dest_remote_server_id, client_ip ]`, `[ status, path, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, path ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ src_remote_server_id, path, client_ip ]`, `[ dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, operation, src_remote_server_id ]`, `[ start_date, end_date, operation, dest_remote_server_id ]`, `[ start_date, end_date, operation, path ]`, `[ start_date, end_date, operation, client_ip ]`, `[ start_date, end_date, status, src_remote_server_id ]`, `[ start_date, end_date, status, dest_remote_server_id ]`, `[ start_date, end_date, status, path ]`, `[ start_date, end_date, status, client_ip ]`, `[ start_date, end_date, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, end_date, src_remote_server_id, path ]`, `[ start_date, end_date, src_remote_server_id, client_ip ]`, `[ start_date, end_date, dest_remote_server_id, path ]`, `[ start_date, end_date, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, path, client_ip ]`, `[ start_date, operation, status, src_remote_server_id ]`, `[ start_date, operation, status, dest_remote_server_id ]`, `[ start_date, operation, status, path ]`, `[ start_date, operation, status, client_ip ]`, `[ start_date, operation, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, operation, src_remote_server_id, path ]`, `[ start_date, operation, src_remote_server_id, client_ip ]`, `[ start_date, operation, dest_remote_server_id, path ]`, `[ start_date, operation, dest_remote_server_id, client_ip ]`, `[ start_date, operation, path, client_ip ]`, `[ start_date, status, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, status, src_remote_server_id, path ]`, `[ start_date, status, src_remote_server_id, client_ip ]`, `[ start_date, status, dest_remote_server_id, path ]`, `[ start_date, status, dest_remote_server_id, client_ip ]`, `[ start_date, status, path, client_ip ]`, `[ start_date, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, src_remote_server_id, path, client_ip ]`, `[ start_date, dest_remote_server_id, path, client_ip ]`, `[ end_date, operation, status, src_remote_server_id ]`, `[ end_date, operation, status, dest_remote_server_id ]`, `[ end_date, operation, status, path ]`, `[ end_date, operation, status, client_ip ]`, `[ end_date, operation, src_remote_server_id, dest_remote_server_id ]`, `[ end_date, operation, src_remote_server_id, path ]`, `[ end_date, operation, src_remote_server_id, client_ip ]`, `[ end_date, operation, dest_remote_server_id, path ]`, `[ end_date, operation, dest_remote_server_id, client_ip ]`, `[ end_date, operation, path, client_ip ]`, `[ end_date, status, src_remote_server_id, dest_remote_server_id ]`, `[ end_date, status, src_remote_server_id, path ]`, `[ end_date, status, src_remote_server_id, client_ip ]`, `[ end_date, status, dest_remote_server_id, path ]`, `[ end_date, status, dest_remote_server_id, client_ip ]`, `[ end_date, status, path, client_ip ]`, `[ end_date, src_remote_server_id, dest_remote_server_id, path ]`, `[ end_date, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ end_date, src_remote_server_id, path, client_ip ]`, `[ end_date, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ operation, status, src_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, client_ip ]`, `[ operation, status, dest_remote_server_id, path ]`, `[ operation, status, dest_remote_server_id, client_ip ]`, `[ operation, status, path, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, path, client_ip ]`, `[ operation, dest_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, path ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, path, client_ip ]`, `[ status, dest_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, status, src_remote_server_id ]`, `[ start_date, end_date, operation, status, dest_remote_server_id ]`, `[ start_date, end_date, operation, status, path ]`, `[ start_date, end_date, operation, status, client_ip ]`, `[ start_date, end_date, operation, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, end_date, operation, src_remote_server_id, path ]`, `[ start_date, end_date, operation, src_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, dest_remote_server_id, path ]`, `[ start_date, end_date, operation, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, path, client_ip ]`, `[ start_date, end_date, status, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, end_date, status, src_remote_server_id, path ]`, `[ start_date, end_date, status, src_remote_server_id, client_ip ]`, `[ start_date, end_date, status, dest_remote_server_id, path ]`, `[ start_date, end_date, status, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, status, path, client_ip ]`, `[ start_date, end_date, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, end_date, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, src_remote_server_id, path, client_ip ]`, `[ start_date, end_date, dest_remote_server_id, path, client_ip ]`, `[ start_date, operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, operation, status, src_remote_server_id, path ]`, `[ start_date, operation, status, src_remote_server_id, client_ip ]`, `[ start_date, operation, status, dest_remote_server_id, path ]`, `[ start_date, operation, status, dest_remote_server_id, client_ip ]`, `[ start_date, operation, status, path, client_ip ]`, `[ start_date, operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, operation, src_remote_server_id, path, client_ip ]`, `[ start_date, operation, dest_remote_server_id, path, client_ip ]`, `[ start_date, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, status, src_remote_server_id, path, client_ip ]`, `[ start_date, status, dest_remote_server_id, path, client_ip ]`, `[ start_date, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ end_date, operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ end_date, operation, status, src_remote_server_id, path ]`, `[ end_date, operation, status, src_remote_server_id, client_ip ]`, `[ end_date, operation, status, dest_remote_server_id, path ]`, `[ end_date, operation, status, dest_remote_server_id, client_ip ]`, `[ end_date, operation, status, path, client_ip ]`, `[ end_date, operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ end_date, operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ end_date, operation, src_remote_server_id, path, client_ip ]`, `[ end_date, operation, dest_remote_server_id, path, client_ip ]`, `[ end_date, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ end_date, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ end_date, status, src_remote_server_id, path, client_ip ]`, `[ end_date, status, dest_remote_server_id, path, client_ip ]`, `[ end_date, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, path, client_ip ]`, `[ operation, status, dest_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ start_date, end_date, operation, status, src_remote_server_id, path ]`, `[ start_date, end_date, operation, status, src_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, status, dest_remote_server_id, path ]`, `[ start_date, end_date, operation, status, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, status, path, client_ip ]`, `[ start_date, end_date, operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, end_date, operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, src_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, end_date, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, status, src_remote_server_id, path, client_ip ]`, `[ start_date, end_date, status, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, operation, status, src_remote_server_id, path, client_ip ]`, `[ start_date, operation, status, dest_remote_server_id, path, client_ip ]`, `[ start_date, operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ end_date, operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ end_date, operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ end_date, operation, status, src_remote_server_id, path, client_ip ]`, `[ end_date, operation, status, dest_remote_server_id, path, client_ip ]`, `[ end_date, operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ end_date, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ start_date, end_date, operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ start_date, end_date, operation, status, src_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, status, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, end_date, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ start_date, operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]` or `[ end_date, operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`.
|
105
|
+
def self.create_export(params = {}, options = {})
|
106
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
107
|
+
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
108
|
+
|
109
|
+
response, options = Api.send_request("/outbound_connection_logs/create_export", :post, params, options)
|
110
|
+
Export.new(response.data, options)
|
111
|
+
end
|
101
112
|
end
|
102
113
|
end
|
@@ -105,5 +105,10 @@ module Files
|
|
105
105
|
def self.get(id, params = {}, options = {})
|
106
106
|
find(id, params, options)
|
107
107
|
end
|
108
|
+
|
109
|
+
def self.create_export(params = {}, options = {})
|
110
|
+
response, options = Api.send_request("/payments/create_export", :post, params, options)
|
111
|
+
Export.new(response.data, options)
|
112
|
+
end
|
108
113
|
end
|
109
114
|
end
|
@@ -157,6 +157,26 @@ module Files
|
|
157
157
|
Permission.new(response.data, options)
|
158
158
|
end
|
159
159
|
|
160
|
+
# Parameters:
|
161
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `group_id`, `path` or `user_id`.
|
162
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ path, group_id ]`, `[ path, user_id ]` or `[ group_id, user_id ]`.
|
163
|
+
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
|
164
|
+
# path - string - Permission path. If provided, will scope all permissions(including upward) to this path.
|
165
|
+
# include_groups - boolean - If searching by user or group, also include user's permissions that are inherited from its groups?
|
166
|
+
# group_id - string
|
167
|
+
# user_id - string
|
168
|
+
def self.create_export(params = {}, options = {})
|
169
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
170
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
171
|
+
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
172
|
+
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
173
|
+
raise InvalidParameterError.new("Bad parameter: group_id must be an String") if params[:group_id] and !params[:group_id].is_a?(String)
|
174
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an String") if params[:user_id] and !params[:user_id].is_a?(String)
|
175
|
+
|
176
|
+
response, options = Api.send_request("/permissions/create_export", :post, params, options)
|
177
|
+
Export.new(response.data, options)
|
178
|
+
end
|
179
|
+
|
160
180
|
def self.delete(id, params = {}, options = {})
|
161
181
|
params ||= {}
|
162
182
|
params[:id] = id
|
@@ -39,5 +39,17 @@ module Files
|
|
39
39
|
def self.all(path, params = {}, options = {})
|
40
40
|
list(path, params, options)
|
41
41
|
end
|
42
|
+
|
43
|
+
# Parameters:
|
44
|
+
# path (required) - string - The path to query for priorities
|
45
|
+
def self.create_export(path, params = {}, options = {})
|
46
|
+
params ||= {}
|
47
|
+
params[:path] = path
|
48
|
+
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
49
|
+
raise MissingParameterError.new("Parameter missing: path") unless params[:path]
|
50
|
+
|
51
|
+
response, options = Api.send_request("/priorities/create_export", :post, params, options)
|
52
|
+
Export.new(response.data, options)
|
53
|
+
end
|
42
54
|
end
|
43
55
|
end
|
@@ -109,6 +109,11 @@ module Files
|
|
109
109
|
Project.new(response.data, options)
|
110
110
|
end
|
111
111
|
|
112
|
+
def self.create_export(params = {}, options = {})
|
113
|
+
response, options = Api.send_request("/projects/create_export", :post, params, options)
|
114
|
+
Export.new(response.data, options)
|
115
|
+
end
|
116
|
+
|
112
117
|
# Parameters:
|
113
118
|
# global_access (required) - string - Global permissions. Can be: `none`, `anyone_with_read`, `anyone_with_full`.
|
114
119
|
def self.update(id, params = {}, options = {})
|
@@ -68,5 +68,16 @@ module Files
|
|
68
68
|
def self.all(params = {}, options = {})
|
69
69
|
list(params, options)
|
70
70
|
end
|
71
|
+
|
72
|
+
# Parameters:
|
73
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `path`, `remote_ip` or `success`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, path ]`, `[ start_date, remote_ip ]`, `[ start_date, success ]`, `[ end_date, path ]`, `[ end_date, remote_ip ]`, `[ end_date, success ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ remote_ip, success ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, remote_ip ]`, `[ start_date, end_date, success ]`, `[ start_date, path, remote_ip ]`, `[ start_date, path, success ]`, `[ start_date, remote_ip, success ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, success ]`, `[ end_date, remote_ip, success ]`, `[ path, remote_ip, success ]`, `[ start_date, end_date, path, remote_ip ]`, `[ start_date, end_date, path, success ]`, `[ start_date, end_date, remote_ip, success ]`, `[ start_date, path, remote_ip, success ]` or `[ end_date, path, remote_ip, success ]`.
|
74
|
+
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, path ]`, `[ start_date, remote_ip ]`, `[ start_date, success ]`, `[ end_date, path ]`, `[ end_date, remote_ip ]`, `[ end_date, success ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ remote_ip, success ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, remote_ip ]`, `[ start_date, end_date, success ]`, `[ start_date, path, remote_ip ]`, `[ start_date, path, success ]`, `[ start_date, remote_ip, success ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, success ]`, `[ end_date, remote_ip, success ]`, `[ path, remote_ip, success ]`, `[ start_date, end_date, path, remote_ip ]`, `[ start_date, end_date, path, success ]`, `[ start_date, end_date, remote_ip, success ]`, `[ start_date, path, remote_ip, success ]` or `[ end_date, path, remote_ip, success ]`.
|
75
|
+
def self.create_export(params = {}, options = {})
|
76
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
77
|
+
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
78
|
+
|
79
|
+
response, options = Api.send_request("/public_hosting_request_logs/create_export", :post, params, options)
|
80
|
+
Export.new(response.data, options)
|
81
|
+
end
|
71
82
|
end
|
72
83
|
end
|
@@ -166,6 +166,15 @@ module Files
|
|
166
166
|
PublicKey.new(response.data, options)
|
167
167
|
end
|
168
168
|
|
169
|
+
# Parameters:
|
170
|
+
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
171
|
+
def self.create_export(params = {}, options = {})
|
172
|
+
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
173
|
+
|
174
|
+
response, options = Api.send_request("/public_keys/create_export", :post, params, options)
|
175
|
+
Export.new(response.data, options)
|
176
|
+
end
|
177
|
+
|
169
178
|
# Parameters:
|
170
179
|
# title (required) - string - Internal reference for key.
|
171
180
|
def self.update(id, params = {}, options = {})
|
@@ -61,5 +61,24 @@ module Files
|
|
61
61
|
def self.all(params = {}, options = {})
|
62
62
|
list(params, options)
|
63
63
|
end
|
64
|
+
|
65
|
+
# Parameters:
|
66
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `logged_at`.
|
67
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
68
|
+
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
|
69
|
+
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `logged_at`.
|
70
|
+
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
|
71
|
+
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `logged_at`.
|
72
|
+
def self.create_export(params = {}, options = {})
|
73
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
74
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
75
|
+
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
|
76
|
+
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
|
77
|
+
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
|
78
|
+
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
|
79
|
+
|
80
|
+
response, options = Api.send_request("/remote_bandwidth_snapshots/create_export", :post, params, options)
|
81
|
+
Export.new(response.data, options)
|
82
|
+
end
|
64
83
|
end
|
65
84
|
end
|
@@ -1098,6 +1098,19 @@ module Files
|
|
1098
1098
|
RemoteServerConfigurationFile.new(response.data, options)
|
1099
1099
|
end
|
1100
1100
|
|
1101
|
+
# Parameters:
|
1102
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `rackspace_container`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
|
1103
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `rackspace_container`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ name, server_type ]`, `[ name, backblaze_b2_bucket ]`, `[ name, google_cloud_storage_bucket ]`, `[ name, wasabi_bucket ]`, `[ name, s3_bucket ]`, `[ name, rackspace_container ]`, `[ name, azure_blob_storage_container ]`, `[ name, azure_files_storage_share_name ]`, `[ name, s3_compatible_bucket ]`, `[ name, filebase_bucket ]`, `[ name, cloudflare_bucket ]` or `[ name, linode_bucket ]`.
|
1104
|
+
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `rackspace_container`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ name, backblaze_b2_bucket ]`, `[ name, google_cloud_storage_bucket ]`, `[ name, wasabi_bucket ]`, `[ name, s3_bucket ]`, `[ name, rackspace_container ]`, `[ name, azure_blob_storage_container ]`, `[ name, azure_files_storage_share_name ]`, `[ name, s3_compatible_bucket ]`, `[ name, filebase_bucket ]`, `[ name, cloudflare_bucket ]` or `[ name, linode_bucket ]`.
|
1105
|
+
def self.create_export(params = {}, options = {})
|
1106
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
1107
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
|
1108
|
+
raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
|
1109
|
+
|
1110
|
+
response, options = Api.send_request("/remote_servers/create_export", :post, params, options)
|
1111
|
+
Export.new(response.data, options)
|
1112
|
+
end
|
1113
|
+
|
1101
1114
|
# Parameters:
|
1102
1115
|
# aws_access_key - string - AWS Access Key.
|
1103
1116
|
# aws_secret_key - string - AWS secret key.
|
@@ -165,6 +165,18 @@ module Files
|
|
165
165
|
Request.new(response.data, options)
|
166
166
|
end
|
167
167
|
|
168
|
+
# Parameters:
|
169
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
170
|
+
# mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
|
171
|
+
# path - string - Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
|
172
|
+
def self.create_export(params = {}, options = {})
|
173
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
|
174
|
+
raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
|
175
|
+
|
176
|
+
response, options = Api.send_request("/requests/create_export", :post, params, options)
|
177
|
+
Export.new(response.data, options)
|
178
|
+
end
|
179
|
+
|
168
180
|
def self.delete(id, params = {}, options = {})
|
169
181
|
params ||= {}
|
170
182
|
params[:id] = id
|