AlphaAlpha Docs

Blob storage

Operations related to stored blobs

Download blob by id

GET
/blob-storage/download/{blobId}
AuthorizationBearer <token>

In: header

Path Parameters

blobId*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/blob-storage/download/string"
"string"
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Download blob

GET
/blob-storage/download/{blobId}/{fileName}
AuthorizationBearer <token>

In: header

Path Parameters

blobId*string
fileName*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/blob-storage/download/string/string"
"string"
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Find orphaned blobs

GET
/blob-storage/orphaned
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/blob-storage/orphaned"
{
  "orphanedBlobs": [
    {
      "blobId": "string",
      "deleted": true
    }
  ],
  "orphanedCount": 0,
  "totalBlobsInStorage": 0,
  "totalReferencedBlobs": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Delete orphaned blobs

DELETE
/blob-storage/orphaned
AuthorizationBearer <token>

In: header

Query Parameters

dryRun?boolean
Defaulttrue

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "http://localhost:18080/api/v1/blob-storage/orphaned"
{
  "orphanedBlobs": [
    {
      "blobId": "string",
      "deleted": true
    }
  ],
  "orphanedCount": 0,
  "totalBlobsInStorage": 0,
  "totalReferencedBlobs": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}