Skip to content

A rendition, generated once and cached

GET
/a/{id}/{transform}
curl --request GET \
--url http://localhost:3000/a/example/example

A name may follow, for people reading the link (/a/{id}/w_800,f_webp/summer-hero.webp), never read. ?download attaches it, saved as the asset’s name in its format.

id
required
string

Asset id

transform
required
string

E.g. w_800,f_webp. Keys: w, h (1-8000, each up to the next of a fixed ladder of sizes), fit (with both w and h), q (1-100, to a multiple of 5), f (jpeg, png, webp, avif)

Image bytes

Busy making renditions: try again

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"detail": "example"
}
}

An error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"detail": "example"
}
}