List backups

A VM's backups, newest first, and its last jobs.

GET /v1/tenants/{tenant}/vms/{name}/backups

curl -X GET "https://api.shako.dev/v1/tenants/acme/vms/web1/backups" \
  -H "Authorization: Bearer $SHAKO_API_KEY"

200 (excerpt)

{
  "name": "web1",
  "enabled": true,
  "backup": true,
  "backups": [
    {
      "id": "9f3c1a2e",
      "taken_at": 1793491200,
      "kind": "nightly",
      "added_bytes": 41943040
    }
  ],
  "jobs": []
}

Authenticate with Authorization: Bearer <API key> on https://api.shako.dev. Role: contributor or owner.

Path parameters

tenantstringrequired
The tenant's name, from GET /v1/tenants.
namestringrequired
The VM's name.

Response

200 with the backups object.

The errors. All the endpoints of Backups.