Reference
Workers API Reference
Workers API
Add / Update a worker
POST
/workers
Adds a new worker or updates an existing one.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
queue
string
Name of the queue
endpoint
Endpoint
Endpoint options
opts
WorkerOptions
Options for the worker
Response
Remove worker
DELETE
/workers/:queue-name
Removes an existing worker for a given queue.
Headers
Name
Value
Authorization
Bearer <token>
Response
Get workers
GET
/workers
Gets all the workers registered in the proxy.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Response
Last updated