docs: add "reset" parameter to post endpoint
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
This commit is contained in:
parent
51fee3e7a1
commit
a6b8a8a3e9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue