Query Task Status
The response code corresponds to the task being successfully retrieved, and not to the asynchoronous operation itself. The status of the asynchronous operation can be viewed in the response body.
Tasks are per cell and remain in memory till the respective appliance nodes is rebooted. This means that tasks that were triggered prior to reboot are lost upon reboot.
ID of task to return
OK
{
"id": "string",
"result": {
"message": "string",
"result": [
"string"
]
},
"startedAt": "string",
"status": "string",
"stoppedAt": "string",
"url": "string"
}
36 character UUID generated for each task.
result
date-time with timezone in ISO-8601 format. For example, 2021-06-08T18:27:30-04:00.
Status of requested action. The values are:
- running
- failed
- stopped
date-time with timezone in ISO-8601 format. null while task is still in progress. Once completed, same format as startedAt field.
URL of request, which includes action.
404 NOT FOUND
curl -H 'Authorization: <value>' https://{api_host}/api/1.0.0/tasks/{task-id}