Open Inventory / Docs
EndpunkteLabel printingLabelsQz sign

Sign an allowed QZ print request

Die API läuft auf deiner Anwendungsinstanz. Schemas und Feldnamen stammen unverändert aus der OpenAPI-Spezifikation. Browsergebundene Aufrufe benötigen eine Sitzung auf der Instanz.

POST
/labels/qz-sign

Requires a browser session with labels.read. Only recent printer-discovery requests and bounded, single-copy raw PT-P710BT jobs are accepted. Cross-site, file, network, serial and direct USB commands are rejected. Private keys remain on the server.

Authentifizierung

adminSession
cookieauthjs.session-token<token>

Authenticated Auth.js browser session cookie; each operation declares its required permission. Not restricted to administrators. HTTPS deployments use the secure-prefixed cookie variant.

Header-Parameter

X-Organization-ID?string

Organization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.

Formatuuid

Anfrageinhalt

application/json
  1. body
request*string

Exact serialized QZ request string.

Antwortinhalt

Base64 RSA SHA-512 signature.

response?stringtext/plain
Beispielanfrage
curl -X POST 'https://inventory.example.com/api/v1/labels/qz-sign' \  -H 'Content-Type: application/json' \  -d '{  "request": "string"}'
Beispielantwort
"string"