Upload

Gets a remaining upload part for a multipart file upload.

Gets a remaining upload part for a multipart file upload.

get/v2/accounts/{accountId}/uploads/{uploadId}/parts/{uploadPartIndex}

Request

Path parameters

accountIdstring required

Your account ID.

This is visible on the settings page:

https://www.bytescale.com/dashboard/settings

Example:A623uY2
uploadIdstring required

The ID for the multipart file upload.

Example:Kd759aLFxttm69kZ
uploadPartIndexinteger required

Index of an uploadable file part.

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

Example:7

Response

Success.

uploadIdstring required

The ID for the multipart file upload.

uploadPartIndexinteger required

Index of an uploadable file part.

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

uploadUrlstring required

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.

Example response

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

Changes

No recorded changes to this operation across all 2 revisions of this API.