PUT/blobs/stages/multipart/{stageId}/parts/{partNumber}/bytes
Upload multipart blob part bytes through the API
Operation blobs.multipartStages.parts.upload
Description
Uploads one part's encrypted bytes through the API, for object stores that cannot sign direct upload URLs. Only the stage's owner may call it, and stores that do sign URLs reject this route. The part's declared byte length and SHA-256 headers must match the bytes sent.
Authentication
Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
stageId | path | string | required
|
partNumber | path | integer | required
|
x-tearleads-blob-part-byte-length | header | string | required
|
x-tearleads-blob-part-sha256 | header | string | required
|
x-tearleads-blob-upload-id | header | string | required
|
Request body
application/octet-streambytes
- raw bytes
Responses
200 OK
application/jsonUploadMultipartBlobPartResponse
Confirms a part uploaded through the API byte route.
3 fields
stageIdstringrequireduploadIdstringrequired
Other fields are allowed.
Other responses
| Status | Meaning | Body |
|---|---|---|
| 400 | Bad Request |
|
| 401 | Unauthorized |
|
| 403 | Forbidden |
|
| 404 | Not Found |
|
| 409 | Conflict |
|
| 500 | Internal Server Error |
|
| 503 | Service Unavailable |
|
Additional rules
The server also enforces these rules, which the schema above cannot express.
Declared multipart part byte length is at most 33554432.