Skip to main content

Add a task dependency

POST 

/api/v1/tasks/:task_id/dependencies

Makes the task depend on depends_on_task_id, a task in the same project: the path's task is blocked until that one closes, in any terminal state. The pair is the dependency's identity: adding it again answers 200 with the existing one. An edge that would close a cycle is refused.

Request​

Responses​

The dependency already held; it is returned unchanged