Set what a task waits on
Say which tasks must be done before this one: the whole list, by asset id or by number (T-12). The task is not ready, and cannot be claimed, while one of them is still open. Each must be a task of the same workspace the caller can open, never the task itself and never one that already waits on it; at most 50. A task it already waits on that the caller cannot open stays. Needs edit access.
Authentication
Path parameters
Headers
Request
The tasks that must be done before this one, each by its asset id or its number in the task’s workspace (T-12). It replaces the list (an empty list clears it), but a task it waits on that the caller cannot open stays. Each must be a task of the same workspace the caller can open, never the task itself or one that already waits on it; at most 50.
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.
