Authentication Level:
This module delivers all category information.
Name | Description | Authentication |
---|---|---|
get | Get category for given id. | Service |
getAll | Get all available categories | Service |
getWines | Fetch all wines of one category by id. | Service |
getWithWines | Get single category with wines | Service |
Authentication Level: Service
Description:
Get a category for given id
Request parameter:
Field | Type | Description | Default |
---|---|---|---|
id required | Integer | Unique id for requested category (required). |
null |
Example Request:
{ "id": 123 }
Authentication Level: Service
Description:
Get all available categories
Parameter:
No parameter available for this route
Authentication Level: Service
Description:
Fetch all wines of one category by id.
Request parameter:
Field | Type | Description | Default |
---|---|---|---|
id required | Integer | Unique category ID. |
null |
Authentication Level: Service
Description:
Access data from one single category by giving one specific id with wines. Use this instead of the regular get method to increase your app performance.
Request parameter:
Field | Type | Description | Default |
---|---|---|---|
id required | Integer | Unique ID of wine (required). |
null |
Example Request:
{ "id": 185 }