docs: update job_queue documentation

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2021-11-26 20:01:16 -05:00
parent 28e88b1363
commit e9b3d8e7ae

@ -2164,8 +2164,7 @@ Below is a description of the returned fields:
Adds a job, or an array of jobs, to the end of the job queue. The same Adds a job, or an array of jobs, to the end of the job queue. The same
filename may be specified multiple times to queue a job that repeats. filename may be specified multiple times to queue a job that repeats.
When multiple jobs are specfied they will be enqued in the order they When multiple jobs are specfied they will be enqued in the order they
are received. If the queue is empty and in the `ready` state, the first are received.
job supplied will be started.
!!! Note !!! Note
The request will be aborted and return an error if any of the supplied The request will be aborted and return an error if any of the supplied
@ -2177,7 +2176,7 @@ POST /server/job_queue/job?filenames=job1.gcode,job2.gcode,subdir/job3.gocde
``` ```
!!! Note !!! Note
Multiple jobs are should be comma separated as shown above. Multiple jobs should be comma separated as shown above.
Alternatively `filenames` maybe be specified as a json object Alternatively `filenames` maybe be specified as a json object
in the body of the request. in the body of the request.