From dcd722ad5f2124cd3f5b3a9ebfe194b3fce91732 Mon Sep 17 00:00:00 2001 From: jbruce Date: Sat, 21 May 2022 10:20:45 -0400 Subject: [PATCH] adding stats api call. good for monitoring --- docs/api.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/api.md b/docs/api.md index 92cda2a..483ff92 100644 --- a/docs/api.md +++ b/docs/api.md @@ -10,3 +10,8 @@ restart the kiln on a specific profile and start at minute 60 stop a schedule 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 +