Print queue

Pause or resume printing

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

Pauses printing for a duration (15m, 1h, 4h, 6h, 1d, or until resumed) or resumes it. Jobs keep queueing while paused. Timed pauses schedule a flush when they expire; resuming flushes due jobs immediately.

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
duration*|null

Response Body

OK

application/json
  1. response
pausedUntil*|null
curl -X POST 'https://api.tillor.eu/orgs/string/print-queue/pause' \  -H 'Content-Type: application/json' \  -d '{  "duration": "15m"}'
{  "pausedUntil": "2019-08-24T14:15:22Z"}