Scenarios
These are the simplest of scenarios for AllQ
Put something on the queue
You would POST your job data to the REST API via /job endpoint with JSON body
Create Job
POST
http://localhost:8090/job
Puts a job on the queue
{
"job_id": "string"
}
{
"tube": "<TUBE NAME>", # REQUIRED
"body": "<BODY_TEXT>", # REQUIRED
"ttl": 1200,
"delay": 0,
"priority": 5,
"parent_id": "string"
}
Get job off the queue
GET
http://localhost:8090/job
Path Parameters
Name
Type
Description
tube
string
Name of tube
{
"id": "string",
"body": "string",
"tube": "string",
"expireds": 0,
"releases": 0
}
Mark a job as done
DELETE
http://localhost:8090/job
Path Parameters
Name
Type
Description
job_id
string
Id of job you are deleting
Last updated
Was this helpful?