Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API Overview

mininq exposes a JSON REST API over HTTP.

Base URL

http://localhost:6390

All request and response bodies use Content-Type: application/json.

Error Format

All errors return a JSON object with error and status fields:

{
  "error": "Job 019... not found",
  "status": 404
}

Status Codes

CodeMeaning
200Success
201Resource created
400Bad request (validation error)
404Resource not found
409Conflict (e.g., duplicate, active jobs)
500Internal server error

Route Table

MethodPathDescription
GET/healthHealth check
POST/jobsCreate a job
GET/jobsList jobs (with filters)
GET/jobs/{id}Get a single job
DELETE/jobs/{id}Cancel a pending job
POST/jobs/{id}/retryRetry a dead job
POST/queuesCreate a queue
GET/queuesList queues with stats
GET/queues/{name}Get a single queue with stats
PUT/queues/{name}Update queue settings
DELETE/queues/{name}Delete a queue
POST/queues/{name}/pausePause a queue
POST/queues/{name}/resumeResume a paused queue
POST/schedulesCreate a schedule
GET/schedulesList all schedules
GET/schedules/{id}Get a single schedule
PUT/schedules/{id}Update a schedule
DELETE/schedules/{id}Delete a schedule
GET/metricsGet system metrics
GET/dashboardWeb dashboard (HTML)