Skip to navigation

Give a task back

Beta

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

X-API-KEYstring
API Key authentication via header

Path parameters

asset_idstringRequired
The task's asset id.

Headers

X-Athena-Session-CredentialstringOptional

Query parameters

workerstring or nullOptionalformat: "^[A-Za-z0-9._-]+$"1-64 characters

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 task as it now stands, read as the caller.
assigneeobject or null
Who it is for, or null for nobody.
blocked_bylist of strings

The ids of the tasks that must be done before this one: those the caller can open.

can_editboolean or null

Whether the caller may change it; null in a list.

claimobject or null

Who is working on it now; null when nobody is, and once the lease ran out.

completed_atdatetime or null
When it was marked done.
completed_by_refstring or null
Who marked it done.
completion_notestring or null
What the work produced, left when it was marked done.
completion_reasonenum or null

Why it is done (completed or not_planned); null while open.

Allowed values:
created_atdatetime or null
created_bystring or null
The user who created it.
descriptionstring or null
Markdown.
due_datestring or null

YYYY-MM-DD, or null.

due_timestring or null

HH:MM (24-hour), or null.

due_time_zonestring or null

The IANA time zone of due_time.

external_refslist of objects

The items kept elsewhere it is linked to (a pull request, an issue, a thread), each with what its system last said.

hidden_blockersinteger
How many more tasks it waits on that the caller can't open.
holdobject or null

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.

idstring
The task's asset id.
is_archivedboolean
Whether it is in the trash.
is_blockedboolean
Whether a task it waits on is still open, counting the ones the caller can't open.
is_readyboolean

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.

labelslist of objects
numberinteger or null

Its number in its workspace (1, 2, 3, …), shown as T-<n>; null for a task written before tasks were numbered.

parentobject or null

The task it is a sub-task of, read through that task’s own gate; null when it is no sub-task.

priorityenum
Allowed values:
statusenum
Allowed values:
subtask_progressobject

How many of its sub-tasks the caller can open are done, of how many.

titlestring
updated_atdatetime or null
workspace_idstring

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
503
Service Unavailable Error