openapi
/- List all menu items
Create menu item
Delete a menu item
Retrieve a menu item photo
List all menu items
Retrieve a collection of menu items with optional filtering and pagination.
Filters the collection items using space-separated field:value pairs.
Filterable fields: name, category, price, createdAt, id
Format: field1:value1 field2:value2
Supported operators:
field:value- Exact matchfield:value1,value2- Match any of the comma-separated values (OR)- Time ranges (on
createdAt): Use30d(30 days),7d(7 days),1h(1 hour), etc.
Examples:
category:beverage- Filter by a single category.category:beverage,dessert- Filter by multiple categories.createdAt:7d- Menu items created in the last 7 days.name:Latte- Filter by name.category:beverage price:400- Combine multiple filters.
Example:filter=category:beverage
- Mock serverhttps://cafe.redocly.com/_mock/openapi/cafe/menu
- Live server.https://api.cafe.redocly.com/menu
curl -i -X GET \
'https://cafe.redocly.com/_mock/openapi/cafe/menu?after=string&before=string&sort=string&filter=string&search=string&limit=10'Response
- beverage
- dessert
{ "object": "list", "page": { "endCursor": "string", "startCursor": "string", "hasNextPage": true, "hasPrevPage": true, "limit": 10, "total": 0 }, "items": [ { … } ] }