ServicesScanDALHTTP APIBlobs

Abort a blob upload

POST
/blobs/uploads/abort

Discard an upload's stored parts. An abort never removes a stored object, so the attempt's binding allows it. Aborting an upload that no longer exists succeeds.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
storage?|null
upload*

A multipart upload of one blob into a write attempt, at attempts/<attempt>/blobs/<objectId> under the Table's root. The client keeps it and sends it with each part and with its completion; the storage provider keeps the upload's progress, so any instance serves any step. Every part but the last holds exactly partBytes, a power of two.

Response Body

Success

response?nullapplication/json
curl -X POST 'https://scandal.spiraldb.dev/blobs/uploads/abort' \  -H 'Content-Type: application/json' \  -d '{  "upload": {    "attempt": "d2c50383-9b42-408a-bf30-8303c70e72c1",    "mediaType": "string",    "objectId": "e39ea5f2-2188-47f8-add0-f1976630af5e",    "partBytes": "string",    "tableId": "073fbfcb-cd05-4203-be18-a1ce6f8e4d2d",    "uploadId": "string"  }}'
null