OPNexusdocs

API: restore

GET /api/hosts/{host_id}/restore#

List Operations

Permission hosts.read (look)

Parameters

host_id *pathstring (uuid)

Response 200

GET /api/hosts/{host_id}/restore/{operation_id}#

Get Operation

Permission hosts.read (look)

Parameters

host_id *pathstring (uuid)
operation_id *pathstring (uuid)

Response 200

POST /api/hosts/{host_id}/restore/{operation_id}/cancel#

Cancel

Permission hosts.prepare (prepare)

Parameters

host_id *pathstring (uuid)
operation_id *pathstring (uuid)

Response 200

POST /api/hosts/{host_id}/restore/{operation_id}/confirm#

Confirm

Permission hosts.prepare (prepare)

Parameters

host_id *pathstring (uuid)
operation_id *pathstring (uuid)

Request body Confirm

Show 2 fields
FieldTypeNotes
confirm_name *stringminLength 1, maxLength 120
messagestring | null

Response 200

POST /api/hosts/{host_id}/restore/{operation_id}/handoff#

Handoff

Permission hosts.prepare (prepare)

Parameters

host_id *pathstring (uuid)
operation_id *pathstring (uuid)

Request body Handoff

Show 1 fields
FieldTypeNotes
confirm_name *stringminLength 1, maxLength 120

Response 200

POST /api/hosts/{host_id}/restore/preview#

Preview

Permission hosts.prepare (prepare)

Parameters

host_id *pathstring (uuid)

Request body app__routers__restore__Preview

Show 1 fields
FieldTypeNotes
backup_id *stringminLength 1, maxLength 255

Response 200