example-data.com

restaurant-photos / #77

restaurantId
Greenfelder LLC · Jaydentown · ★ 3.2
url
https://picsum.photos/seed/restaurant-13-6/1200/800
alt
Greenfelder LLC interior photo 7
caption
Tergiversatio crapula vulgo culpo attollo.
isPrimary
false
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/restaurant-photos/77"
)
restaurant_photo = res.json()
{
  "id": 77,
  "restaurantId": 13,
  "url": "https://picsum.photos/seed/restaurant-13-6/1200/800",
  "alt": "Greenfelder LLC interior photo 7",
  "caption": "Tergiversatio crapula vulgo culpo attollo.",
  "isPrimary": false,
  "createdAt": "2024-07-29T14:04:21.055Z"
}
Draftbit