Give a task back
Give back a task the caller holds, so someone else can claim it. Only the caller’s own claim is dropped: with a worker’s name, the claim that worker made (or one made with no worker named). A task the caller does not hold is answered as it stands, with nothing changed.
Authentication
Path parameters
Headers
Query parameters
Your own name for the worker that is calling (1 to 64 letters, digits, -, _ or .), for when several workers share one API key. A claim made with a name is that worker’s: another worker of the same caller is refused the task while the claim is live, and only the same name renews it or gives it back. Left out, the call is the caller’s own, as from the app. The name is yours to choose and grants nothing.
Response
The ids of the tasks that must be done before this one: those the caller can open.
Whether the caller may change it; null in a list.
Who is working on it now; null when nobody is, and once the lease ran out.
Why it is done (completed or not_planned); null while open.
YYYY-MM-DD, or null.
HH:MM (24-hour), or null.
The IANA time zone of due_time.
The items kept elsewhere it is linked to (a pull request, an issue, a thread), each with what its system last said.
Why it waits on a person; null when it doesn’t. A held task is not ready and can’t be claimed until the hold is lifted.
Whether it can be worked on now: open, not in the trash, nobody working on it, not held for a person and waiting on no open task. It says nothing of who may take it: a task assigned to someone is theirs alone to claim.
Its number in its workspace (1, 2, 3, …), shown as T-<n>; null for a task written before tasks were numbered.
The task it is a sub-task of, read through that task’s own gate; null when it is no sub-task.
How many of its sub-tasks the caller can open are done, of how many.
