Restores
Cedana API for restores
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
restore_uuidstring · nullableOptional
statusstring · nullableOptional
workload_typestring · nullableOptional
cluster_idstring · nullableOptional
checkpoint_idstring · nullableOptional
action_idstring · nullableOptional
action_scopestring · nullableOptional
limitinteger · nullableOptional
Cap on rows (newest first). Omitted = all rows; failed restores carry their
whole CRIU log in error_message, so an unbounded list can hit megabytes.
Responses
200
Restore records
application/json
itemsanyOptional
500
Database error
application/json
4XX
Client error
application/json
5XX
Server error
application/json
get/v1/restores
GET /v1/restores HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[]get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
Restore row ID
Responses
200
Restore record
application/json
anyOptional
404
Restore not found
application/json
500
Database error
application/json
4XX
Client error
application/json
5XX
Server error
application/json
get/v1/restores/{id}
GET /v1/restores/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
restore_uuidstring · uuidRequired
Restore UUID
Body
anyOptional
Responses
200
Restore profile stored
application/json
profile_object_pathstring · nullableOptional
restore_uuidstring · uuidRequired
400
Invalid restore UUID or profile JSON
application/json
500
Failed to store restore profile
application/json
4XX
Client error
application/json
5XX
Server error
application/json
put/v1/restores/{restore_uuid}/profile
PUT /v1/restores/{restore_uuid}/profile HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
{
"profile_object_path": null,
"restore_uuid": "123e4567-e89b-12d3-a456-426614174000"
}Last updated
Was this helpful?