Retrieve task details
Description
Retrieves detailed information about the specified task.
Request
Header
Accept: application/xml
X-Auth-Token: Keystone token
Method
GET
Path
/tasks/taskId
Query
n/a
Body
n/a
Response
Status code
200 OK
Body
<task>
<id>taskId</id>
<status>status</status>
<progress>progressStatus</progress>
<starttime>startTime</starttime>
<endtime>endTime</endtime>
<error>
<code>msgId</code>
<message>msgBody</message>
<arg>arg1</arg>
<arg>arg2</arg>
...
<cause>
<product>relatedProdName</product>
<resource_name>linkedProdResourceName</resource_name>
<request>inforRequestedForRelatedProd</request>
<message>returnInfoOfRelatedProd</message>
</cause>
</error>
</task>
Note: The error tag is only displayed if an error occurs.
Item | Description | Details |
---|---|---|
taskId | ID for identifying the task | ID format |
status | Status of the task | waiting, running, completed, error, cancelled |
progressStatus | Progress status (%) of the task | Number from 0 to 100 |
startTime | Start time of the task (local time) | YYYY-MM-DD hh:mm:ss±hh:mm |
endTime | End time of the task (local time) | YYYY-MM-DD hh:mm:ss±hh:mm |
Refer to "HTTP response" for details on the other elements.