Data Types

BeginMultipartUploadResponse

Response body for BeginMultipartUpload.

Structure

Example

{
"file": {
"accountId": "YOUR_ACCOUNT_ID",
"filePath": "/uploads/image.jpg",
"fileUrl": "https://upcdn.io/A623uY2/raw/uploads/image.jpg",
"lastModified": 1615680311115,
"metadata": {
"myCustomField1": true,
"myCustomField2": {
"hello": "world"
},
"anotherCustomField": 42
},
"mime": "image/jpeg",
"originalFileName": "example.jpg",
"size": 43182,
"tags": [
"images/profile"
]
},
"uploadId": "Kd759aLFxttm69kZ",
"uploadParts": {
"count": 12,
"first": {
"range": {
"inclusiveEnd": 5242879,
"inclusiveStart": 0
},
"uploadId": "Kd759aLFxttm69kZ",
"uploadPartIndex": 7,
"uploadUrl": "https://...long-url...x-id=PutObject"
}
}
}

Properties

file

Details of the file being uploaded, including its file metadata, file tags, original file name, and MIME type.

Type: FileDetails

Required: Yes

uploadId

A unique ID for the multipart file upload session created as a result of this request.

Type: String

Length: 16

Example: "Kd759aLFxttm69kZ"

Required: Yes

uploadParts.count

The number of parts the file will be uploaded with.

Type: Integer

Minimum: 1

Example: 12

Required: Yes

uploadParts.first

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

Type: UploadPart

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: