Print queue

Force print queue flush

POST
/orgs/{organizationId}/print-queue/flush

Promotes all scheduled print queue jobs to pending (due now), then schedules an immediate background run to process pending and due jobs for the organization. No-ops while printing is paused.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
Default{}

Response Body

OK

application/json
  1. response
scheduled*unknown
promoted*number
curl -X POST 'https://api.tillor.eu/orgs/string/print-queue/flush' \  -H 'Content-Type: application/json' \  -d '{}'
{  "scheduled": true,  "promoted": 0}