Skip to Content
Print queue

Pause or resume printing

Acesso

Membro da organização com esta permissão:

  • printing:write

Uma chave de API com scopes também precisa da permissão nos seus scopes.

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
Example Request
curl -X POST 'https://api.tillor.eu/orgs//print-queue/pause' \  -H 'Content-Type: application/json' \  -d '{  "duration": "15m"}'
Example Response
{  "pausedUntil": "2019-08-24T14:15:22Z"}