Retrieve block storage snapshot details

GET /block-storage-snapshot/{id}

Path parameters

  • id string(uuid) Required

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • id string(uuid)

      Snapshot ID

    • name string

      Snapshot name

      Minimum length is 1, maximum length is 255.

    • size integer(int64)

      Snapshot size

      Minimum value is 10.

    • volume-size integer(int64)

      Original Volume size

      Minimum value is 0.

    • created-at string(date-time)

      Snapshot creation date

    • state string

      Snapshot state

      Values are partially-destroyed, destroying, creating, created, promoting, error, destroyed, or allocated.

    • labels object

      Resource labels

      Hide labels attributes Show labels attributes
    • Referenced volume

      Hide block-storage-volume attribute Show block-storage-volume attribute
      • id string(uuid)

        Block storage volume ID

GET /block-storage-snapshot/{id}
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/block-storage-snapshot/{id}
Response examples (200)
{
  "id": "string",
  "name": "string",
  "size": 42,
  "volume-size": 42,
  "created-at": "2024-05-04T09:42:00+00:00",
  "state": "partially-destroyed",
  "labels": {
    "key": "string"
  },
  "block-storage-volume": {
    "id": "string"
  }
}