restaurant-photos / #152
- restaurantId
- Mohr, Treutel and Watsica · East Felipa · ★ 4.6
- url
- https://picsum.photos/seed/restaurant-27-1/1200/800
- alt
- Mohr, Treutel and Watsica interior photo 2
- caption
- Quia tergiversatio tamen aeneus ante tracto quibusdam vere.
- isPrimary
- false
- createdAt
Component variants
Medium
#152
#152
Small
restaurant-photos/152 Related
curl -sS \
"https://example-data.com/api/v1/restaurant-photos/152" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/restaurant-photos/152"
);
const restaurantPhoto = await res.json();import type { RestaurantPhoto } from "https://example-data.com/types/restaurant-photos.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/restaurant-photos/152"
);
const restaurantPhoto = (await res.json()) as RestaurantPhoto;import requests
res = requests.get(
"https://example-data.com/api/v1/restaurant-photos/152"
)
restaurant_photo = res.json() {
"id": 152,
"restaurantId": 27,
"url": "https://picsum.photos/seed/restaurant-27-1/1200/800",
"alt": "Mohr, Treutel and Watsica interior photo 2",
"caption": "Quia tergiversatio tamen aeneus ante tracto quibusdam vere.",
"isPrimary": false,
"createdAt": "2024-12-28T16:51:43.590Z"
}