From 0ab9ffdc93ebb9b54eaf450303578c6db64be64e Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Sun, 30 May 2021 14:36:28 -0400 Subject: [PATCH] docs: add machine API changes MoonCord and KlipperScreen have been added to supported services. The "/machine/system_info" endpoint now returns a list of available services that moonraker may control. Signed-off-by: Eric Callahan --- docs/web_api.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/web_api.md b/docs/web_api.md index 44d39d2..b783966 100644 --- a/docs/web_api.md +++ b/docs/web_api.md @@ -808,6 +808,7 @@ Returns: Information about the host system in the following format: ```json { "system_info": { + "available_services": ["moonraker", "klipper"], "cpu_info": { "cpu_count": 1, "bits": "32bit", @@ -884,7 +885,8 @@ and the socket connection will drop. #### Restart a system service Restarts a system service via `sudo systemctl restart {name}`. Currently -only the `moonraker`, `klipper`, and `webcamd` services are supported. +the `moonraker`, `klipper`, `MoonCord`, `KlipperScreen` and `webcamd` +services are supported. HTTP request: ```http