AllQ
  • What is AllQueue?
  • Getting Started
  • Install
    • Why AllQueue?
    • Architecture
    • 1. Install AllQueue Server
    • 2. Install AllQueue Client
    • Installation (Quick Start)
  • Foundational Concepts
    • Talking to AllQueue
    • Server/Client
    • Jobs
    • Tubes
    • Persistence
  • Features
    • Autobury Failed Jobs
    • Delayed Jobs/Scheduling
    • Priority
    • Workflow
    • Throttle
    • Fair Queuing
  • Configuration
  • Rest API Usage
  • Scenarios
  • Advanced
    • Docker Configuration Options
    • Federation Deployment
Powered by GitBook
On this page
  • Put something on the queue
  • Create Job
  • Get job off the queue
  • Mark a job as done

Was this helpful?

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

PreviousRest API UsageNextDocker Configuration Options

Last updated 4 years ago

Was this helpful?