Skip to main content

Read/download the temporary BLOB

Motivation​

Retrieve the temporary BLOB

Functional design​

GET /api/v2/apps/{owner}/{app}/workspaces/{wsid}/tblobs/{suuid}

Headers​

KeyValueDescription
AuthorizationBearer {PrincipalToken}The token obtained during the authentication process

Parameters​

ParameterTypeDescription
ownerstringname of a user who owns the application
appstringname of an application
wsidint64the ID of workspace
suuidstringSUUID of the BLOB

Response Headers​

KeyValueDescription
Content-TypeBLOB metadataReturns the originally provided metadata
Blob-NameBLOB nameReturns the originally provided name

Result​

CodeDescriptionBody
200OKBLOB binary data
400Bad Requesterror object
401Unauthorizederror object
403Forbiddenerror object
404Not Founderror object
429Too Many Requestserror object
500Internal Server Errorerror object
503Service Unavailableerror object

Technical design​

Components​

  • pkg/router
    • ~cmp.routerTBlobsReadPathHandler~covrd1✅: URL path handler
  • pkg/sys/it
    • ~it.TestTBlobsRead~covrd2✅: integration test for reading BLOBs

Footnotes​

  1. [~server.apiv2.blobs/cmp.routerTBlobsReadPathHandler~impl] pkg/router/impl_apiv2.go:149:impl ↩

  2. [~server.apiv2.blobs/it.TestTBlobsRead~impl] pkg/sys/it/impl_blob_test.go:293:impl ↩