kiosk-print
Claim Next Print Job
Changed onLong-poll for the next job. 204 when the block expires with nothing — the agent simply calls again, which is the whole reconnect protocol.
db is safe to take here: a session checks out no connection until its first statement, so the CLAIM_BLOCK_SECONDS block below holds nothing from the pool, and the one UPDATE runs only once a job is in hand.
get/kiosk/print-jobs/next
Request
- Base URLhttps://stardrift.ai (the document declares no server; this is the origin it was published from)
- URLhttps://stardrift.ai/kiosk/print-jobs/next
- Authnone declared
Query parameters
printerstring nullable
station id
Response
Successful Response
unknown required
Changes
- info
added the new optional
queryrequest parameterprinter - info
added the non-success response with the status
- info
- info
endpoint added
- info