food
Update a food's associated user ids based on assignment
Changed onIdentify the food with exactly one of rxfood_id or food_name; sending neither or both returns 400. rxfood_id is preferred and matches a food of any nutrition source. food_name is legacy, only matches the "usda" food with that name, and will be deprecated once the Auditor sends rxfood_id.
patch/food/assign_task
Request
- Base URLhttps://api.rxfoodapp.com/api
- URLhttps://api.rxfoodapp.com/api/food/assign_task
- AuthHTTP bearer
Query parameters
food_namestring
rxfood_idstring
Request body
Response
successful operation
Changes
- info
added the new optional
queryrequest parameterrxfood_id - info
the
queryrequest parameterfood_namebecame optional
- info