post https://api.logmeal.com/v2/waste/confirm
With this endpoint, the user has the option to confirm which of the recognized leftover dishes are correct and which are the quantities left.
Ā
By default, the source must be set to 'logmeal' and an ID corresponding to an existent dish is expected. You also have to provide a food item identifier for each of the confirmed dishes. This implies adding the extra parameter 'food_item_position'. This parameter consists of a list of elements, one per each confirmed dish, and it must include an integer identifying the segmented region it corresponds to (see 'food_item_position' in returned json for /waste/detection endpoints).