recipes
Update a chef-owned recipe
put/chefs/recipes/{recipe_id}
Path parameters
recipe_idinteger required
Request body
Example request
{
"author": "Jane Doe",
"image_url": "https://example.com",
"ingredient_groups": [
{
"ingredients": [
{
"description": "1 cup of milk",
"food_name": "milk",
"food_name_alias": "milk",
"nutrient_overrides": {
"aa_patient": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"bb_reviewer": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"cc_external": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"dd_estimate": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"ee_validation": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
}
},
"serving_unit_amount": "1",
"serving_unit_label": "cup",
"servings": "10"
}
],
"name": "Icing"
}
],
"ingredients": [
{
"description": "1 cup of milk",
"food_name": "milk",
"food_name_alias": "milk",
"nutrient_overrides": {
"aa_patient": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"bb_reviewer": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"cc_external": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"dd_estimate": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"ee_validation": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
}
},
"serving_unit_amount": "1",
"serving_unit_label": "cup",
"servings": "10"
}
],
"label": "Quinoa Salad",
"nutrient_overrides": {
"aa_patient": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"bb_reviewer": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"cc_external": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"dd_estimate": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"ee_validation": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
}
},
"organization": "Diabetes Canada",
"url": "https://example.com"
}Response
successful operation
Example response
{
"author": "Jane Doe",
"image_url": "https://example.com",
"ingredient_groups": [
{
"ingredients": [
{
"description": "1 cup of milk",
"food_name": "milk",
"food_name_alias": "milk",
"nutrient_overrides": {
"aa_patient": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"bb_reviewer": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"cc_external": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"dd_estimate": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"ee_validation": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
}
},
"serving_unit_label": "cup"
}
]
}
],
"ingredient_responses": [
{
"description": "1 cup of milk",
"food_name": "milk",
"food_name_alias": "milk",
"nutrient_overrides": {
"aa_patient": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"bb_reviewer": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"cc_external": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"dd_estimate": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"ee_validation": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
}
},
"serving_unit_label": "cup"
}
],
"ingredients": [
"1 cup milk"
],
"instructions_str": "Some instructions",
"label": "Quinoa Salad",
"nutrient_overrides": {
"aa_patient": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"bb_reviewer": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"cc_external": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"dd_estimate": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
},
"ee_validation": {
"ontology": {
"id": 42,
"levels": [
"food"
]
}
}
},
"organization": "Diabetes Canada",
"url": "https://example.com"
}