restaurant-photos
restaurant-photos
Page 8 of 24.
Overview
Request
curl example
curl -sS \ "https://example-data.com/api/v1/restaurant-photos?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/restaurant-photos?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/restaurant-photos.d.ts https://example-data.com/types/restaurant-photos.d.ts
import type { RestaurantPhoto, ListEnvelope } from "./types/restaurant-photos";
const res = await fetch(
"https://example-data.com/api/v1/restaurant-photos?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<RestaurantPhoto>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/restaurant-photos",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 169,
"restaurantId": 29,
"url": "https://picsum.photos/seed/restaurant-29-6/1200/800",
"alt": "Trantow - Jerde interior photo 7",
"caption": "Centum tricesimus curatio at articulus aestus audio abstergo.",
"isPrimary": false,
"createdAt": "2026-04-14T03:24:31.049Z"
},
{
"id": 170,
"restaurantId": 29,
"url": "https://picsum.photos/seed/restaurant-29-7/1200/800",
"alt": "Trantow - Jerde interior photo 8",
"caption": "Viscus asperiores animadverto truculenter harum.",
"isPrimary": false,
"createdAt": "2026-02-13T17:57:43.545Z"
},
{
"id": 171,
"restaurantId": 30,
"url": "https://picsum.photos/seed/restaurant-30-0/1200/800",
"alt": "Mills, Kassulke and Marquardt interior photo 1",
"caption": "Stella abeo clementia appono ubi adhaero.",
"isPrimary": true,
"createdAt": "2026-02-20T03:43:15.890Z"
}
],
"meta": {
"page": 8,
"limit": 24,
"total": 555,
"totalPages": 24
},
"links": {
"self": "/api/v1/restaurant-photos?page=8&limit=24",
"first": "/api/v1/restaurant-photos?page=1&limit=24",
"last": "/api/v1/restaurant-photos?page=24&limit=24",
"next": "/api/v1/restaurant-photos?page=9&limit=24",
"prev": "/api/v1/restaurant-photos?page=7&limit=24"
}
}