列举已上传成功的多段。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
POST /v2/file/list_uploaded_parts HTTP/1.1
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
body | object | 否 | 请求体参数。 | |
part_number_marker | integer | 否 | 设定结果从 marker 之后按字母排序的第一个开始返回。如果不设定,则从头开始返回数据。 默认值:无 | NWQ1Yjk4YmI1ZDRlYmU1Y2E0YWE0NmJhYWJmODBhNDQ2NzhlMTRhMg |
limit | integer | 否 | 限定此次返回资源的数量。如果不设定,默认返回 100,最大不能超过 100。 | 100 |
upload_id | string | 是 | 上传 id | 00166D06127B413BA1EC8ABB1144D101 |
file_id | string | 是 | 文件 id | 322fb07b975f4b0ae1b543fe8475eee4c19eb2b2 |
drive_id | string | 否 | 空间 id,除根据分享链接上传之外的其他场景,必填 | 1 |
share_id | string | 否 | 分享 id,当根据分享链接上传时必填 |
返回参数
示例
正常返回示例
JSON
格式
{
"file_id": "322fb07b975f4b0ae1b543fe8475eee4c19eb2b2",
"upload_id": "00166D06127B413BA1EC8ABB1144D101",
"uploaded_parts": [
{
"part_number": 1,
"part_size": 1024,
"upload_url": "https://data.aliyunpds.com/xxx/xxx?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx&partNumber=1&uploadId=0CC175B9C0F1B6A831C399E269772661",
"internal_upload_url": "https://data-vpc.aliyunpds.com/xxx/xxx?Expires=xxx&OSSAccessKeyId=xxx&Signature=xxx&partNumber=1&uploadId=0CC175B9C0F1B6A831C399E269772661\n",
"etag": "\"0CC175B9C0F1B6A831C399E269772661\"",
"parallel_sha1_ctx": {
"h": [
0
],
"part_offset": 10240
},
"upload_form_info": {
"bucket_name": "",
"oss_end_point": "",
"object_key": "",
"oss_access_key_id": "",
"oss_security_token": "",
"policy": "",
"signature": "",
"endpoint": "",
"form_data": {
"key": ""
}
},
"internal_upload_form_info": {
"bucket_name": "",
"oss_end_point": "",
"object_key": "",
"oss_access_key_id": "",
"oss_security_token": "",
"policy": "",
"signature": "",
"endpoint": "",
"form_data": {
"key": ""
}
},
"signature_info": {
"auth_type": "",
"signature": "",
"sts_token": ""
},
"parallel_sha256_ctx": {
"h": [
0
],
"part_offset": 0
}
}
],
"next_part_number_marker": "NWQ1Yjk4YmI1ZDRlYmU1Y2E0YWE0NmJhYWJmODBhNDQ2NzhlMTRhMg",
"parallel_upload": false
}
错误码
访问错误中心查看更多错误码。