Merran documentation API & integrations
A shared recipe's photo
GET
/api/shared/{token}/photo
const url = 'http://localhost:3000/api/shared/example/photo?size=full';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:3000/api/shared/example/photo?size=full'As WebP, with no sign-in: full for the page, card for previews, or thumb for small tiles. Use the links in the recipe’s photo.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”token
required
string
Query Parameters
Section titled “Query Parameters”size
string
v
Which photo: the links in photo say.
string
Which photo: the links in photo say.
Responses
Section titled “Responses”The photo.
Media typeimage/webp
string format: binary
This recipe isn’t shared, or it has no photo.
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." } }}Too many reads of this link.
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.