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.
1curl "https://api.bytescale.com/v2/accounts/{accountId}/uploads/{uploadId}/parts/{uploadPartIndex}" \2 -X PUT \3 -H "Authorization: Bearer YOUR_API_KEY" \4 -H "Content-Type: application/json" \5 -d @- << EOF6 {7 "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4"8 }9EOF
1{2 "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4",3 "status": "Completed"4}
Your account ID.
This is visible on the settings page:
https://www.bytescale.com/dashboard/settings
Example: "A623uY2"
Type: String
Length: 7
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
This endpoints requires a JSON request body.
Type: String
Value: "application/json"
This website uses cookies. By continuing you are consenting to the use of cookies per our Cookie Policy. Our legal policies were last updated August 16 2024.
This website requires a modern web browser -- the latest versions of these browsers are supported: