Category list - MarcoLagalla/marette_backend GitHub Wiki
| Name | List Category |
|---|---|
| Description | List all category |
| URL | api/v1/webapp/restaurant/category/list |
| Allowed methods | GET |
| Authorizations | GET (AllowAny) |
GET
Returns a list of all the possible category. Anyone can retrieve the details.
[
{
"id": 1,
"category_name": "Pizzeria"
},
{
"id": 2,
"category_name": "Mensa"
}
]
If no category were been found return
[]
Return codes
| Status | Description |
|---|---|
HTTP_200_OK |
return category list |