UploadPartCopy
PUT https://{{account-id}}.r2.cloudflarestorage.com/{{r2-bucket}}/{{r2-object}}?uploadId={{upload-id}}&partNumber={{part-number}}
Uploads a part by copying data from an existing object as data source. You specify the data source by adding the request header x-amz-copy-source
in your request and a byte range by adding the request header x-amz-copy-source-range
in your request.
You must initiate a multipart upload (see CreateMultipartUpload) before you can upload individual parts, and include the multipart upload ID in each upload part request.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
uploadId | string | ||
partNumber | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-amz-content-sha256 | string |