List Backups
- Name
get
- Type
- /v1/backups
- Description
You can get a list of backups associated with your account by sending a
GET
.
Request
Example
cURL
curl -X GET "https://api.simplystack.com/v1/backups" \
-H "Content-Type: application/json" \
-H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0"
Response
JSON object with a key named backups
, the value of the backups will return an array of backups object with the following identifier:
Attributes
Example
json
{
"backups": [
{
"id": 1,
"created_at": "2020-02-13T08:33:25.371494Z",
"task": null,
"disk_size": 20,
"size_gigabytes": 1.2,
"stacklet": {...}
},
{
"id": 2,
"created_at": "2020-03-05T18:37:45.176494Z",
"task": null,
"disk_size": 30,
"size_gigabytes": 2.7,
"stacklet": {...}
}
],
"meta": {
"pagination": {
"current_page": 1,
"next_page": null,
"pages": 1,
"per_page": 25,
"previous_page": null,
"total": 2
},
"query": null,
"sort": null
}
}