API
Snapshots
Retrieve snapshot

Retrieve an Existing Snapshot

  • Name
    get
    Type
    /v1/snapshots/:id
    Description

    Send a GET request to get a snapshot.

Request

Example

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

Response

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

Attributes

See snapshot model.

Example

json
{
  "snapshot": {
    "created_at": "2021-02-07T12:38:51.357354Z",
    "disk_size": 26843545600,
    "id": 11,
    "name": "test-1602074180",
    "regions": [
        'fra'
    ],
    "size": 1270026240,
    "size_gigabytes": 1.2,
    "stacklet": {...},
    "task": null
  }
}