ServicesScanDALHTTP APIBlobs

Upload a blob part

POST
/blobs/uploads/part

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.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Header Parameters

scandal-request*string

The UploadBlobPartRequest request as JSON, base64url-encoded without padding.

Request Body

body*fileapplication/octet-stream
Formatbinary

Response Body

Success

application/json
  1. 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|null
hash*string
part*integer
Formatuint32
Range0 <= value <= 4294967295
size*|
tag*string
curl -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"}