Retrieve tasks requiring feedback for departments where the current user is a supervisor. Returns empty list if user is not a supervisor.
Query parameters
-
Filter tasks on given project ID
-
Filter tasks on given task type ID
-
Filter tasks on given task status ID
-
Filter tasks assigned to given person ID (comma separated list allowed)
-
Filter tasks on given episode ID
-
Filter tasks with a due date posterior to given date
-
Filter tasks with a due date anterior to given date
-
Sort tasks on given criterion
Values are
priority,due_date,entity_name, orestimation. -
Page number. Enables the pagination envelope response
-
Number of tasks per page
Default value is
100.
GET
/data/user/tasks-to-check
curl
curl -X GET "http://api.example.com/data/user/tasks-to-check" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
import requests
url = "http://api.example.com/data/user/tasks-to-check"
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
params = {}
payload = None
response = requests.get(
url,
headers=headers,
params=params,
json=payload
)
response.raise_for_status()
if response.content:
print(response.json())
curl \
--request GET 'http://api.example.com/data/user/tasks-to-check' \
--header "Authorization: $API_KEY"
Response examples (200)
Array-1
[
{
"id": "b35b7fb5-df86-5776-b181-68564193d36",
"name": "Review",
"task_type_id": "c46c8gc6-eg97-6887-c292-79675204e47",
"task_status_id": "d57d9hd7-fh08-7998-d403-80786315f58",
"assigner_id": "e68e0ie8-gi19-8009-e514-91897426g69",
"assignees": [
"f79f1jf9-hj20-9010-f625-a09008537h80"
],
"created_at": "2023-01-01T12:00:00Z",
"updated_at": "2023-01-01T12:30:00Z"
}
]
{
"data": [
{}
],
"stats": {
"total": 42,
"total_duration": 42,
"total_estimation": 42
},
"page": 42,
"limit": 42,
"is_more": true
}