example-data.com

restaurant-photos / #54

restaurantId
Cruickshank - Jacobi · Vandervortfield · ★ 3.0
url
https://picsum.photos/seed/restaurant-10-0/1200/800
alt
Cruickshank - Jacobi interior photo 1
caption
Clarus comptus trado paulatim aeternus subseco aeternus addo.
isPrimary
true
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/restaurant-photos/54" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/restaurant-photos/54"
);
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/54"
);
const restaurantPhoto = (await res.json()) as RestaurantPhoto;
import requests

res = requests.get(
    "https://example-data.com/api/v1/restaurant-photos/54"
)
restaurant_photo = res.json()
{
  "id": 54,
  "restaurantId": 10,
  "url": "https://picsum.photos/seed/restaurant-10-0/1200/800",
  "alt": "Cruickshank - Jacobi interior photo 1",
  "caption": "Clarus comptus trado paulatim aeternus subseco aeternus addo.",
  "isPrimary": true,
  "createdAt": "2025-08-04T10:48:46.427Z"
}
Draftbit