Get Task Info
Retrieve the task information.
Request
URI
GET
https://{api_host}/tasks/{task_id}
COPY
Path Parameters
string
task_id
Required
The ID of a task.
Responses
200
Information about the task.
Returns TaskDrResponseEntity of type(s) application/json
This response body class contains all of the following: Task
{
"id": "string",
"description": "string",
"type": "string",
"status": "string",
"error": {
"cause": {
"stack_trace": [
{
"class_loader_name": "string",
"module_name": "string",
"module_version": "string",
"method_name": "string",
"file_name": "string",
"line_number": 0,
"class_name": "string",
"native_method": false
}
],
"message": "string",
"suppressed": [
{
"stack_trace": [
{
"class_loader_name": "string",
"module_name": "string",
"module_version": "string",
"method_name": "string",
"file_name": "string",
"line_number": 0,
"class_name": "string",
"native_method": false
}
],
"message": "string",
"localized_message": "string"
}
],
"localized_message": "string"
},
"stack_trace": [
{
"class_loader_name": "string",
"module_name": "string",
"module_version": "string",
"method_name": "string",
"file_name": "string",
"line_number": 0,
"class_name": "string",
"native_method": false
}
],
"message": "string",
"suppressed": [
{
"stack_trace": [
{
"class_loader_name": "string",
"module_name": "string",
"module_version": "string",
"method_name": "string",
"file_name": "string",
"line_number": 0,
"class_name": "string",
"native_method": false
}
],
"message": "string",
"localized_message": "string"
}
],
"localized_message": "string"
},
"progress": 0,
"start_time": "string",
"complete_time": "string",
"_meta": {
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}
}
400
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
Returns ResponseError of type(s) application/json
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
string
error_code
Optional
error_code
string
message
Optional
message
string As uuid As uuid
op_id
Optional
op_id
401
Unauthorized - the client must authenticate itself to get the requested response
Operation doesn't return any data structure
403
Forbidden - not sufficient access rights to fulfill the request
Returns ResponseError of type(s) application/json
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
string
error_code
Optional
error_code
string
message
Optional
message
string As uuid As uuid
op_id
Optional
op_id
404
Not Found - server cannot find the requested in URL resource
Operation doesn't return any data structure
500
Internal server error - unexpected condition prevents fulfilling the request
Returns ResponseError of type(s) application/json
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
string
error_code
Optional
error_code
string
message
Optional
message
string As uuid As uuid
op_id
Optional
op_id