Start/Pause Multiple Jobs Using the REST API
DryvIQ supports the starting and pausing of multiple jobs at once. This feature supports filtering the full list of jobs by search criteria or starting/pausing all jobs. The syntax for starting and pausing jobs is very similar. This feature supports filtering the full list of jobs by search criteria or starting/pausing all jobs. The filtering options outlined in the examples apply to both actions.
By default, DryvIQ will run 6 jobs in parallel. For example, if you start 15 jobs at once, only the first 6 will execute. The rest will be in the queue to start as the others finish
Start all jobs
In this example, all jobs will be started.
PATCH {{url}}v1/jobs?start
Pause all jobs
In this example, all jobs will be paused.
PATCH {{url}}v1/jobs?pause
Start jobs using search text to filter the list of jobs
In this example, all jobs with the word "testjob" will be started.
PATCH {{url}}v1/jobs?q=testjob&start
Start jobs using an offset and limit to filter the list of jobs
In this example, the first five jobs after the seventh job will be started.
Start jobs with a specified parent job
In this scenario, all jobs with the specified parent job ID will be started.