API Documentation
TaskDependency ¶
TaskDependency ¶
Supported filter params
-
account_id
-
created_at
-
creator_id
-
dependent_task_id
-
deleted_at
-
id
-
task_id
-
type_id
-
updated_at
-
updater_id
GET /api/v2/task_dependencies
Requests
GET /api/v2/task_dependencies
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": [
{
"id": "1",
"type": "task_dependencies",
"attributes": {
"type_id": 2
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "1940"
}
},
"task": {
"meta": {
"included": false
}
},
"dependent_task": {
"meta": {
"included": false
}
},
"reverse_dependency": {
"meta": {
"included": false
}
}
}
},
{
"id": "2",
"type": "task_dependencies",
"attributes": {
"type_id": 1
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "1940"
}
},
"task": {
"meta": {
"included": false
}
},
"dependent_task": {
"meta": {
"included": false
}
},
"reverse_dependency": {
"meta": {
"included": false
}
}
}
}
],
"links": {
"first": "http://api-test.productive.io/api/v2/task_dependencies?page%5Bnumber%5D=1&page%5Bsize%5D=30",
"last": "http://api-test.productive.io/api/v2/task_dependencies?page%5Bnumber%5D=1&page%5Bsize%5D=30"
},
"meta": {
"current_page": 1,
"total_pages": 1,
"total_count": 2,
"page_size": 30,
"max_page_size": 200
}
}
Get task dependnciesGET/api/v2/task_dependencies
GET /api/v2/task_dependencies/1
Requests
GET /api/v2/task_dependencies/5
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": {
"id": "5",
"type": "task_dependencies",
"attributes": {
"type_id": 1
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "1942"
}
},
"task": {
"meta": {
"included": false
}
},
"dependent_task": {
"meta": {
"included": false
}
},
"reverse_dependency": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}
Gets a task dependencyGET/api/v2/task_dependencies/{id}
URI Parameters
- id
number
(required) Example: 1task dependency id
POST /api/v2/task_dependencies
Requests
POST /api/v2/task_dependencies
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
"data": {
"type": "task_dependencies",
"attributes": {
"task_id": "329",
"dependent_task_id": "330",
"type_id": "1"
}
}
}
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": {
"id": "9",
"type": "task_dependencies",
"attributes": {
"type_id": 1
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "1944"
}
},
"task": {
"meta": {
"included": false
}
},
"dependent_task": {
"meta": {
"included": false
}
},
"reverse_dependency": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}
POST /api/v2/task_dependencies
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
"data": {
"type": "task_dependencies",
"attributes": {
"type_id": "0"
}
}
}
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"errors": [
{
"status": "422",
"code": "invalid_attribute",
"title": "Invalid Attribute",
"detail": "attribute is invalid",
"source": {
"pointer": "data/attributes/task_id"
}
}
]
}
Create a task dependencyPOST/api/v2/task_dependencies
URI Parameters
- task_id
number
(required) Example: 1task id
- dependent_task_id
number
(required) Example: 1dependent task id
- type_id: `1` (number, optional) - type_id
string
(required)
PATCH /api/v2/task_dependencies/
Requests
PATCH /api/v2/task_dependencies/16
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
"data": {
"type": "task_dependencies",
"attributes": {
"type_id": "3"
}
}
}
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"data": {
"id": "16",
"type": "task_dependencies",
"attributes": {
"type_id": 3
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "1947"
}
},
"task": {
"meta": {
"included": false
}
},
"dependent_task": {
"meta": {
"included": false
}
},
"reverse_dependency": {
"meta": {
"included": false
}
}
}
},
"meta": {}
}
PATCH /api/v2/task_dependencies/18
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
"data": {
"type": "task_dependencies",
"attributes": {
"type_id": "0"
}
}
}
Responses
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
"errors": [
{
"status": "422",
"code": "invalid_attribute",
"title": "Invalid Attribute",
"detail": "is not included in the list",
"source": {
"pointer": "data/attributes/type_id"
}
}
]
}
Update a task dependencyPATCH/api/v2/task_dependencies/
URI Parameters
- type_id: `1` (number, required) - type_id
string
(required)
DELETE /api/v2/task_dependencies/1
Requests
DELETE /api/v2/task_dependencies/20
Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses
This response has no content.
Deletes a task dependencyDELETE/api/v2/task_dependencies/{id}
URI Parameters
- id
number
(required) Example: 1task dependency id
Generated by aglio on 02 Aug 2025