šŸ”“šŸ”µ Create a manual intake (without image-based prediction).

Creates an intake for the specified APIUser without using an image-based prediction. This is an alternative to the recognition endpoints.
Multiple dishes can be specified in the intake, with only a valid id for the dish being necessary (A list of valid classes can be obtained by calling /dataset/dishes).
Optionally, quantity, levels and ingredients can be specified for each dish in the intake. If provided, these parameters will be applied in the following order:

  1. Ingredients: Use the given list of ingredients for the dish's recipe instead of using the default recipe for the dish id.
  2. Levels: Scale the level of salt, sugar and oil in dishes. The weights for ingredients specified in the ingredients field may be altered if you include this parameter.
  3. Quantity: If provided the ingredients quantities will be scaled proportionally so that they sum up to add the given quantity.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the APIUser.

Body Params

A JSON object with information the necessary information to create an intake manually.

dishes
array of objects
required

List of dish ids to be inserted into the intake.

dishes*
string

Timestamp that will be assigned to the image. It will take into account the user's timezone. Following the format '%Y/%m/%d, %H:%M:%S'. If this is not provided it will be set to the current time as default.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json