Getting a list of user tasks
Request
POST /pub/v1/tasks/list/of/{id}
Path parameters
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| id | uuid | User ID |
Required |
Request body
The resource sent in the request body is Getting a list of user tasks — Request. It contains the following writable properties:
{
"closed": "boolean",
"filter": {
"<key>": {}
},
"from": "int64",
"size": "int64",
"sortExpressions": [
{
"ascending": "boolean",
"field": "string"
}
]
}
Properties
| Name | Type | Description | Additional |
|---|---|---|---|
| closed | boolean |
Show completed tasks |
Optional |
| filter | object |
Filtering |
Optional |
| filter.<key> | map of object | Optional | |
| from | int64 |
Return starting from item |
Optional |
| size | int64 |
Number of returned items (10000 max) |
Optional |
| sortExpressions[] | array |
Sorting rules |
Optional |
| sortExpressions[].ascending | boolean |
Ascending sorting order flag |
Optional |
| sortExpressions[].field | string |
Sort field |
Optional |
Authorization
This request requires the use of one of following authorisation methods:
API key
Response
The following HTTP status codes may be returned:
| Status code | Description | Resource |
|---|---|---|
| 200 | OK Task list model |
Task list model (Getting a list of user tasks) |
| 400 | Bad Request Invalid request parameters |
|
| 403 | Forbidden Insufficient permissions to view the user's tasks |