The Menu API exposes theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/teofilobetancourt/Tradiciones-y-Sabores/llms.txt
Use this file to discover all available pages before exploring further.
plato table — the master catalog of every dish Tradiciones y Sabores serves. Front-of-house interfaces use GET /api/platos to populate order forms and display boards, while kitchen managers use POST /api/platos to add seasonal specials or permanent additions. Both endpoints are available under the /api/productos alias, which returns the same data in the same format for backward compatibility with older integrations.
GET /api/platos
Returns the full dish catalog. Results are not paginated. Use thecategoria query parameter to retrieve only dishes belonging to a specific course or type.
Alias: GET /api/productos
Query Parameters
Filters results to a single dish category. Must exactly match one of the five
CategoriaPlatoEnum string values listed in the Category Reference table below. Omit to return all dishes across every category.Response
Returns an array of dish objects. Each object contains:Dish ID mirrored from
id_plato. Included for compatibility with legacy clients that use the /api/productos alias.Primary key of the dish record in the
plato table.Display name of the dish, e.g.
"Pabellón Criollo".Optional description of the dish. Returns an empty string
"" when not set.Price of the dish as a floating-point number, e.g.
18.50.Category the dish belongs to. One of the five
CategoriaPlatoEnum string values.Always
true in the current implementation. Dishes can be managed by removing them from the catalog entirely.POST /api/platos
Registers a new dish in the menu catalog. The request body is validated against thePlatoIn Pydantic schema, so nombre, precio, and categoria are required. The categoria value must be one of the five valid enum strings — invalid values will be rejected with a 422 Unprocessable Entity error.
Response status: 201 Created
Request Body
Display name for the dish. Maximum 100 characters. Must be a non-empty string, e.g.
"Cachapas con Queso Mano".Optional longer description of the dish, ingredients, or preparation style. Maximum 255 characters. Omit or pass
null to leave it blank.Selling price of the dish. Stored with up to 2 decimal places, e.g.
12.75. Must be a positive number.Course or type category. Must be exactly one of the five
CategoriaPlatoEnum string values. See the Category Reference table below for valid options.Response
Returns the newly created dish as aPlatoOut object:
Auto-incremented primary key assigned to the new dish.
Name of the dish as stored.
Description of the dish, or
null if none was provided.Price as stored in the database.
Category enum value as stored.
POST /api/platos returns a PlatoOut object (keys: id_plato, nombre, descripcion, precio, categoria) rather than the extended compatibility format returned by GET /api/platos. The id_producto and disponible fields are not included in the creation response.Category Reference
All five validCategoriaPlatoEnum values are listed below. The string values are used verbatim in both the query parameter and the request body.
| Enum Member | String Value | Typical Examples |
|---|---|---|
entrada | entrada | Tequeños, empanadas, sopas, ensaladas |
plato_principal | plato_principal | Pabellón criollo, carne asada, pollo guisado |
postre | postre | Quesillo, bienmesabe, torta negra |
bebida | bebida | Jugo natural, malta, café negro, agua mineral |
acompañante | acompañante | Arroz, caraotas, tajadas, tostones |