files-com 1.6.14__py3-none-any.whl → 1.6.119__py3-none-any.whl
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.
Potentially problematic release.
This version of files-com might be problematic. Click here for more details.
- README.md +80 -18
- _VERSION +1 -1
- {files_com-1.6.14.dist-info → files_com-1.6.119.dist-info}/METADATA +81 -19
- {files_com-1.6.14.dist-info → files_com-1.6.119.dist-info}/RECORD +53 -46
- files_sdk/__init__.py +17 -1
- files_sdk/error.py +98 -23
- files_sdk/models/__init__.py +9 -0
- files_sdk/models/api_key.py +10 -0
- files_sdk/models/api_request_log.py +20 -3
- files_sdk/models/as2_partner.py +27 -5
- files_sdk/models/as2_station.py +1 -1
- files_sdk/models/automation.py +49 -5
- files_sdk/models/automation_log.py +20 -3
- files_sdk/models/behavior.py +2 -16
- files_sdk/models/bundle.py +1 -1
- files_sdk/models/bundle_action.py +5 -1
- files_sdk/models/bundle_registration.py +1 -1
- files_sdk/models/child_site_management_policy.py +278 -0
- files_sdk/models/email_log.py +17 -7
- files_sdk/models/exavault_api_request_log.py +20 -3
- files_sdk/models/file.py +8 -0
- files_sdk/models/file_migration_log.py +17 -7
- files_sdk/models/folder.py +11 -1
- files_sdk/models/ftp_action_log.py +20 -3
- files_sdk/models/gpg_key.py +61 -9
- files_sdk/models/history_export.py +4 -4
- files_sdk/models/history_export_result.py +2 -2
- files_sdk/models/holiday_region.py +58 -0
- files_sdk/models/inbox_registration.py +1 -1
- files_sdk/models/invoice_line_item.py +5 -0
- files_sdk/models/outbound_connection_log.py +20 -3
- files_sdk/models/partner.py +296 -0
- files_sdk/models/permission.py +10 -2
- files_sdk/models/public_hosting_request_log.py +27 -8
- files_sdk/models/public_key.py +39 -3
- files_sdk/models/remote_mount_backend.py +438 -0
- files_sdk/models/remote_server.py +19 -91
- files_sdk/models/remote_server_configuration_file.py +1 -0
- files_sdk/models/scim_log.py +88 -0
- files_sdk/models/sftp_action_log.py +20 -3
- files_sdk/models/siem_http_destination.py +98 -19
- files_sdk/models/site.py +37 -20
- files_sdk/models/sso_strategy.py +2 -1
- files_sdk/models/sync.py +574 -0
- files_sdk/models/sync_log.py +19 -8
- files_sdk/models/sync_run.py +123 -0
- files_sdk/models/user.py +79 -2
- files_sdk/models/user_cipher_use.py +24 -1
- files_sdk/models/user_lifecycle_rule.py +94 -39
- files_sdk/models/web_dav_action_log.py +20 -3
- {files_com-1.6.14.dist-info → files_com-1.6.119.dist-info}/WHEEL +0 -0
- {files_com-1.6.14.dist-info → files_com-1.6.119.dist-info}/licenses/LICENSE +0 -0
- {files_com-1.6.14.dist-info → files_com-1.6.119.dist-info}/top_level.txt +0 -0
files_sdk/models/automation.py
CHANGED
|
@@ -41,13 +41,15 @@ class Automation:
|
|
|
41
41
|
"schedule_times_of_day": None, # array(string) - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
|
|
42
42
|
"schedule_time_zone": None, # string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the automation should be run.
|
|
43
43
|
"source": None, # string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
|
44
|
-
"
|
|
45
|
-
"
|
|
44
|
+
"legacy_sync_ids": None, # array(int64) - IDs of remote sync folder behaviors to run by this Automation
|
|
45
|
+
"sync_ids": None, # array(int64) - IDs of syncs to run by this Automation. This is the new way to specify syncs, and it is recommended to use this instead of `legacy_sync_ids`.
|
|
46
|
+
"trigger_actions": None, # array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, archived_delete, copy
|
|
46
47
|
"trigger": None, # string - How this automation is triggered to run.
|
|
47
48
|
"user_id": None, # int64 - User ID of the Automation's creator.
|
|
48
49
|
"user_ids": None, # array(int64) - IDs of Users for the Automation (i.e. who to Request File from)
|
|
49
50
|
"value": None, # object - A Hash of attributes specific to the automation type.
|
|
50
51
|
"webhook_url": None, # string - If trigger is `webhook`, this is the URL of the webhook to trigger the Automation.
|
|
52
|
+
"holiday_region": None, # string - If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
def __init__(self, attributes=None, options=None):
|
|
@@ -96,12 +98,14 @@ class Automation:
|
|
|
96
98
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
|
97
99
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
98
100
|
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
|
101
|
+
# legacy_sync_ids - string - A list of legacy sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
99
102
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
100
103
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
101
104
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
102
105
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
103
106
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
|
104
107
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
108
|
+
# holiday_region - string - If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
|
|
105
109
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
106
110
|
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
107
111
|
# description - string - Description for the this Automation.
|
|
@@ -117,7 +121,7 @@ class Automation:
|
|
|
117
121
|
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
118
122
|
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
119
123
|
# trigger - string - How this automation is triggered to run.
|
|
120
|
-
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
124
|
+
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, archived_delete, copy
|
|
121
125
|
# value - object - A Hash of attributes specific to the automation type.
|
|
122
126
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
123
127
|
# automation - string - Automation type
|
|
@@ -159,6 +163,12 @@ class Automation:
|
|
|
159
163
|
)
|
|
160
164
|
if "path" in params and not isinstance(params["path"], str):
|
|
161
165
|
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
166
|
+
if "legacy_sync_ids" in params and not isinstance(
|
|
167
|
+
params["legacy_sync_ids"], str
|
|
168
|
+
):
|
|
169
|
+
raise InvalidParameterError(
|
|
170
|
+
"Bad parameter: legacy_sync_ids must be an str"
|
|
171
|
+
)
|
|
162
172
|
if "sync_ids" in params and not isinstance(params["sync_ids"], str):
|
|
163
173
|
raise InvalidParameterError(
|
|
164
174
|
"Bad parameter: sync_ids must be an str"
|
|
@@ -189,6 +199,12 @@ class Automation:
|
|
|
189
199
|
raise InvalidParameterError(
|
|
190
200
|
"Bad parameter: schedule_time_zone must be an str"
|
|
191
201
|
)
|
|
202
|
+
if "holiday_region" in params and not isinstance(
|
|
203
|
+
params["holiday_region"], str
|
|
204
|
+
):
|
|
205
|
+
raise InvalidParameterError(
|
|
206
|
+
"Bad parameter: holiday_region must be an str"
|
|
207
|
+
)
|
|
192
208
|
if "description" in params and not isinstance(
|
|
193
209
|
params["description"], str
|
|
194
210
|
):
|
|
@@ -363,12 +379,14 @@ def get(id, params=None, options=None):
|
|
|
363
379
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
|
364
380
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
365
381
|
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
|
382
|
+
# legacy_sync_ids - string - A list of legacy sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
366
383
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
367
384
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
368
385
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
369
386
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
370
387
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
|
371
388
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
389
|
+
# holiday_region - string - If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
|
|
372
390
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
373
391
|
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
374
392
|
# description - string - Description for the this Automation.
|
|
@@ -384,7 +402,7 @@ def get(id, params=None, options=None):
|
|
|
384
402
|
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
385
403
|
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
386
404
|
# trigger - string - How this automation is triggered to run.
|
|
387
|
-
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
405
|
+
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, archived_delete, copy
|
|
388
406
|
# value - object - A Hash of attributes specific to the automation type.
|
|
389
407
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
390
408
|
# automation (required) - string - Automation type
|
|
@@ -417,6 +435,12 @@ def create(params=None, options=None):
|
|
|
417
435
|
raise InvalidParameterError("Bad parameter: interval must be an str")
|
|
418
436
|
if "path" in params and not isinstance(params["path"], str):
|
|
419
437
|
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
438
|
+
if "legacy_sync_ids" in params and not isinstance(
|
|
439
|
+
params["legacy_sync_ids"], str
|
|
440
|
+
):
|
|
441
|
+
raise InvalidParameterError(
|
|
442
|
+
"Bad parameter: legacy_sync_ids must be an str"
|
|
443
|
+
)
|
|
420
444
|
if "sync_ids" in params and not isinstance(params["sync_ids"], str):
|
|
421
445
|
raise InvalidParameterError("Bad parameter: sync_ids must be an str")
|
|
422
446
|
if "user_ids" in params and not isinstance(params["user_ids"], str):
|
|
@@ -441,6 +465,12 @@ def create(params=None, options=None):
|
|
|
441
465
|
raise InvalidParameterError(
|
|
442
466
|
"Bad parameter: schedule_time_zone must be an str"
|
|
443
467
|
)
|
|
468
|
+
if "holiday_region" in params and not isinstance(
|
|
469
|
+
params["holiday_region"], str
|
|
470
|
+
):
|
|
471
|
+
raise InvalidParameterError(
|
|
472
|
+
"Bad parameter: holiday_region must be an str"
|
|
473
|
+
)
|
|
444
474
|
if "always_overwrite_size_matching_files" in params and not isinstance(
|
|
445
475
|
params["always_overwrite_size_matching_files"], bool
|
|
446
476
|
):
|
|
@@ -567,12 +597,14 @@ def manual_run(id, params=None, options=None):
|
|
|
567
597
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
|
568
598
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
569
599
|
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
|
600
|
+
# legacy_sync_ids - string - A list of legacy sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
570
601
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
571
602
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
572
603
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
573
604
|
# schedule_days_of_week - array(int64) - If trigger is `custom_schedule`. A list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
|
|
574
605
|
# schedule_times_of_day - array(string) - If trigger is `custom_schedule`. A list of times of day to run this automation. 24-hour time format.
|
|
575
606
|
# schedule_time_zone - string - If trigger is `custom_schedule`. Time zone for the schedule.
|
|
607
|
+
# holiday_region - string - If trigger is `custom_schedule`, the Automation will check if there is a formal, observed holiday for the region, and if so, it will not run.
|
|
576
608
|
# always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
|
|
577
609
|
# always_serialize_jobs - boolean - Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
|
|
578
610
|
# description - string - Description for the this Automation.
|
|
@@ -588,7 +620,7 @@ def manual_run(id, params=None, options=None):
|
|
|
588
620
|
# retry_on_failure_interval_in_minutes - int64 - If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
|
|
589
621
|
# retry_on_failure_number_of_attempts - int64 - If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
|
|
590
622
|
# trigger - string - How this automation is triggered to run.
|
|
591
|
-
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
623
|
+
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, archived_delete, copy
|
|
592
624
|
# value - object - A Hash of attributes specific to the automation type.
|
|
593
625
|
# recurring_day - int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
|
|
594
626
|
# automation - string - Automation type
|
|
@@ -624,6 +656,12 @@ def update(id, params=None, options=None):
|
|
|
624
656
|
raise InvalidParameterError("Bad parameter: interval must be an str")
|
|
625
657
|
if "path" in params and not isinstance(params["path"], str):
|
|
626
658
|
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
659
|
+
if "legacy_sync_ids" in params and not isinstance(
|
|
660
|
+
params["legacy_sync_ids"], str
|
|
661
|
+
):
|
|
662
|
+
raise InvalidParameterError(
|
|
663
|
+
"Bad parameter: legacy_sync_ids must be an str"
|
|
664
|
+
)
|
|
627
665
|
if "sync_ids" in params and not isinstance(params["sync_ids"], str):
|
|
628
666
|
raise InvalidParameterError("Bad parameter: sync_ids must be an str")
|
|
629
667
|
if "user_ids" in params and not isinstance(params["user_ids"], str):
|
|
@@ -648,6 +686,12 @@ def update(id, params=None, options=None):
|
|
|
648
686
|
raise InvalidParameterError(
|
|
649
687
|
"Bad parameter: schedule_time_zone must be an str"
|
|
650
688
|
)
|
|
689
|
+
if "holiday_region" in params and not isinstance(
|
|
690
|
+
params["holiday_region"], str
|
|
691
|
+
):
|
|
692
|
+
raise InvalidParameterError(
|
|
693
|
+
"Bad parameter: holiday_region must be an str"
|
|
694
|
+
)
|
|
651
695
|
if "always_overwrite_size_matching_files" in params and not isinstance(
|
|
652
696
|
params["always_overwrite_size_matching_files"], bool
|
|
653
697
|
):
|
|
@@ -10,7 +10,7 @@ from files_sdk.error import ( # noqa: F401
|
|
|
10
10
|
|
|
11
11
|
class AutomationLog:
|
|
12
12
|
default_attributes = {
|
|
13
|
-
"timestamp": None, # date-time - Start Time of Action
|
|
13
|
+
"timestamp": None, # date-time - Start Time of Action. Deprecrated: Use created_at.
|
|
14
14
|
"automation_id": None, # int64 - Automation ID
|
|
15
15
|
"automation_run_id": None, # int64 - Automation Run ID
|
|
16
16
|
"dest_path": None, # string - Destination path, for moves and copies
|
|
@@ -19,6 +19,7 @@ class AutomationLog:
|
|
|
19
19
|
"operation": None, # string - Operation type
|
|
20
20
|
"path": None, # string - File path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
21
21
|
"status": None, # string - Status
|
|
22
|
+
"created_at": None, # date-time - Start Time of Action
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
def __init__(self, attributes=None, options=None):
|
|
@@ -47,8 +48,12 @@ class AutomationLog:
|
|
|
47
48
|
# Parameters:
|
|
48
49
|
# 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.
|
|
49
50
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
50
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `
|
|
51
|
-
#
|
|
51
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation_id`, `automation_run_id`, `operation`, `path`, `status` or `created_at`. Valid field combinations are `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ created_at ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_id, created_at ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ automation_run_id, created_at ]`, `[ operation, path ]`, `[ operation, status ]`, `[ operation, created_at ]`, `[ path, status ]`, `[ path, created_at ]`, `[ status, created_at ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, automation_run_id, created_at ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, operation, created_at ]`, `[ automation_id, path, status ]`, `[ automation_id, path, created_at ]`, `[ automation_id, status, created_at ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, operation, created_at ]`, `[ automation_run_id, path, status ]`, `[ automation_run_id, path, created_at ]`, `[ automation_run_id, status, created_at ]`, `[ operation, path, status ]`, `[ operation, path, created_at ]`, `[ operation, status, created_at ]`, `[ path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, operation, created_at ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, automation_run_id, path, created_at ]`, `[ automation_id, automation_run_id, status, created_at ]`, `[ automation_id, operation, path, status ]`, `[ automation_id, operation, path, created_at ]`, `[ automation_id, operation, status, created_at ]`, `[ automation_id, path, status, created_at ]`, `[ automation_run_id, operation, path, status ]`, `[ automation_run_id, operation, path, created_at ]`, `[ automation_run_id, operation, status, created_at ]`, `[ automation_run_id, path, status, created_at ]`, `[ operation, path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, created_at ]`, `[ automation_id, automation_run_id, operation, status, created_at ]`, `[ automation_id, automation_run_id, path, status, created_at ]`, `[ automation_id, operation, path, status, created_at ]`, `[ automation_run_id, operation, path, status, created_at ]` or `[ automation_id, automation_run_id, operation, path, status, created_at ]`.
|
|
52
|
+
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ created_at ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_id, created_at ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ automation_run_id, created_at ]`, `[ operation, path ]`, `[ operation, status ]`, `[ operation, created_at ]`, `[ path, status ]`, `[ path, created_at ]`, `[ status, created_at ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, automation_run_id, created_at ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, operation, created_at ]`, `[ automation_id, path, status ]`, `[ automation_id, path, created_at ]`, `[ automation_id, status, created_at ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, operation, created_at ]`, `[ automation_run_id, path, status ]`, `[ automation_run_id, path, created_at ]`, `[ automation_run_id, status, created_at ]`, `[ operation, path, status ]`, `[ operation, path, created_at ]`, `[ operation, status, created_at ]`, `[ path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, operation, created_at ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, automation_run_id, path, created_at ]`, `[ automation_id, automation_run_id, status, created_at ]`, `[ automation_id, operation, path, status ]`, `[ automation_id, operation, path, created_at ]`, `[ automation_id, operation, status, created_at ]`, `[ automation_id, path, status, created_at ]`, `[ automation_run_id, operation, path, status ]`, `[ automation_run_id, operation, path, created_at ]`, `[ automation_run_id, operation, status, created_at ]`, `[ automation_run_id, path, status, created_at ]`, `[ operation, path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, created_at ]`, `[ automation_id, automation_run_id, operation, status, created_at ]`, `[ automation_id, automation_run_id, path, status, created_at ]`, `[ automation_id, operation, path, status, created_at ]`, `[ automation_run_id, operation, path, status, created_at ]` or `[ automation_id, automation_run_id, operation, path, status, created_at ]`.
|
|
53
|
+
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ created_at ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_id, created_at ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ automation_run_id, created_at ]`, `[ operation, path ]`, `[ operation, status ]`, `[ operation, created_at ]`, `[ path, status ]`, `[ path, created_at ]`, `[ status, created_at ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, automation_run_id, created_at ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, operation, created_at ]`, `[ automation_id, path, status ]`, `[ automation_id, path, created_at ]`, `[ automation_id, status, created_at ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, operation, created_at ]`, `[ automation_run_id, path, status ]`, `[ automation_run_id, path, created_at ]`, `[ automation_run_id, status, created_at ]`, `[ operation, path, status ]`, `[ operation, path, created_at ]`, `[ operation, status, created_at ]`, `[ path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, operation, created_at ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, automation_run_id, path, created_at ]`, `[ automation_id, automation_run_id, status, created_at ]`, `[ automation_id, operation, path, status ]`, `[ automation_id, operation, path, created_at ]`, `[ automation_id, operation, status, created_at ]`, `[ automation_id, path, status, created_at ]`, `[ automation_run_id, operation, path, status ]`, `[ automation_run_id, operation, path, created_at ]`, `[ automation_run_id, operation, status, created_at ]`, `[ automation_run_id, path, status, created_at ]`, `[ operation, path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, created_at ]`, `[ automation_id, automation_run_id, operation, status, created_at ]`, `[ automation_id, automation_run_id, path, status, created_at ]`, `[ automation_id, operation, path, status, created_at ]`, `[ automation_run_id, operation, path, status, created_at ]` or `[ automation_id, automation_run_id, operation, path, status, created_at ]`.
|
|
54
|
+
# 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 `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ created_at ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_id, created_at ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ automation_run_id, created_at ]`, `[ operation, path ]`, `[ operation, status ]`, `[ operation, created_at ]`, `[ path, status ]`, `[ path, created_at ]`, `[ status, created_at ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, automation_run_id, created_at ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, operation, created_at ]`, `[ automation_id, path, status ]`, `[ automation_id, path, created_at ]`, `[ automation_id, status, created_at ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, operation, created_at ]`, `[ automation_run_id, path, status ]`, `[ automation_run_id, path, created_at ]`, `[ automation_run_id, status, created_at ]`, `[ operation, path, status ]`, `[ operation, path, created_at ]`, `[ operation, status, created_at ]`, `[ path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, operation, created_at ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, automation_run_id, path, created_at ]`, `[ automation_id, automation_run_id, status, created_at ]`, `[ automation_id, operation, path, status ]`, `[ automation_id, operation, path, created_at ]`, `[ automation_id, operation, status, created_at ]`, `[ automation_id, path, status, created_at ]`, `[ automation_run_id, operation, path, status ]`, `[ automation_run_id, operation, path, created_at ]`, `[ automation_run_id, operation, status, created_at ]`, `[ automation_run_id, path, status, created_at ]`, `[ operation, path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, created_at ]`, `[ automation_id, automation_run_id, operation, status, created_at ]`, `[ automation_id, automation_run_id, path, status, created_at ]`, `[ automation_id, operation, path, status, created_at ]`, `[ automation_run_id, operation, path, status, created_at ]` or `[ automation_id, automation_run_id, operation, path, status, created_at ]`.
|
|
55
|
+
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ created_at ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_id, created_at ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ automation_run_id, created_at ]`, `[ operation, path ]`, `[ operation, status ]`, `[ operation, created_at ]`, `[ path, status ]`, `[ path, created_at ]`, `[ status, created_at ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, automation_run_id, created_at ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, operation, created_at ]`, `[ automation_id, path, status ]`, `[ automation_id, path, created_at ]`, `[ automation_id, status, created_at ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, operation, created_at ]`, `[ automation_run_id, path, status ]`, `[ automation_run_id, path, created_at ]`, `[ automation_run_id, status, created_at ]`, `[ operation, path, status ]`, `[ operation, path, created_at ]`, `[ operation, status, created_at ]`, `[ path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, operation, created_at ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, automation_run_id, path, created_at ]`, `[ automation_id, automation_run_id, status, created_at ]`, `[ automation_id, operation, path, status ]`, `[ automation_id, operation, path, created_at ]`, `[ automation_id, operation, status, created_at ]`, `[ automation_id, path, status, created_at ]`, `[ automation_run_id, operation, path, status ]`, `[ automation_run_id, operation, path, created_at ]`, `[ automation_run_id, operation, status, created_at ]`, `[ automation_run_id, path, status, created_at ]`, `[ operation, path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, created_at ]`, `[ automation_id, automation_run_id, operation, status, created_at ]`, `[ automation_id, automation_run_id, path, status, created_at ]`, `[ automation_id, operation, path, status, created_at ]`, `[ automation_run_id, operation, path, status, created_at ]` or `[ automation_id, automation_run_id, operation, path, status, created_at ]`.
|
|
56
|
+
# filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ created_at ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_id, created_at ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ automation_run_id, created_at ]`, `[ operation, path ]`, `[ operation, status ]`, `[ operation, created_at ]`, `[ path, status ]`, `[ path, created_at ]`, `[ status, created_at ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, automation_run_id, created_at ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, operation, created_at ]`, `[ automation_id, path, status ]`, `[ automation_id, path, created_at ]`, `[ automation_id, status, created_at ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, operation, created_at ]`, `[ automation_run_id, path, status ]`, `[ automation_run_id, path, created_at ]`, `[ automation_run_id, status, created_at ]`, `[ operation, path, status ]`, `[ operation, path, created_at ]`, `[ operation, status, created_at ]`, `[ path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, operation, created_at ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, automation_run_id, path, created_at ]`, `[ automation_id, automation_run_id, status, created_at ]`, `[ automation_id, operation, path, status ]`, `[ automation_id, operation, path, created_at ]`, `[ automation_id, operation, status, created_at ]`, `[ automation_id, path, status, created_at ]`, `[ automation_run_id, operation, path, status ]`, `[ automation_run_id, operation, path, created_at ]`, `[ automation_run_id, operation, status, created_at ]`, `[ automation_run_id, path, status, created_at ]`, `[ operation, path, status, created_at ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, created_at ]`, `[ automation_id, automation_run_id, operation, status, created_at ]`, `[ automation_id, automation_run_id, path, status, created_at ]`, `[ automation_id, operation, path, status, created_at ]`, `[ automation_run_id, operation, path, status, created_at ]` or `[ automation_id, automation_run_id, operation, path, status, created_at ]`.
|
|
52
57
|
def list(params=None, options=None):
|
|
53
58
|
if not isinstance(params, dict):
|
|
54
59
|
params = {}
|
|
@@ -60,12 +65,24 @@ def list(params=None, options=None):
|
|
|
60
65
|
raise InvalidParameterError("Bad parameter: per_page must be an int")
|
|
61
66
|
if "filter" in params and not isinstance(params["filter"], dict):
|
|
62
67
|
raise InvalidParameterError("Bad parameter: filter must be an dict")
|
|
68
|
+
if "filter_gt" in params and not isinstance(params["filter_gt"], dict):
|
|
69
|
+
raise InvalidParameterError("Bad parameter: filter_gt must be an dict")
|
|
70
|
+
if "filter_gteq" in params and not isinstance(params["filter_gteq"], dict):
|
|
71
|
+
raise InvalidParameterError(
|
|
72
|
+
"Bad parameter: filter_gteq must be an dict"
|
|
73
|
+
)
|
|
63
74
|
if "filter_prefix" in params and not isinstance(
|
|
64
75
|
params["filter_prefix"], dict
|
|
65
76
|
):
|
|
66
77
|
raise InvalidParameterError(
|
|
67
78
|
"Bad parameter: filter_prefix must be an dict"
|
|
68
79
|
)
|
|
80
|
+
if "filter_lt" in params and not isinstance(params["filter_lt"], dict):
|
|
81
|
+
raise InvalidParameterError("Bad parameter: filter_lt must be an dict")
|
|
82
|
+
if "filter_lteq" in params and not isinstance(params["filter_lteq"], dict):
|
|
83
|
+
raise InvalidParameterError(
|
|
84
|
+
"Bad parameter: filter_lteq must be an dict"
|
|
85
|
+
)
|
|
69
86
|
return ListObj(AutomationLog, "GET", "/automation_logs", params, options)
|
|
70
87
|
|
|
71
88
|
|
files_sdk/models/behavior.py
CHANGED
|
@@ -117,8 +117,7 @@ class Behavior:
|
|
|
117
117
|
# 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.
|
|
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. Valid fields are `behavior`.
|
|
120
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
|
121
|
-
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
|
|
120
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
|
|
122
121
|
def list(params=None, options=None):
|
|
123
122
|
if not isinstance(params, dict):
|
|
124
123
|
params = {}
|
|
@@ -132,12 +131,6 @@ def list(params=None, options=None):
|
|
|
132
131
|
raise InvalidParameterError("Bad parameter: sort_by must be an dict")
|
|
133
132
|
if "filter" in params and not isinstance(params["filter"], dict):
|
|
134
133
|
raise InvalidParameterError("Bad parameter: filter must be an dict")
|
|
135
|
-
if "filter_prefix" in params and not isinstance(
|
|
136
|
-
params["filter_prefix"], dict
|
|
137
|
-
):
|
|
138
|
-
raise InvalidParameterError(
|
|
139
|
-
"Bad parameter: filter_prefix must be an dict"
|
|
140
|
-
)
|
|
141
134
|
return ListObj(Behavior, "GET", "/behaviors", params, options)
|
|
142
135
|
|
|
143
136
|
|
|
@@ -171,8 +164,7 @@ def get(id, params=None, options=None):
|
|
|
171
164
|
# 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.
|
|
172
165
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
173
166
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
|
|
174
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
|
175
|
-
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
|
|
167
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
|
|
176
168
|
# path (required) - string - Path to operate on.
|
|
177
169
|
# ancestor_behaviors - boolean - If `true`, behaviors above this path are shown.
|
|
178
170
|
def list_for(path, params=None, options=None):
|
|
@@ -189,12 +181,6 @@ def list_for(path, params=None, options=None):
|
|
|
189
181
|
raise InvalidParameterError("Bad parameter: sort_by must be an dict")
|
|
190
182
|
if "filter" in params and not isinstance(params["filter"], dict):
|
|
191
183
|
raise InvalidParameterError("Bad parameter: filter must be an dict")
|
|
192
|
-
if "filter_prefix" in params and not isinstance(
|
|
193
|
-
params["filter_prefix"], dict
|
|
194
|
-
):
|
|
195
|
-
raise InvalidParameterError(
|
|
196
|
-
"Bad parameter: filter_prefix must be an dict"
|
|
197
|
-
)
|
|
198
184
|
if "path" in params and not isinstance(params["path"], str):
|
|
199
185
|
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
200
186
|
if "ancestor_behaviors" in params and not isinstance(
|
files_sdk/models/bundle.py
CHANGED
|
@@ -264,7 +264,7 @@ class Bundle:
|
|
|
264
264
|
# 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.
|
|
265
265
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
266
266
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
267
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
267
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
|
|
268
268
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
269
269
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
270
270
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -16,6 +16,10 @@ class BundleAction:
|
|
|
16
16
|
"destination": None, # string - The destination path for this bundle action, if applicable
|
|
17
17
|
"path": None, # string - Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
|
18
18
|
"source": None, # string - The source path for this bundle action, if applicable
|
|
19
|
+
"bundle_registration_id": None, # int64 - Identifier of the associated bundle registration
|
|
20
|
+
"bundle_registration_name": None, # string - Name of the registrant who performed the action
|
|
21
|
+
"bundle_registration_email": None, # string - Email of the registrant
|
|
22
|
+
"bundle_registration_ip": None, # string - IP address of the registrant
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
def __init__(self, attributes=None, options=None):
|
|
@@ -45,7 +49,7 @@ class BundleAction:
|
|
|
45
49
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
46
50
|
# 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.
|
|
47
51
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
48
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
52
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `bundle_registration_id`.
|
|
49
53
|
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `bundle_id` or `bundle_registration_id`. Valid field combinations are `[ bundle_id, created_at ]`, `[ bundle_registration_id, created_at ]`, `[ bundle_id, bundle_registration_id ]` or `[ bundle_id, bundle_registration_id, created_at ]`.
|
|
50
54
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
51
55
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
@@ -52,7 +52,7 @@ class BundleRegistration:
|
|
|
52
52
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
53
53
|
# 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.
|
|
54
54
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
55
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
|
|
55
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id` and `created_at`.
|
|
56
56
|
# bundle_id - int64 - ID of the associated Bundle
|
|
57
57
|
def list(params=None, options=None):
|
|
58
58
|
if not isinstance(params, dict):
|