GET /tasks
Returns a list of tasks.
Address: GET https://instance_name/api/data/v1.3/tasks/
Content-type: application/json
Request body parameters
limit
integer
Number of results to return per page.
offset
integer
The initial index from which to return the results.
Request example
curl –i –X GET
https://test.inspector-cloud.com/api/data/v1.3/tasks/
-H ‘Authorization: Token <<your_token>>’
Response example
Response code: 200
{
"count": 45,
"next": null,
"previous": "https://test.inspector-cloud.com/api/data/tasks/?limit=30&offset=30",
"results": [
{
"id": 111,
"name": "Кофе домашняя полка",
"short_description": null,
"long_description": "",
"is_enabled": true,
"is_required": false
},
{
"id": 125,
"name": "Required photo task",
"short_description": "I am a task, you know what to do",
"long_description": "Enjoy sea reveal brother fall owner. Speak pass heart she.\r\nCut piece purpose free opportunity around. Writer whether central improve point personal service. Only western physical another.",
"is_enabled": false,
"is_required": false
},
{
"id": 152,
"name": "Required task",
"short_description": "I am a task, you know what to do",
"long_description": "Response school trial western. Ago phone develop. Attorney former management form time gas.\r\nRace this better perhaps child. Together many customer national without common your.",
"is_enabled": false,
"is_required": true
}
...
]
}
Response definitions
count
integer
next
string (uri) Nullable
Next page.
previous
string (uri) Nullable
Previous page.
results
Array of objects
Required. Array of objects with information about task.
id
integer
Task ID.
name
string [ 1 .. 255 ] characters
short_description
string <= 255 characters
Nullable
Task short description.
long_description
string Nullable
Task full description.
is_enabled
boolean
is_required
boolean