restaurant-photos
restaurant-photos
Page 24 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": 553,
"restaurantId": 100,
"url": "https://picsum.photos/seed/restaurant-100-4/1200/800",
"alt": "Walsh LLC interior photo 5",
"caption": "Solium defluo voveo crustulum.",
"isPrimary": false,
"createdAt": "2025-09-08T10:01:48.738Z"
},
{
"id": 554,
"restaurantId": 100,
"url": "https://picsum.photos/seed/restaurant-100-5/1200/800",
"alt": "Walsh LLC interior photo 6",
"caption": "Altus viriliter aegrotatio ventosus.",
"isPrimary": false,
"createdAt": "2025-10-07T09:27:54.535Z"
},
{
"id": 555,
"restaurantId": 100,
"url": "https://picsum.photos/seed/restaurant-100-6/1200/800",
"alt": "Walsh LLC interior photo 7",
"caption": "Cervus depono ultra repellat adficio vulgivagus.",
"isPrimary": false,
"createdAt": "2025-05-04T23:28:56.897Z"
}
],
"meta": {
"page": 24,
"limit": 24,
"total": 555,
"totalPages": 24
},
"links": {
"self": "/api/v1/restaurant-photos?page=24&limit=24",
"first": "/api/v1/restaurant-photos?page=1&limit=24",
"last": "/api/v1/restaurant-photos?page=24&limit=24",
"next": null,
"prev": "/api/v1/restaurant-photos?page=23&limit=24"
}
}