Work
Get the status of asynchronous work.
Get
GET
https://api.halosecurity.com/api/v1/work/get.json
Parameters
Response
{
"success":1,
"work":{
"id":"UUID",
"complete":0,
"state":"in-progress",
"duration":5000,
"date_created":"2024-09-23 01:00"
}
}
{
"success":1,
"work":{
"id":"UUID",
"complete":1,
"state":"success",
"duration":60000,
"date_created":"2024-09-23 01:01"
}
}