Queue

Monday, July 16, 2018
1:32 PM

This endpoint allows you to push and pop messages onto our internal work queue

Collection /queue-job

This endpoint allows you to push and pop messages onto our internal work queue.
This not a true REST GET as it's not idempotent and will change the state of the queue, but if you're not bothered then neither are we.

Notes

These endpoints are protected with an API key, SYSTEM ONLY

GET /queue-job

Pop a job off of our work queue

item

value

Access

system

Full url

https://api.buto.tv/v2/queue-job

verb

GET

POST /queue-job

Push a job onto our work queue ready to process

item

value

Access

system

Full url

https://api.buto.tv/v2/queue-job

verb

POST

params

int:priority:1 for Low or 10 for Highmixed:data:json encoded array of job params