Get Tasks
Get tasks as a list. The list can be ordered and filtered, if needed. The result is paginated, returning up to 20 tasks by default.
Number of tasks to be returned. Default: 20
The page index. Default: 1
If filterValue is also specified, list of task keys to use for filtering
If filterKey is also specified, list of task values to use for filtering
The key of the task to sort by
Sort the result ascending. If not defined, resulting tasks will be in chronological order, otherwise alphabetically sorted ascending (true) or descending (false).
If true, the result set will include tasks which are created and run automatically.
List of tasks.
[
{
"id": 0,
"taskType": "string",
"subTasks": {
"subTasks": {
"canBeRestarted": false,
"name": "string",
"status": "string",
"message": {},
"nextSubTasks": {
"nextSubTasks": "string"
},
"ignoreStatus": false,
"checkpointId": 0,
"checkpointFK": 0,
"snapshots": {
"snapshots": "string"
}
}
},
"totalSnapshots": [
"string"
],
"uid": "string",
"metaProps": {
"metaProps": {}
},
"taskRef": 0,
"message": {},
"automatic": false,
"status": "string",
"environmentId": "string",
"nextTaskId": 0,
"taskName": "string",
"next_tasks": [
0
]
}
]
Unauthorized access
[
{
"id": 0,
"taskType": "string",
"subTasks": {
"subTasks": {
"canBeRestarted": false,
"name": "string",
"status": "string",
"message": {},
"nextSubTasks": {
"nextSubTasks": "string"
},
"ignoreStatus": false,
"checkpointId": 0,
"checkpointFK": 0,
"snapshots": {
"snapshots": "string"
}
}
},
"totalSnapshots": [
"string"
],
"uid": "string",
"metaProps": {
"metaProps": {}
},
"taskRef": 0,
"message": {},
"automatic": false,
"status": "string",
"environmentId": "string",
"nextTaskId": 0,
"taskName": "string",
"next_tasks": [
0
]
}
]