Recommend this page to a friend! |
Classes of Francesco Danti | Scloby Client API | docs/Api/AllergensApi.md | Download |
|
![]() Swagger\Client\AllergensApiAll URIs are relative to https://api.scloby.com/v2 Method | HTTP request | Description ------------- | ------------- | ------------- allergensGet | GET /allergens | Get All Allergens allergensIdGet | GET /allergens/{id} | Get existing Allergen allergensGet> \Swagger\Client\Model\InlineResponse2001[] allergensGet($pagination, $per_page, $page) Get All Allergens Returns a Json with data about all allergens. Allergens are static and cannot be changed, added or removed. Not Paginated by default. Example
ParametersName | Type | Description | Notes ------------- | ------------- | ------------- | ------------- pagination | bool| Pagination parameter | [optional] per_page | int| Results_per_page | [optional] page | int| PAGE_NUMBER(starting from 0 to TOTAL_PAGE-1) | [optional] Return type\Swagger\Client\Model\InlineResponse2001[] AuthorizationHTTP request headers- Content-Type: Not defined - Accept: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) allergensIdGet> \Swagger\Client\Model\InlineResponse2001 allergensIdGet($id) Get existing Allergen In this case you must specify the id in the URL Example
ParametersName | Type | Description | Notes ------------- | ------------- | ------------- | ------------- id | string| id of the allergen | Return type\Swagger\Client\Model\InlineResponse2001 AuthorizationHTTP request headers- Content-Type: Not defined - Accept: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) |