Tracker

Save a recipe

Store a named ingredient list so it can be logged as one solid meal.

post/api/vega/recipes

Request

  • Base URL: https://getmyluna.app
  • URL: https://getmyluna.app/api/vega/recipes
  • Auth: one of:
    • HTTP bearer
    • API key in cookie luna_session

Request body

namestring required
ingredientsstring[] required

Example request

{
  "name": "lentil dahl",
  "ingredients": [
    "red lentils",
    "carrot",
    "coconut milk"
  ]
}

Response

Success

status'ok' required
recipeobject required

Changes

No recorded changes to this operation across all 1 revision of this API.