docs: add "reset" parameter to post endpoint

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
This commit is contained in:
Pedro Lamas authored and Eric Callahan committed 2022-12-23 08:07:04 -05:00
1 parent 51fee3e7a1
commit a6b8a8a3e9
1 file changed
+9 -2
+9 -2
View File
@@ -2665,7 +2665,8 @@ Content-Type: application/json
"job1.gcode",
"job2.gcode",
"subdir/job3.gcode"
]
],
"reset": false
}
```
@@ -2679,12 +2680,18 @@ JSON-RPC request:
"job1.gcode",
"job2.gcode",
"subdir/job3.gcode"
]
],
"reset": false
},
"id": 4654
}
```
Parameters:
- `reset`: A boolean value indicating whether Moonraker should clear the
existing queued jobs before adding the new jobs. Defaults to `false`.
Returns:
The current state of the job queue: