Method | API Call | Tests |
---|---|---|
testFiltersDefault | GET /v1/recipes/filters | Retrieve recipe filters.
|
Method | API Call | Tests |
---|---|---|
testGetRecipe | GET /v1/recipes/{id} | Get single recipe with id. |
testGetRecipeNotFound | GET /v1/recipes/{id} | Get non-existing recipe. |
testRateRecipe | POST /v1/recipes/{id}/rate | Register a rating for a recipe.
|
testViewRecipe | POST /v1/recipes/{id}/rate | Register a view for a recipe. |
Method | API Call | Tests |
---|---|---|
testSearchSuggestTitle | GET /v1/recipes/suggest/title | Suggest recipes autocomplete on title.
|
testSearchDefault | POST /v1/recipes/search | Search recipes with default parameters.
|
testSearchPage | POST /v1/recipes/search | Search recipes with page parameter.
|
testSearchItemsPerPage | POST /v1/recipes/search | Search recipes with items_per_page parameter.
|
testSearchSortCreatedDateAsc | POST /v1/recipes/search | Search recipes with date sort parameter.
|
testSearchSortCreatedDateDesc | POST /v1/recipes/search | Search recipes with descending date sort parameter.
|
testSearchSortKcalIntAsc | POST /v1/recipes/search | Search recipes with int sort parameter.
|
testSearchSortKcalIntDesc | POST /v1/recipes/search | Search recipes with int sort parameter.
|
testSearchFilterCreatedDate | POST /v1/recipes/search | Search recipes with created_date parameter.
|
testSearchFilterUpdatedDate | POST /v1/recipes/search | Search recipes with updated_date parameter.
|
testSearchFilterKcal | POST /v1/recipes/search | Search recipes with kcal parameter.
|
testSearchFilterFat | POST /v1/recipes/search | Search recipes with fat parameter.
|
testSearchFilterSaturatedFat | POST /v1/recipes/search | Search recipes with saturated_fat parameter.
|
testSearchFilterCarbs | POST /v1/recipes/search | Search recipes with carbs parameter.
|
testSearchFilterProtein | POST /v1/recipes/search | Search recipes with protein parameter.
|
testSearchFilterFibers | POST /v1/recipes/search | Search recipes with fibers parameter.
|
testSearchFilterSalt | POST /v1/recipes/search | Search recipes with salt parameter.
|
testSearchFilterPersons | POST /v1/recipes/search | Search recipes with persons parameter.
|
testSearchFilterPreparationTime | POST /v1/recipes/search | Search recipes with preparation_time parameter.
|
testSearchFilterRatingAverage | POST /v1/recipes/search | Search recipes with rating_average parameter.
|
testSearchFilterViewCount | POST /v1/recipes/search | Search recipes with view_count parameter.
|
testSearchFilterDifficultyId | POST /v1/recipes/search | Search recipes with difficulty_id parameter.
|
testSearchFilterDifficultyStr | POST /v1/recipes/search | Search recipes with difficulty_str parameter.
|
testSearchFilterCourseMultiId | POST /v1/recipes/search | Search recipes with course_multi_id parameter.
|
testSearchFilterCourseMultiStr | POST /v1/recipes/search | Search recipes with course_multi_str parameter.
|
testSearchFilterKitchenMultiId | POST /v1/recipes/search | Search recipes with kitchen_multi_id parameter.
|
testSearchFilterKitchenMultiStr | POST /v1/recipes/search | Search recipes with kitchen_multi_str parameter.
|
testSearchFilterMainIngredientMultiId | POST /v1/recipes/search | Search recipes with mainingredient_multi_id parameter.
|
testSearchFilterMainIngredientMultiStr | POST /v1/recipes/search | Search recipes with mainingredient_multi_str parameter.
|
testSearchFilterMagazineMultiId | POST /v1/recipes/search | Search recipes with magazine_multi_id parameter.
|
testSearchFilterMagazineMultiStr | POST /v1/recipes/search | Search recipes with magazine_multi_str parameter.
|
testSearchFilterTagMultiId | POST /v1/recipes/search | Search recipes with tag_multi_id parameter.
|
testSearchFilterTagMultiStr | POST /v1/recipes/search | Search recipes with tag_multi_str parameter.
|
testSearchFilterWineMultiId | POST /v1/recipes/search | Search recipes with wine_multi_id parameter.
|
testSearchFilterWineMultiStr | POST /v1/recipes/search | Search recipes with wine_multi_str parameter.
|
testSearchFilterIngredientMultiId | POST /v1/recipes/search | Search recipes with ingredient_multi_id parameter.
|
testSearchFilterIngredientMultiStr | POST /v1/recipes/search | Search recipes with ingredient_multi_str parameter.
|
testSearchFilterStatusId | POST /v1/recipes/search | Search recipes with status_id parameter.
|
testSearchFilterStatusStr | POST /v1/recipes/search | Search recipes with status_str parameter.
|
Method | API Call | Tests |
---|---|---|
testDownloadImage | GET /v1/download/image/{id} | Get image binary with id. |
testDownloadImageNotFound | GET /v1/download/image/{id} | Get non-existing image binary with id. |
testDownloadImageVariant | GET /v1/download/image/{id} | Get image variant binary with id. |
testDownloadImageVariantNotFound | GET /v1/download/image/{id} | Get non-existing image variant binary with id. |