Queries the information about an asynchronous task.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /v2/async_task/get HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| body | object | No | The request parameters. | |
| async_task_id | string | Yes | The ID of the asynchronous task. | 000e89fb-cf8f-11e9-8ab4-b6e980803a3b |
Response parameters
Examples
Sample success responses
JSONformat
{
"async_task_id": "000e89fb-cf8f-11e9-8ab4-b6e980803a3b",
"status": "Succeed",
"state": "Succeed",
"message": "The request has been failed due to some unknown error. Please try again later.",
"err_code": 0,
"total_process": 1000,
"consumed_process": 100,
"url": "https://data.aliyunpds.com/hz22%2F5d5b986facbec311ef844c25954f96821497b383%2F5d5b986f955410dd991646bb87c6b4e899eff525?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx",
"error_code": "InternalError",
"error_message": "The request has been failed due to some unknown error. Please try again later.",
"uncompress_file_list": [
{
"drive_id": "",
"file_id": "",
"is_folder": true,
"name": "",
"size": 0,
"updated_at": 0,
"items": [
{
"drive_id": "",
"file_id": "",
"is_folder": true,
"name": "",
"size": 0,
"updated_at": 0,
"items": [
{
"drive_id": "",
"file_id": "",
"is_folder": true,
"name": "",
"size": 0,
"updated_at": 0,
"items": []
}
]
}
]
}
],
"category": "album",
"created_at": "2019-08-20T06:51:27.292Z",
"started_at": "2019-08-20T06:51:27.292Z",
"finished_at": "2019-08-20T06:51:27.292Z",
"skipped_process": 0,
"failed_process": 0
}Error codes
For a list of error codes, visit the Service error codes.
