Retrieves a list of buffet items for a specific gym.
No authentication required.
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| gym-id | int | Yes | ID of the gym | 123 |
Returns a list of gym buffet item resources.
{
"data": [
{
"id": 1,
"gym_id": 123,
"title": "Protein Bar",
"description": "Tasty bar",
"price": 100,
"discount": 10.5,
"discounted_price": 89.5,
"media": []
}
]
}
For a full schema, see Gym Buffet Item Resource.
| Status | Description | Reference |
|---|---|---|
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden (no permission) | Permission error |
| 404 | Not found | Not-found error |