Skip to content
merran
GitHubInstall

Merran documentation API & integrations

A site recipe's photo

GET
/api/sites/recipes/{recipe}/photo
curl --request GET \
--url http://localhost:3000/api/sites/recipes/0199e8b0-5a10-7a01-8b00-000000000031/photo \
--cookie merran.session_token=<merran.session_token>

A small copy, as WebP, fetched once through Merran so browsing doesn’t load photos from other sites. With an API key, it needs the recipes: read permission.

recipe
required
string

Example

0199e8b0-5a10-7a01-8b00-000000000031

The photo.

Media typeimage/webp
string format: binary

Not signed in.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

Not allowed.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

No such recipe, or no photo that loads.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

© 2026 Kyle Johnson. Documentation: CC BY 4.0. Merran: AGPL-3.0-or-later.