Get Snapshot
Get Snapshot on the NodeRings client API (GET /v1/virtual-machines/{vmId}/snapshots/{snapshotId}).
Authorization<token>
Bearer token
In: header
X-Organization-ID<token>
Tenant or organization identifier
In: header
Path Parameters
vmIdstring
snapshotIdstring
Response Body
application/json
curl -X GET "https://api.noderings.com/v1/virtual-machines/{vmId}/snapshots/{snapshotId}" \ -H "Authorization: Bearer {your_token}" \ -H "X-Organization-ID: {your_org_id}"{
"snapshot": {
"id": "string",
"name": "string",
"snapshotId": "string",
"virtualMachineId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"snapshotStatus": "SNAPSHOT_STATUS_UNSPECIFIED",
"restoreStatus": "RESTORE_STATUS_UNSPECIFIED",
"operationStatus": "SNAPSHOT_OPERATION_STATUS_UNSPECIFIED",
"restoredAt": "2019-08-24T14:15:22Z",
"description": "string",
"lastRestore": {
"snapshotName": "string",
"restoredAt": "2019-08-24T14:15:22Z",
"restoredBy": "string"
},
"metadata": {},
"status": "STATUS_UNSPECIFIED",
"timestamps": {
"createTime": "2019-08-24T14:15:22Z",
"updateTime": "2019-08-24T14:15:22Z"
}
}
}