upload-part

Upload Part

1. 描述

将块上传到对象存储服务

2. 请求地址

PUT /{bucket}/{object}

3. 请求头

该请求头信息请参考【公共参数】部分。

4. 请求参数

Name Type Description Required
uploadId String 已初始化的分片上传ID
partNumber int 标识上传过程块的位置

5. 响应头

该响应头信息请参考【公共参数】部分。

6. 响应体

Name Type Description
partNumber int 上传过程中块的标识符
etag String 块文件的etag值

7. 请求示例

PUT /bucket123/QQ_V6.5.0.dmg?uploadId=2%7EbhuAWBJusnd_Sl8H4iaII8wYTypFMIh&partNumber=1 HTTP/1.1
Host: cn-east-1.cloud-oss.com
Nonce: 4e2946a6-9f8d-42e1-a547-b9a6211f2119
Authorization: YCS1-HMAC-SHA1 Credential=d1a190cf-b05e-4ca4-9a24-3c3ac7938e08, SignedHeaders=date;nonce;version, Signature=Dw+o7Sq1ed1lvM3fjchTJZAZjcs=
Version: 2018-10-30
Date: Tue, 20 Nov 2018 07:32:28 GMT

8. 返回示例

Expires: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
X-XSS-Protection: 1; mode=block
Pragma: no-cache
X-Frame-Options: DENY
Content-Disposition: inline;filename=f.txt
Date: Tue, 20 Nov 2018 06:39:49 GMT
Connection: keep-alive
X-Content-Type-Options: nosniff
Transfer-Encoding: chunked
Content-Type: application/json;charset=UTF-8
X-Application-Context: oss-api:swagger,dev:5921
{
  "partNumber" : 1,
  "requesterCharged" : false,
  "etag" : "f26f9370c96b0fdbbcf13190735bd602",
  "partETag" : {
    "partNumber" : 1,
    "etag" : "f26f9370c96b0fdbbcf13190735bd602"
  }
}

9. 错误码

该接口没有特殊错误码,错误码可以参考公共错误码

个结果匹配 ""

    无结果匹配 ""