DeluxHostAPI Reference
Storage Boxes

List storage snapshots

GET
/v1/services/{id}/storage/snapshots

included says whether the plan has snapshots, supported whether the node can take them. Snapshot space counts against the box quota.

Authorization

apiToken storage:read
headerAuthorizationBearer <token>

A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.

Scope: storage:read

Path Parameters

id*integer

The service id, as returned by GET /v1/services.

Response Body

Snapshots, oldest first.

application/json
  1. response
supported*boolean
included*boolean
limit*integer
usedBytes*integer
items*array<>
schedule*
curl -X GET 'https://api.deluxhost.net/v1/services/0/storage/snapshots' \  -H "Authorization: Bearer $DELUXHOST_TOKEN"
Example Response
{  "supported": true,  "included": true,  "limit": 0,  "usedBytes": 0,  "items": [    {      "name": "string",      "kind": "manual",      "label": "string",      "createdAt": "2019-08-24T14:15:22Z",      "usedBytes": 0,      "referencedBytes": 0    }  ],  "schedule": {    "frequency": "off",    "keep": 0,    "lastRunAt": "2019-08-24T14:15:22Z"  }}