example-data.com

restaurant-photos / #201

restaurantId
Larson Group · Lehnerville · ★ 2.9
url
https://picsum.photos/seed/restaurant-35-4/1200/800
alt
Larson Group interior photo 5
caption
Adamo totidem casus sperno.
isPrimary
false
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurant-photos/201"
)
restaurant_photo = res.json()
{
  "id": 201,
  "restaurantId": 35,
  "url": "https://picsum.photos/seed/restaurant-35-4/1200/800",
  "alt": "Larson Group interior photo 5",
  "caption": "Adamo totidem casus sperno.",
  "isPrimary": false,
  "createdAt": "2024-11-19T20:59:57.203Z"
}
Draftbit