Meal Detail

The meal detail endpoint returns three additional fields that are not returned as part of the optimal diet endpoint response:

  • ingredients
    • an array of objects containing id and display_text fields.
  • instructions
    • a rich text field containing the detailed instructions on how to prepare the meal using the ingredients above
  • servings
    • an integer that represents the number of servings this meal recipe is meant for. Usually the value is 1, unless it is for a meal that is supposed to be prepared for multiple servings at once.

The rest of the returned fields are exactly the same as those returned from the optimal diet endpoint.