Creates an intake for the specified APIUser without using an image-based prediction. This is an alternative to the recognition endpoints.
Each food item must provide either:
- A valid dish id obtained from
/dataset/dishes; and/or - A non-empty ingredients list containing valid
ingredientIdvalues obtained from/dataset/ingredients.
Optionally, quantity, levels, and ingredients can be specified for each food item. Ingredient-only items (items without an id) may also include a non-empty name. This user-provided item label is preserved as submitted and is returned in the corresponding foodName and recipe_per_item[].name positions. A supplied name never overrides the catalog name of an item with a valid id.
The root-level intake_name is an independent optional label for the complete intake. If both a dish id and ingredients are provided, the supplied ingredients replace the default recipe for that dish. The parameters are applied in the following order:
- Ingredients: Define or replace the food item's recipe.
- Levels: Scale the level of salt, sugar, and oil. Ingredient weights may be altered when this parameter is included.
- Quantity: Scale ingredient quantities proportionally so that their total matches the provided quantity.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests⦠| |||
