Skip to main content

Run the lease-expiry sweep (ExpireLease)

POST 

/move-lease-sweeps

Returns every CLAIMED HOSTLER move whose lease ran out to REQUESTED and the trailer to where it was (ReturnToOrigin). Naturally idempotent; run by a CronJob. A move that another request changed meanwhile is skipped (the next sweep sees it), so the sweep never answers 409 concurrent-modification.

Request​

Responses​

The sweep result.

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).