Blob storage
Operations related to stored blobs
Download blob by id
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
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
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
AuthorizationBearer <token>
In: header
Query Parameters
dryRun?boolean
Default
trueResponse 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"
}