NodeRingsDocs

List Backups

List Backups on the NodeRings client API (GET /v1/virtual-machines/{vmId}/backups).

GET
/v1/virtual-machines/{vmId}/backups
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Path Parameters

vmIdstring

Query Parameters

status?string
Value in"BACKUP_STATUS_UNSPECIFIED" | "BACKUP_STATUS_ACTIVE" | "BACKUP_STATUS_DELETED" | "BACKUP_STATUS_EXPIRED" | "BACKUP_STATUS_UNKNOWN"
page?integer
Formatint32
pageSize?integer
Formatint32

Response Body

application/json

curl -X GET "https://api.noderings.com/v1/virtual-machines/{vmId}/backups?status&page&pageSize" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}"
{
  "backups": [
    {
      "id": "string",
      "name": "string",
      "backupId": "string",
      "virtualMachineId": "string",
      "addonId": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "sizeBytes": "string",
      "backupStatus": "BACKUP_STATUS_UNSPECIFIED",
      "restoreStatus": "RESTORE_STATUS_UNSPECIFIED",
      "restoredAt": "2019-08-24T14:15:22Z",
      "operationStatus": "BACKUP_OPERATION_STATUS_UNSPECIFIED",
      "metadata": {},
      "status": "STATUS_UNSPECIFIED",
      "timestamps": {
        "createTime": "2019-08-24T14:15:22Z",
        "updateTime": "2019-08-24T14:15:22Z"
      }
    }
  ],
  "totalCount": 0
}