From 4aa2a86e3b8e9cc088d0067fbe715c8d2a242b4c Mon Sep 17 00:00:00 2001 From: Arksine Date: Fri, 1 Jan 2021 11:51:52 -0500 Subject: [PATCH] docs: Document "notify_klippy_shutdown" Signed-off-by: Eric Callahan --- README.md | 2 +- docs/api_changes.md | 3 +++ docs/web_api.md | 5 +++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 15d3d9f..86defec 100644 --- a/README.md +++ b/README.md @@ -21,4 +21,4 @@ Users:\ [user_changes.md](/docs/user_changes.md) - December 31st 2020 Developers:\ -[api_changes.md](/docs/api_changes.md) - December 30th 2020 +[api_changes.md](/docs/api_changes.md) - January 1st 2021 diff --git a/docs/api_changes.md b/docs/api_changes.md index 0abea78..6ba1a55 100644 --- a/docs/api_changes.md +++ b/docs/api_changes.md @@ -1,4 +1,7 @@ This document keeps a record of all changes to Moonraker's web APIs. +### January 1st 2021 +- A `notify_klippy_shutdown` websocket notification has been added + ### December 30th 2020 - Some additional fields are now reported in the response to `GET /machine/update/status`. diff --git a/docs/web_api.md b/docs/web_api.md index 736136a..9c2027f 100644 --- a/docs/web_api.md +++ b/docs/web_api.md @@ -1104,6 +1104,11 @@ Notify clients when Klippy has reported a ready state `{jsonrpc: "2.0", method: "notify_klippy_ready"}` +### Klippy Shutdown: +Notify clients when Klippy has reported a shutdown state + +`{jsonrpc: "2.0", method: "notify_klippy_shutdown"}` + ### Klippy Disconnected: Notify clients when Moonraker's connection to Klippy has terminated