Get Task By Id
List the task by id for configuring OpenStack clusters
Request
URI
GET
https://{api_host}//192.168.111.151:8443/v1/tasks/{taskId}
COPY
Path Parameters
integer
taskId
Required
taskId
Responses
200
OK
Returns TaskRead of type(s) application/json
{
"errorKey": "string",
"errorMessage": "string",
"errorParam": "string",
"failNodes": [
{
"cpuNumber": 0,
"errorMessage": "string",
"ip": "string",
"memory": 0,
"nodeName": "string",
"status": "string",
"succeed": false
}
],
"id": 0,
"progress": "number",
"progressMessage": "string",
"status": "string",
"succeedNodes": [
{
"cpuNumber": 0,
"errorMessage": "string",
"ip": "string",
"memory": 0,
"nodeName": "string",
"status": "string",
"succeed": false
}
],
"target": "string",
"type": "string",
"workDir": "string"
}
string
errorKey
Optional
errorKey
string
errorMessage
Optional
errorMessage
string
errorParam
Optional
errorParam
integer As int64 As int64
id
Optional
id
number As double As double
progress
Optional
progress
string
progressMessage
Optional
progressMessage
string
status
Optional
status
Possible values are : ABANDONED, STARTING, STARTED, STOPPED, STOPPING, COMPLETED, FAILED, UNKNOWN,
string
target
Optional
target
string
type
Optional
type
Possible values are : INNER, DELETE,
string
workDir
Optional
workDir
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
404
Not Found
Operation doesn't return any data structure