Addons /
List addon backup restores
Required permission
Project > Addons > General > Read
Path parameters
projectId
string requiredID of the project
addonId
string requiredID of the addon
backupId
string requiredID of the backup
Query parameters
per_page
integerThe number of results to display per request. Maximum of 100 results per page.
page
integerThe page number to access.
cursor
stringThe cursor returned from the previous page of results, used to request the next page.
Response body
- {object}
Response object.
data
{object} requiredResult data.
restores
[array]A list of backup restores.
- {object}
id
integer requiredId of the restore, unix millis.
restoreTimestamp
string requiredThe time the backup was initiated.
status
string requiredThe current status of the restore.
one ofscheduled, in-progress, completed, aborting, aborted, failed, not-supportedcompletedAt
stringThe time the restore was completed.
pagination
{object} requiredData about the endpoint pagination.
hasNextPage
boolean requiredIs there another page of results available?
cursor
stringThe cursor to access the next page of results.
count
number requiredThe number of results returned by this request.
GET /v1/projects/{projectId}/addons/{addonId}/backups/{backupId}/restores
Example response
200 OK
JSON
{
"data": {
"restores": [
{
"id": 1693287033325,
"restoreTimestamp": "2021-01-20T11:19:54.494Z",
"status": "completed",
"completedAt": "2021-01-20T11:19:54.494Z"
}
]
},
"pagination": {
"hasNextPage": false,
"count": 1
}
}