GET /backend/operations/{operation_id}
Read a database operation
Read a migration or backup operation. Use when a migration or backup was queued. Before: apply_migrations (needs database create access). Returns the operation with its status and error code. Scope: database:read.
API key (Bearer), on the public API endpoint.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
operation_id | path | string · required | Operation id. |
Responses
| Status | Description | Body |
|---|---|---|
2XX | Success: the JSON body the route returns (see the description for its fields). | object |
401 | Key missing or invalid | Error |
4XX | Refused: act on detail.code, then follow detail.next_action (404 not_found while the service is not open to the account). | Error |
Examples
curl
curl -X GET "$GALON_API_BASE/backend/operations/<operation_id>" \
-H "Authorization: Bearer $GALON_API_KEY"