yanehi/raspberrypi-cocktailmachine

CRUD Recipe

janosch09 opened this issue · 0 comments

Create:

  • Create a new Recipe --> POST /apiv1/recipe

Read:

  • Get all Recipes --> GET /apiv1/recipe
  • Get one Recipe by name --> GET /apiv1/recipe/:name

Delete:

  • Delete one Recipe by name --> POST /apiv1/recipe/:name

Update:

  • Update one Recipe by name --> POST /apiv1/recipe/:name

Mix

  • Check by name if a cocktail is mixable--> GET /apiv1/recipe/:name/mixable
  • Mix a Cocktail by name --> GET /apiv1/recipe/:name/mix