diff --git a/Recipe-REST-API.md b/Recipe-REST-API.md new file mode 100644 index 0000000..56bfec8 --- /dev/null +++ b/Recipe-REST-API.md @@ -0,0 +1,20 @@ +CraftBeerPi 3.0 offers a RESP API import recipes from other systems. + +**HTTP Endpoint** + +Method: POST + +URL: http://:5000/api/recipe/import/v1/ + +**Request Body Example** +``` +{"name":"MY HOME BREW", + "steps": [ + {"name":"Mash1","type":"MASH", "timer": 10, "temp": 54}, + {"name":"Mash2","type":"MASH", "timer": 10, "temp": 54}, + {"name":"ChilStep","type":"CHIL", "timer": 10 }, + {"name":"BoilStep","type":"BOIL", "timer": 60, "temp": 54}, + {"name":"ChilStep","type":"CHIL", "timer": 15} + ] +} +``` \ No newline at end of file