OpenPrinterOpenPrinter
OpenPrinter Agent Gateway

Agent reports inventory changes

The agent sends additions, updates, and removals relative to the prior inventory revision. A server applies the change only when the revision advances without conflicting with its current registry.

Address

/.well-known/openprinter/gateway

Description

The authenticated, bidirectional OPPA gateway socket.

Messages

A delta from the previous inventory revision. Apply additions and updates, remove the listed IDs, and retain the new revision as the current snapshot version.

Payload

Message Example

{  "protocolVersion": "1",  "messageId": "inventory_change_01",  "sentAt": "2026-08-21T00:01:02Z",  "type": "agent.printer_inventory_changed",  "payload": {    "revision": 8,    "added": [],    "updated": [],    "removedPrinterIds": [      "printer_old"    ]  }}