Adjusting the priority of encodings already in the queue
You can use /reprioritize
endpoint to reprioritize an encoding job that has already been added to the queue. This is particularly useful when you want to move a job to the top of the queue and execute it first, or when you need to adjust the priority of jobs based on changing needs.
API : Reprioritize Encoding
In this request, specify a priority level between 0 (lowest) and 100 (highest) for the encoding job. The higher the priority, the sooner the job will be processed. If multiple jobs have the same priority, they will be processed in the order they were added to the queue (FIFO).
If you need to adjust the priority of multiple encoding jobs, you can do so by making separate API calls for each job. Each call will adjust the priority for one specific encoding job identified by its encoding_id
.
Reprioritizing a job only changes its position in the queue and applies only to jobs that are in the queued state.
Updated 2 days ago