Get Asset By ID
The endpoint allows you to retrieve a specific Asset by Unique identifier for the Asset object.
Path Parameters
spaceId*string
Unique identifier for the Space object.
assetId*string
Unique identifier for the Asset object.
Query Parameters
w?integer
Asset width, in case it is a image (In Pixel). Otherwise it will be ignored.
h?integer
Asset height in pixels. Only applied to images; ignored otherwise.
q?integer
Image quality (1–100). Applies to JPEG and WebP. Defaults to 85.
Range
1 <= value <= 100Default
85f?string
Output image format. Converts the image to the specified format.
Value in
- "webp"
- "jpeg"
- "png"
- "avif"
download?boolean
In case you wish to download the asset.
thumbnail?boolean
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""string"