adding stats api call. good for monitoring

This commit is contained in:
jbruce 2022-05-21 10:20:45 -04:00
parent 97a13e1a45
commit dcd722ad5f

View File

@ -10,3 +10,8 @@ restart the kiln on a specific profile and start at minute 60
stop a schedule stop a schedule
curl -d '{"cmd":"stop"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api curl -d '{"cmd":"stop"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
stats for currently running schedule
curl -d '{"cmd":"stats"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api