Skip to content

Get a public link thumbnail

GET
/api/v1/public/{slug}/thumb
curl --request GET \
--url 'https://example.com/api/v1/public/example/thumb?s=1'

Requires a valid public link with view access. It returns 404 when the thumbnail is unavailable or 429 when the request limit is reached. A matching ETag returns 304 without an image body. Route: /api/v1/public/{slug}/thumb. Inputs: slug, path, item, s, X-Public-Password. Safe reads can use bounded retries.

slug
required
string
path
string
item
string

An entry’s item ID from /entries, in place of path.

s
required
integer format: int32
X-Public-Password
string
Media typeimage/webp
Media typeapplication/json

The standard API error response: { "error": { ... } }.

object
error
required

Error details.

object
code
required

Stable machine-readable code.

string
Allowed values: bad_request unauthorized forbidden not_found conflict name_conflict_case name_too_long push_endpoint_rejected too_many_requests internal service_unavailable
details
One of:

Optional field or operation details.

object
key
additional properties
string
message
required

Safe text for logs or a user-facing error message.

string
Example
{
"error": {
"code": "bad_request"
}
}
Media typeapplication/json

The standard API error response: { "error": { ... } }.

object
error
required

Error details.

object
code
required

Stable machine-readable code.

string
Allowed values: bad_request unauthorized forbidden not_found conflict name_conflict_case name_too_long push_endpoint_rejected too_many_requests internal service_unavailable
details
One of:

Optional field or operation details.

object
key
additional properties
string
message
required

Safe text for logs or a user-facing error message.

string
Example
{
"error": {
"code": "bad_request"
}
}