Upload a blob part
POST
Store one part of an upload from the request body. Every part but the last holds exactly the upload's partBytes. Sending a part again replaces it. The part counts against the request's memory budget.
bearerAuthheader
AuthorizationBearer <token>scandal-request*stringThe UploadBlobPartRequest request as JSON, base64url-encoded without padding.
body*fileapplication/octet-streamFormat
binarySuccess
application/json- response
A stored part of an upload. Pass it unchanged to complete the upload. hash is the BLAKE3 chaining value of the part's subtree of the payload, as lowercase hexadecimal. Part 1 also carries its own digest, the payload's digest when it is the only part.
digest?string|nullhash*stringpart*integerFormat
uint32Range
0 <= value <= 4294967295size*|tag*stringcurl -X POST 'https://scandal.spiraldb.dev/blobs/uploads/part' \ -H 'scandal-request: string' \ -H 'Content-Type: application/octet-stream' \ -d 'string'{ "digest": "string", "hash": "string", "part": 0, "size": "string", "tag": "string"}