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 <arksine.code@gmail.com>
This commit is contained in:
parent
1b3efb1a78
commit
0ab9ffdc93
|
@ -808,6 +808,7 @@ Returns: Information about the host system in the following format:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"system_info": {
|
"system_info": {
|
||||||
|
"available_services": ["moonraker", "klipper"],
|
||||||
"cpu_info": {
|
"cpu_info": {
|
||||||
"cpu_count": 1,
|
"cpu_count": 1,
|
||||||
"bits": "32bit",
|
"bits": "32bit",
|
||||||
|
@ -884,7 +885,8 @@ and the socket connection will drop.
|
||||||
|
|
||||||
#### Restart a system service
|
#### Restart a system service
|
||||||
Restarts a system service via `sudo systemctl restart {name}`. Currently
|
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 request:
|
||||||
```http
|
```http
|
||||||
|
|
Loading…
Reference in New Issue