yanehi / raspberrypi-cocktailmachine

Cocktailmachine based on RaspberryPI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CRUD Recipe

janosch09 opened this issue · 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