mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-09-19 15:59:07 +02:00
Created Recipe REST API (markdown)
@@ -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}
|
||||
]
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user