Skip to content

Download a specific variant of a stored object

GET
/storage/objects/{hash}/variants/{variant}

Same semantics as the original download but for any named variant key (e.g. “preview_2048”, “thumb_512”, “hls/seg00001.ts”).

hash
required
string
/^[0-9a-f]{64}$/
variant
required
string
Range
string

Full body

string format: binary

Partial body (Range request honoured)

string format: binary

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Resource not found

object
error
required

Human-readable error summary

string
Example
the request could not be completed