API
Stacklets
List backups for stacklet

List Backups For a Stacklet

  • Name
    get
    Type
    /v1/stacklets/:id/backups
    Description

    Send a GET request to lists backups of stacklet.

Request

Example

curl -X GET "https://api.simplystack.com/v1/stacklets/24/backups" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0"
 

Response

JSON object with a key named backups which is an array of the following attributes associated with the backup object:

Attributes

See backup model.

Example

{
  "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": {...}
    }
  ]
}