简介
本文档提供关于文件处理哈希值计算异步请求的 API 概览以及 SDK 示例代码。
API | 说明 |
用于查询文件处理哈希值计算异步处理结果 |
异步请求接口
功能说明
查询异步文件处理哈希值计算结果请求。
方法原型
def ci_get_file_process_jobs(self, Bucket, JobIDs, **kwargs)
请求示例
def ci_get_file_process_jobs():response = client.ci_get_file_process_jobs(Bucket=bucket_name,JobIDs='fcb9a9f90e57611ed9************',)print(response)return response
参数说明
参数名称 | 描述 | 类型 | 是否必选 |
Bucket | 对象所在存储桶 | String | 是 |
JobIDs | 任务ID,以“,”分割多个任务ID | String | 是 |
返回结果说明
{"Response": {"JobsDetail": {"Code": "Success","Message": "","JobId": "f93984788066911ed89ed352d4d9d2084","State": "Success","CreationTime": "2022-07-18T15:16:43+0800","EndTime": "-","StartTime": "-","QueueId": "p2911917386e148639319e13c285cc774","Tag": "FileHashCode","Input": {"BucketId": "test-1234567890","Object": "input/test.mp4","Region": "ap-chongqing"},"Operation": {"FileHashCodeConfig": {"Type": "MD5","AddToHeader": true},"FileHashCodeResult": {"MD5": "xxxxxxxx","FileSize": 123,"LastModified": "2022-06-27T15:23:11+0800","Etag": "xxxxxx"},"UserData": "This is my data."}}}}
参数名称 | 描述 | 类型 |
Response | dict |