Skip to main content

Claim the next move (ClaimNextMove)

POST 

/moves/claims

Pull dispatch: the system, never the caller, picks the REQUESTED HOSTLER move of the site with the lowest priority band, then the earliest dueBy, then the oldest request, and leases it to the hostler for the site's leaseSeconds. The trailer leaves its place (StartMoving). A hostler holds at most one CLAIMED move (409 hostler-busy). 404 no-claimable-move when nothing waits.

Request​

Responses​

The claimed move.

Response Headers
    Idempotency-Replayed

    Present, with the value true, only when the answer is a replay of the stored answer of an earlier request with the same Idempotency-Key (a success or a refusal that cannot change; a refusal the same request could pass later is never stored).