GET /api/platos
Returns all dishes that have not been soft-deleted (i.e. where borrado_en is null).
Authentication: Bearer JWT requiredRequired role: any authenticated user
Request
No parameters or body required.Response
Success (200)
An array ofplatos objects.
Unique dish ID (nanoid, 10 characters)
Dish name
Dish price as a decimal string (e.g.
"25.00")Creation timestamp (ISO 8601)
Last update timestamp (ISO 8601)
Always
null in this response — soft-deleted dishes are excludedError responses
| Status | Description |
|---|---|
| 401 | Unauthorized — missing or invalid JWT |