Get Asset By ID
The endpoint allows you to retrieve a specific Asset by Unique identifier for the Asset object.
Path Parameters
Unique identifier for the Space object.
Unique identifier for the Asset object.
Query Parameters
Asset width in pixels. Only applied to images; ignored otherwise.
Asset height in pixels. Only applied to images; ignored otherwise.
Image quality (1-100). When omitted, each encoder applies its own default: JPEG and WebP 80, AVIF 50. Ignored for PNG, which is lossless.
1 <= value <= 100Output image format. Nothing is converted implicitly - omit this and the stored format is kept, though the image is still re-encoded at that format default quality. Passing webp or avif is the recommended way to reduce transfer size.
Value in
- "webp"
- "jpeg"
- "png"
- "avif"
How the image is fitted when both w and h are given. Ignored with a single dimension, since the aspect ratio is preserved regardless.
Value in
- "cover"
- "contain"
- "inside"
- "outside"
- "fill"
In case you have a video or animated image like WebP/Gif, and you wish to generate thumbnail.
Response Body
curl -X GET "https://example.com/api/v1/spaces/UdV5ygPZuOD1JMO9Qat9/assets/UdV5ygPZuOD1JMO9Qat9"nullGet Content By ID GET
The endpoint allows you to retrieve a specific Content by Unique identifier for the Content object. In case cache version is not present, it will redirect to the latest version.
Get Asset Original GET
Returns the stored bytes of an Asset exactly as uploaded, served inline. The transform route re-encodes a still image at its format default quality even with no parameters, so this is the only way to retrieve the original file. A transform parameter here is rejected with 400.