Get Baremetal Task Status
Returns the baremetal task status
Task ID for which task status is requested.
OK
{
"_create_time": 0,
"_last_modified_time": 0,
"id": "string",
"display_name": "string",
"description": "string",
"activity_status_msg": "string",
"_completed_at": 0,
"task_type": "string",
"task_status": "string",
"baremetalserver_task_info": [
{
"_create_time": 0,
"_last_modified_time": 0,
"id": "string",
"display_name": "string",
"description": "string",
"activity_status_msg": "string",
"_completed_at": 0,
"server_task_status": "string"
}
]
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Error response on API failure.
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -H 'Authorization: <value>' https://{api_host}/baremetal/tasks/{task-id}