Data Types

GetUploadPart

Gets a remaining upload part for a multipart file upload.

GET /v2/accounts/{accountId}/uploads/{uploadId}/parts/{uploadPartIndex}
cURL
1curl "https://api.bytescale.com/v2/accounts/{accountId}/uploads/{uploadId}/parts/{uploadPartIndex}" \
2 -H "Authorization: Bearer YOUR_API_KEY"
Response (200)
1{
2 "range": {
3 "inclusiveEnd": 5242879,
4 "inclusiveStart": 0
5 },
6 "uploadId": "Kd759aLFxttm69kZ",
7 "uploadPartIndex": 7,
8 "uploadUrl": "https://...long-url...x-id=PutObject"
9}

Your account ID.

This is visible on the settings page:

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

Example: "A623uY2"

Type: String

Length: 7

The ID for the multipart file upload.

Example: "Kd759aLFxttm69kZ"

Type: String

Length: 16

Index of an uploadable file part.

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

Example: 7

Type: Integer

Minimum: 0

Add one of these Authorization header values to your request:

Option 1: prefix "Bearer " to your API key. The result is your Authorization header value.

Option 2: use HTTP basic authorization with apikey as your username and your API key as your password.

For advanced options, please see:

https://www.bytescale.com/docs/auth

Type: String

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: