docs: fixes invalid JSON in example

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
This commit is contained in:
Pedro Lamas 2025-02-17 10:21:28 +00:00 committed by Eric Callahan
parent 354cc11b8e
commit ccbb03f5f3

View File

@ -69,11 +69,13 @@ notify_status_update
"jsonrpc": "2.0",
"method": "notify_status_update",
"params": [
{
"gcode_move": {
"speed": 1500,
},
"toolhead": {
"status": "Ready"
}
},
578243.57824499
]
@ -511,7 +513,8 @@ notify_proc_stat_update
{
"jsonrpc": "2.0",
"method": "notify_proc_stat_update",
"params": [{
"params": [
{
"moonraker_stats": {
"time": 1615837812.0894408,
"cpu_usage": 1.99,
@ -539,7 +542,8 @@ notify_proc_stat_update
"cpu3": 1
},
"websocket_connections": 2
}]
}
]
}
```
///
@ -1268,7 +1272,7 @@ when the current active spool ID has changed.
notify_active_spool_set
```
```json
```{.json .apiresponse title="Example Notification"}
{
"jsonrpc": "2.0",
"method": "notify_active_spool_set",
@ -1308,7 +1312,7 @@ the connection status to Spoolman changes.
notify_spoolman_status_changed
```
```json
```{.json .apiresponse title="Example Notification"}
{
"jsonrpc": "2.0",
"method": "notify_spoolman_status_changed",