获取异步任务信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
POST /v2/async_task/get HTTP/1.1
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
body | object | 否 | 请求体。 | |
async_task_id | string | 是 | 异步任务 id | 000e89fb-cf8f-11e9-8ab4-b6e980803a3b |
返回参数
示例
正常返回示例
JSON
格式
{
"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": 404,
"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": "5060",
"file_id": "66972349b2b12fa309a143fb9db29647b2ddabfd",
"is_folder": true,
"name": "1.mov",
"size": 218052,
"updated_at": 1721368014000,
"items": [
{
"drive_id": "5060",
"file_id": "66972349b2b12fa309a143fb9db29647b2ddabfd",
"is_folder": true,
"name": "1.mov",
"size": 218052,
"updated_at": 1721368014000,
"items": [
{
"drive_id": "5060",
"file_id": "66972349b2b12fa309a143fb9db29647b2ddabfd",
"is_folder": true,
"name": "1.mov",
"size": 218052,
"updated_at": 1721368014000,
"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
}
错误码
访问错误中心查看更多错误码。