v1

latestSwagger 2.02026-08-04232286653.5 KB
Snapshot Operations

Get status of a single asynchronous operation

This resource retrieves information about the status of an asynchronous operation initiated by the snapshots resource. Only information about the operation specified in the path will be returned, or an HTTP 403 will be returned if the operation does not exist, was not initiated by the logged in user, or has expired.

get/projects/{project_id}/storage/snapshots/operations/{operation_id}

Path parameters

project_idstring required
operation_idstring required

Response

completed_atstring required
metadatastring required
operation_idstring required
resultstring
started_atstring required
state'IN_PROGRESS' | 'SUCCEEDED' | 'FAILED' required

Example response

{
  "completed_at": "2021-12-03T19:59:34Z",
  "metadata": "{}",
  "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
  "result": "{}",
  "started_at": "2021-12-03T19:58:34Z",
  "state": "IN_PROGRESS"
}