recipes

Add an ingredient the import missed

Recorded as an ingredient_added correction, which together with a rejected line is the only measure of whether extraction missed or invented ingredients.

post/chefs/recipes/{recipe_id}/review

Path parameters

recipe_idinteger required

Request body

food_namestring nullable

Required when rxfood_id is omitted.

notestring nullable
rxfood_idstring nullable
serving_unit_labelstring nullable
servingsnumber nullable

Response

successful operation

child_recipe_idinteger nullable
descriptionstring nullable
extracted_namestring nullable

What the parser read the ingredient as.

food_namestring nullable
ingredient_idinteger nullable

Null for a rejected line, which no longer has an ingredient but stays visible so the curator can see what was discarded.

mapping_confidencenumber nullable
mapping_status'unmatched' | 'auto' | 'confirmed' | 'rejected' nullable

A rejected line is returned with resolved=true and no ingredient_id: it needs no further decision but is shown so the discard is visible.

original_textstring nullable

What the source said, for a scanned or imported line.

resolvedboolean
rxfood_idstring nullable
serving_unit_labelstring nullable
servingsnumber nullable
sort_orderinteger

Changes