restaurant-photos
restaurant-photos
Page 16 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": 361,
"restaurantId": 66,
"url": "https://picsum.photos/seed/restaurant-66-4/1200/800",
"alt": "Bergstrom LLC interior photo 5",
"caption": "Vetus talio doloremque iste pectus sponte.",
"isPrimary": false,
"createdAt": "2025-01-17T09:10:07.979Z"
},
{
"id": 362,
"restaurantId": 67,
"url": "https://picsum.photos/seed/restaurant-67-0/1200/800",
"alt": "Huel, Stark and Zulauf interior photo 1",
"caption": "Apostolus virga aperte theca tergiversatio.",
"isPrimary": true,
"createdAt": "2024-06-02T04:08:46.042Z"
},
{
"id": 363,
"restaurantId": 67,
"url": "https://picsum.photos/seed/restaurant-67-1/1200/800",
"alt": "Huel, Stark and Zulauf interior photo 2",
"caption": "Suadeo caput sollers tantum acidus cubicularis tempus.",
"isPrimary": false,
"createdAt": "2026-03-23T04:09:04.037Z"
}
],
"meta": {
"page": 16,
"limit": 24,
"total": 555,
"totalPages": 24
},
"links": {
"self": "/api/v1/restaurant-photos?page=16&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=17&limit=24",
"prev": "/api/v1/restaurant-photos?page=15&limit=24"
}
}