Get Operations

All requests sent to the /api/v1/videos:process endpoint are asynchronous, with each returning an operation name like:

name:

projects/{project-id}/locations/{location-id}/operations/{operation-id}

This name is used to both identify a specific Redactor project, and to inspect the status of the operation.

When the value of the "done" field is true, the operation is complete and either the response or error will contain additional information.

Responses

Response samples

Content type
application/json
Example
{
  • "name": "projects/0/locations/0/operations/123",
  • "metadata":
    {
    },
  • "done": true,
  • "response":
    {
    }
}