Restore

POST /external-services/{id}/restore

Changed on

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idinteger required

External service id (source for the restore)

Request body

OR
OR

Response

Restore run started

cancel_requested_atstring nullable

When cancellation was requested, if it was.

cancellableboolean required

Whether POST /restore-runs/{id}/cancel would be accepted now.

created_atstring required
error_messagestring nullable
finished_atstring nullable
idinteger required
modestring required
not_cancellable_reasonstring nullable

Why the run cannot be cancelled now; None when cancellable.

phasestring required
recovery_targetunknown
source_backup_idinteger nullable
source_service_idinteger required
started_atstring nullable
statusstring required
target_service_idinteger nullable
target_service_namestring nullable

Changes

    • breaking

      the response property source_backup_id became nullable for the status

    • breaking

      the response property source_backup_id became optional for the status

    • breaking

      removed the required property extensions from the response with the status

    4 more changes in this revision