šŸ”“šŸ”µ Modify the nutritional info of an uploaded intake

Modify the nutritional information indicators of a previously uploaded intake (image). The changes will take place on the /history/getIntakesList endpoint or any other endpoint that retrieves the nutritional information for an image. Ā  A different format has to be provided for the submitted nutritional information depending on whether the image has a prediction of type food recognition or of type food segmentation.

  • In case the image at hand has a prediction of type segmentation, then you have to provide the parameter 'nutritional_indicators_per_item' containing an object where keys are food item identifiers and values are lists of nutritional codes and values.
  • In case the image at hand has a prediction of type recognition, then you have to provide the parameter 'nutritional_indicators' containing a list of nutritional codes and values.

Check the provided examples for additional information. Ā  Note that if you confirm a new list of dishes for this intake or you apply any ingredient modification, the nutritional information will be re-calculated based on the new list of dishes or ingredients.

Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!