1. Upload Part

1.1. 描述

将块上传到对象存储服务

1.2. 请求地址

PUT /{bucket}/{object}

1.3. 请求头

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

1.4. 请求参数

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

1.5. 响应头

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

1.6. 响应体

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

1.7. 请求示例

PUT /lj-test-002/QQ_V6.5.0.dmg?uploadId=2%7EbhuAWBJusnd_Sl8H4iaII8wYTypFMIh&partNumber=1
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

1.7.1. 返回结果

响应头

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"
  }
}

1.8. 错误码

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

results matching ""

    No results matching ""