ServicesScanDALHTTP APIBlobs

Inspect a blob

POST
/blobs/stat

Report what storage holds for a blob that a Table owns, without reading its bytes.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
blob*

A reference to a payload that one Table owns. It is never a download URL. digest is the BLAKE3 digest of the whole payload, as lowercase hexadecimal. The payload is the object blobs/<objectId> under the Table's root, or attempts/<attempt>/blobs/<objectId> when an upload into a write attempt stored it.

storage?|null

Response Body

Success

application/json
  1. response

What storage holds for a blob.

etag?string|null
size*|
version?string|null
curl -X POST 'https://scandal.spiraldb.dev/blobs/stat' \  -H 'Content-Type: application/json' \  -d '{  "blob": {    "digest": "string",    "mediaType": "string",    "objectId": "e39ea5f2-2188-47f8-add0-f1976630af5e",    "size": "string",    "tableId": "073fbfcb-cd05-4203-be18-a1ce6f8e4d2d"  }}'
{  "etag": "string",  "size": "string",  "version": "string"}