Listing all registered tasks
Format
| Method | GET |
|---|---|
| URL | /tasks |
| Parameters | Since 3.1: optional parameter "format=list" is accepted |
| Successful answer | Array dictionary for every Task type Since 3.1 if the optional parameter format=list is passed, an array of Task Objects is returned |
| Non-successful answer | ErrorMessage Object |
| Unexpected error | HTTP 500 |
JSON example with format=list
[
{
"task_id": ...,
"task_type": ...,
"task_type_str": ...,
"state": ...,
"result": ...,
"result_msg": ...,
"when": ...,
"execution": ...
}, ...
]
JSON example without format=list
{
"volume_delete": [],
"host_delete": [],
"image_release": [],
"dpolicy_delete": [],
"dpolicy_create": [],
"volume_create": [],
"dstorage_create": [],
"dstorage_modify": [],
"guest_import": [],
"pool_create": [],
"tpolicy_create": [],
"image_delete": [],
"mstorage_create": [],
"tpolicy_modify": [],
"release_disk": [],
"guest_copy": [],
"mstorage_modify": [],
"tpolicy_action": [],
"guest_clone": [],
"pool_modify": [],
"guest_export": [],
"tpolicy_delete": [],
"pool_delete": [],
"pool_action": [],
"istorage_create": [],
"guest_change_iso": [],
"istorage_delete": [],
"evolume_delete": [],
"mstorage_delete": [],
"guest_action": [],
"istorage_modify": [],
"guest_migrate": [],
"host_modify": [],
"guest_delete": [],
"host_action": [],
"guest_insert_tools": [],
"guest_create": [],
"guest_modify": [],
"dpolicy_modify": [],
"dstorage_delete": [],
"image_create": [],
"evolume_create": [],
"image_copy": []
}
, multiple selections available,