Skip to navigation

Get an operation

Serves one of your own operations by its Idempotency-Key — the 202 response’s Location — with its phase and, once concluded, the outcome a synchronous caller would have read. Another caller’s key, an unknown one, or a member restarted since is 404 UNKNOWN_OPERATION: poll the member that carried the request.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

keystringRequired

The operation's Idempotency-Key, as sent.

Response

The journaled operation.
keystring

The Idempotency-Key as you sent it.

phaseenum
Allowed values:
originobject

The gateway member and instance that carried the request — the journal is member-local.

createdTimestampNsstringformat: "^-?[0-9]+$"
When the operation was journaled, epoch nanoseconds.
commandGlobalSequencestringOptionalformat: "^-?[0-9]+$"

The command's position once committed; absent while pending.

concludedTimestampNsstringOptionalformat: "^-?[0-9]+$"

When the answer landed, epoch nanoseconds; absent until concluded.

outcomeobjectOptional

The stored outcome — what a retry of the key replays; absent until concluded.

Errors

400
Get Operations Request Bad Request Error
401
Get Operations Request Unauthorized Error
403
Get Operations Request Forbidden Error
404
Get Operations Request Not Found Error
503
Get Operations Request Service Unavailable Error