AlphaAlpha Docs

Get next job (any type)

Returns the highest-priority waiting job across house, block, and option sales configurations, wrapped in a type-tagged envelope. Tiebreak is older-first by created timestamp. Cross-tenant worker keys receive jobs from all tenants; the payload's tenantId identifies the job's tenant.

GET
/jobs/next
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/jobs/next"
{
  "payload": null,
  "type": "HOUSE"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}