Bar Menu
- restaurantId
- O'Hara and Sons · New Eloisaboro · ★ 4.4
- name
- Bar Menu
- description
- Premium selections paired with exceptional flavors.
- isActive
- false
- createdAt
- updatedAt
Overview
menus / #1
Request
curl example
curl -sS \ "https://example-data.com/api/v1/menus/1" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/menus/1" ); const menu = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/menus.d.ts https://example-data.com/types/menus.d.ts
import type { Menu } from "./types/menus";
const res = await fetch(
"https://example-data.com/api/v1/menus/1"
);
const menu = (await res.json()) as Menu; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/menus/1"
)
menu = res.json() Response
{
"id": 1,
"restaurantId": 1,
"name": "Bar Menu",
"description": "Premium selections paired with exceptional flavors.",
"isActive": false,
"createdAt": "2026-02-27T19:41:54.207Z",
"updatedAt": "2026-03-29T19:01:27.613Z"
}