Skip to content
Coritan Docs

Client API: Cloud Compute: Rescue

The 3 Client API operations for rescue.

View as Markdown

Part of Cloud Compute.

Method Path Summary
POST /api/v1/client/vps/{uuid}/rescue/enter Restart the instance from a rescue image, or from one of the account's ISOs
POST /api/v1/client/vps/{uuid}/rescue/exit Rescue exit
GET /api/v1/client/vps/{uuid}/rescue/media The rescue images the instance can start from, the default first

Restart the instance from a rescue image, or from one of the account's ISOs

Section titled Restart the instance from a rescue image, or from one of the account's ISOs

POST /api/v1/client/vps/{uuid}/rescue/enter

Restart the instance from a rescue image, or from one of the account's ISOs.

iso_volid is a volid from GET rescue/media; custom_image_uuid is one of the account's ready ISO images. With neither, or with no body, the default rescue image is used (the first in that list). 422 names the images on offer for a volume that is not one of them, 409 when the instance is already in rescue, 503 when there is no rescue image to start from yet, and 502 when the instance did not start from it (it is then started from its own disk again).

Authentication: an access token, sent as Authorization: Bearer <token>.

Name In Type Required
uuid path string yes

application/json

Field Type Required
iso_volid string or null no
custom_image_uuid string or null no
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/client/vps/{uuid}/rescue/exit

Authentication: an access token, sent as Authorization: Bearer <token>.

Name In Type Required
uuid path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

The rescue images the instance can start from, the default first

Section titled The rescue images the instance can start from, the default first

GET /api/v1/client/vps/{uuid}/rescue/media

The rescue images the instance can start from, the default first.

Each has volid, name, storage, size, format and default. The platform's rescue system is listed whether or not the instance's host has fetched it yet. An empty list means rescue cannot be offered right now.

Authentication: an access token, sent as Authorization: Bearer <token>.

Name In Type Required
uuid path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.