docs: add "reset" parameter to post endpoint

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
This commit is contained in:
Pedro Lamas 2022-12-22 22:42:51 +00:00 committed by Eric Callahan
parent 51fee3e7a1
commit a6b8a8a3e9
1 changed files with 9 additions and 2 deletions

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: