Created Recipe REST API (markdown)

Manuel83
2017-07-06 00:06:59 +02:00
parent 148eeccaf3
commit 1423204470
+20
@@ -0,0 +1,20 @@
CraftBeerPi 3.0 offers a RESP API import recipes from other systems.
**HTTP Endpoint**
Method: POST
URL: http://<RASPI-IP>: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}
]
}
```