Upload

Marks an upload part as uploaded. You must call this endpoint after you have successfully issued a `PUT` request to the `uploadUrl` on the corresponding UploadPart.

Changed on

Marks an upload part as uploaded.

You must call this endpoint after you have successfully issued a PUT request to the uploadUrl on the corresponding UploadPart.

put/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

Request body

etagstring required

The file's ETag, short for "entity tag", reflects the file's version and changes whenever the file is modified.

Example request

{
  "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4"
}

Response

Success.

OR

Example response

{
  "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4"
}

Changes

    • breaking

      removed the success response with the status

    • info

      added the success response with the status