Extend the active lease held by the claiming station
POST/tasks/:id/lease-renewals
Pushes out a task's lease expiry so a station still actively working it doesn't lose the claim to the automatic expiry sweep (POST /task-lease-expirations). Only the station that currently owns the claim may renew it. Idempotent in effect: repeated calls simply keep extending the same lease.
Request
Responses
- 204
- 400
- 404
- 409
- 500
Lease renewed. No response body.
Response Headers
Present, with the value true, ONLY when this answer is the stored replay of an earlier request that used the same Idempotency-Key (the handler did not run again). The first execution never carries it.
The Idempotency-Key header is missing (idempotency-key-required) or not 1-128 printable ASCII characters (idempotency-key-invalid) on a POST, or the request body could not be read or contains a NUL character (malformed-request-body), or the request body is malformed JSON, a required field is missing or empty, or a field value is invalid (e.g. a task type outside the TaskType enum).
No task exists with this id.
The task has no active claim to renew (never claimed, its lease already expired, or it was already completed), or stationId does not own the active claim. The same Idempotency-Key reused with a different method, path or body is also a 409, problem type idempotency-key-reused.
An unexpected server-side failure (e.g. a repository or event-publisher error).