ServicesScanDALHTTP APIWrites

Patch rows

POST
/writes/patch

Write new values for existing rows of a Table version, addressed by row ID, as patch files beside the data. The rows keep their row IDs and positions. The service writes the rows in bounded chunks as they arrive, holding each chunk in the request's memory budget. The values stay invisible until a version that includes the receipts is prepared on an edit base, registered and committed.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Header Parameters

scandal-request*string

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

Request Body

body*fileapplication/vnd.apache.arrow.stream
Formatbinary

Response Body

Success

application/json
  1. response
receipts*array<>
curl -X POST 'https://scandal.spiraldb.dev/writes/patch' \  -H 'scandal-request: string'
{  "receipts": [    {      "token": "string"    }  ]}