Queries the status of an asynchronous task.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
dlf:GetAsyncTaskStatus | get | *All Resource
| None | None |
Request syntax
GET /api/metastore/catalogs/tasks HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
CatalogId | string | No | The catalog ID. | 1344371 |
TaskId | string | No | The ID of the asynchronous task. Obtain this ID from the result of the asynchronous operation. | f546c761570e5efc8146a1986f7890d2 |
Response elements
Element | Type | Description | Example |
object | The response body. | ||
Code | string | The status code. | OK |
Message | string | The returned message. | success |
RequestId | string | The request ID. | B7F4B621-E41E-4C84-B97F-42B5380A32BB |
Success | boolean | Indicates whether the request is successful. Valid values:
| true |
TaskStatus | The status of the task. | Success |
Examples
Success response
JSON format
{
"Code": "OK",
"Message": "success",
"RequestId": "B7F4B621-E41E-4C84-B97F-42B5380A32BB",
"Success": true,
"TaskStatus": {
"Status": "KILLED",
"Message": "successful"
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.