GET /v2/recovery-points
Returns an array with a list of existing recovery points.
{
"success":true,
"recovery_points": [
{
"id": "$image_id",
"label": "$image_label",
"size": $image_size,
"cost_per_hour": $image_cost,
"owner": {
"id": "$owner_id",
"name": "$owner_name"
},
"storage_volume": {
"id": "$volume_id",
"size": "$volume_size",
"label": "$volume_label",
"type": "$volume_type",
"system_disk": $volume_system,
// jeśli shared_disk jest równy false to
// pole 'virtual_machine' będzie istniało jeżeli
// dysk jest podłączony do wirtualnej maszyny
"shared_disk": $shared_disk,
"virtual_machine": {
"id": "$vm_id",
"label": "$vm_label",
"attach_time": "$attach_time"
}
// jeśli shared_disk jest równy true to
// pole 'virtual_machines' będzie istniało jeżeli dysk
// jest podłączony do co najmniej jednej wirtualnej maszyny
"shared_disk": $shared_disk, //jesli = true
"virtual_machines": [{
"id": "$vm_id",
"label": "$vm_label",
"attach_time": "$attach_time",
},
{ ... },
{
"id": "$vm_id",
"label": "$vm_label",
"attach_time": "$attach_time"
}
]
}
}
]
}
PUT /v2/recovery-points
{
"storage_volume_id": $volume_id,
"label": $image_label
}
{
"success":true,
"recovery_point": {
"id": $image_id
}
}
DELETE /v2/recovery-points/$IMAGE_ID
Deletes the recovery point with $IMAGE_ID
.
{
"success":true
}