v1

latestSwagger 2.02026-08-04232286653.5 KB
Snapshots

Returns details for a single disk snapshot in the project.

Size of snapshot will be in bytes.

get/projects/{project_id}/storage/snapshots/{snapshot_id}

Path parameters

project_idstring required

ID of the project that owns the disk snapshot.

snapshot_idstring required

ID of the disk snapshot.

Response

block_sizeinteger required

Block size of the disk snapshot, in bytes: 512 or 4096.

created_atstring required

Creation timestamp of the disk snapshot, in RFC3339 format.

created_fromstring required

ID of the disk the snapshot was created from.

idstring required

ID of the disk snapshot.

namestring

Name of the disk snapshot.

sizestring required

Size of the disk snapshot, in bytes.

updated_atstring required

Last update timestamp of the disk snapshot, in RFC3339 format.

Example response

{
  "block_size": 4096,
  "created_at": "2021-12-03T19:58:34Z",
  "created_from": "123e4567-e89b-12d3-a456-426614174000",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "my-snapshot",
  "size": "10457 bytes",
  "updated_at": "2021-12-03T19:58:34Z"
}