Data Types

UploadPart

Represents a part of a file to be uploaded as part of a multipart file upload.

Specifies the range of the file that needs uploading, together with an uploadUrl of where to PUT those bytes to.

The PUT request to the uploadUrl will return an etag response header, which must be provided in a subsequent CompleteUploadPart request.

See: basic file uploads, multipart file uploads.

Structure

Example

{
"range": {
"inclusiveEnd": 5242879,
"inclusiveStart": 0
},
"uploadId": "Kd759aLFxttm69kZ",
"uploadPartIndex": 7,
"uploadUrl": "https://...long-url...x-id=PutObject"
}

Properties

range

Specifies the range in the file the UploadPart represents.

Type: UploadPartRange

Required: Yes

uploadId

The ID for the multipart file upload.

Type: String

Length: 16

Example: "Kd759aLFxttm69kZ"

Required: Yes

uploadPartIndex

Index of an uploadable file part.

Can be used as the uploadPartIndex parameter in the GetUploadPart and CompleteUploadPart endpoints.

Type: Integer

Minimum: 0

Example: 7

Required: Yes

uploadUrl

Pre-signed upload URL for this part.

You are required to issue a PUT to this URL, with the file's bytes as the request body (limited to the range indicated by this upload part).

The PUT request will return an etag response header, which must be provided in a subsequent CompleteUploadPart request.

Type: String

Min Length: 10

Example: "https://...long-url...x-id=PutObject"

Required: Yes

Used by

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: