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, on every member of the gateway, whichever carried the request: the journal is the stream’s. Another caller’s key, an unknown one, or one past the journal window is 404 UNKNOWN_OPERATION.

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.

Headers

X-Request-IdstringOptional

Your own id for the request: 8 to 128 of [A-Za-z0-9._-]. It becomes the request’s id and is echoed on the response. A value off that grammar is replaced with a fresh id, never refused.

Query parameters

minGlobalSequencestringOptionalformat: "^[0-9]{1,19}$"

A position you hold — an X-Immix-Global-Sequence you read, or a 202’s commandGlobalSequence: this member answers only once it has folded the platform’s stream through it, waiting up to its deadline, then 503 PROJECTION_BEHIND with Retry-After. Within that stream a read is never older than what you have seen; drop your positions after an announced stream cut. A retry stating its 202’s position attaches to or replays that operation while the journal holds its key, never publishing twice. Stated once: one to nineteen digits, at most 9223372036854775807; else 400 MALFORMED_REQUEST.

Response

The journaled operation.
keystring

The Idempotency-Key as you sent it.

phaseenum
Allowed values:
originobject

The gateway member and instance that sequenced the command — any member’s: the journal is built from the stream, so every member serves the record.

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