v4
latestSwagger 2.02026-08-0343714211.7 MBrestores
Restores
List Restores
List Restores
get/restores
Query parameters
cursorstring
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.
per_pageinteger
Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
If set, sort records by the specified field in either asc or desc direction. Valid fields are workspace_id.
If set, return records where the specified field is equal to the supplied value. Valid fields are restoration_type.
Response
A list of Restores objects.
Example response
[
{
"earliest_date": "2000-01-01T01:00:00Z",
"id": 1,
"dirs_restored": 1,
"dirs_total": 1,
"files_restored": 1,
"files_total": 1,
"prefix": "foo/bar/baz.txt",
"restoration_type": "files",
"restore_in_place": true,
"restore_deleted_permissions": true,
"users_restored": 1,
"users_total": 1,
"api_keys_restored": 1,
"public_keys_restored": 1,
"two_factor_authentication_methods_restored": 1,
"status": "pending",
"update_timestamps": true,
"workspace_id": 12,
"error_messages": [
"example"
]
}
]