POST /api/v1/training/diet-plans/{diet-plan-id}/meals
You can create a meal for a diet plan using this API.
diet_plan_meals.create
: to create meals for your diet plansdiet_plans.update
: to be able to update your own diet planstitle
: Title of the training service (maxlength 255)ingredients
: Ingredietnts (maxlength 2000)description
: An optional description for the training service (maxlength 2000)protein
: Protein of the meal in integer (grams)carb
: Carbs of the meal in integer (grams)fat
: Fat of the meal in integer (grams)calories
: Calories of the meal in integermeal_index
: Index (option per row) of the mealcategory_index
: Category (table) of the meal<diet plan meal resource>