Documentation navigation

Objects

Download an object

GET/storage/buckets/{bucketName}/objects/{key}/download

Download object bytes.

Parameters

DownloadObjectParams
bucketNamestring
Bucket name.
keystring
Object key inside the bucket.
signal?AbortSignal
Abort signal for cancelling the download request.

Returns

bodyBlob
Downloaded object bytes.
headersDownloadObjectHeaders
Metadata returned in object download response headers.