Meal Plans
Create a meal plan, optionally with its first items
Changed onpost/api/meal-plans
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/meal-plans
- AuthHTTP bearer
Request body
Example request
{
"name": "This week",
"items": [
{
"name": "Lemon Chicken Traybake",
"servingSize": "1 serving",
"servings": 4,
"recipeYield": 2,
"calories": 420,
"protein": 35,
"carbs": 30,
"fat": 12,
"fiber": 5
}
]
}Changes
- breaking
the request property
became required - warning
deleted the
headerrequest parameterx-timezone - warning
removed the request property
- info
api operation id
MealPlansController_createMealPlanremoved and replaced withMealPlansController_createPlan - info
api tag
Meal Plansadded - info
api tag
Meal Planningremoved - info
added the new optional request property
- breaking
- info
endpoint added
- info