32 lines
680 B
Markdown
32 lines
680 B
Markdown
# `GET /agent/pair`
|
|
|
|
Public. No cookie required.
|
|
|
|
Pair printer agent via query parameters
|
|
|
|
Alternative GET endpoint for devices that pair via query parameters.
|
|
|
|
## Query parameters
|
|
|
|
| Param | Required | Type | Description |
|
|
|-------|----------|------|-------------|
|
|
| `authCode` | no | string | Pairing PIN (or pairingpin) |
|
|
| `pairingpin` | no | string | |
|
|
| `serial` | no | string | |
|
|
| `model` | no | string | |
|
|
| `version` | no | string | |
|
|
|
|
## Response `200`
|
|
|
|
Pairing successful
|
|
|
|
## Errors
|
|
|
|
| Status | Description |
|
|
|--------|-------------|
|
|
| 400 | Missing or invalid pairing PIN |
|
|
|
|
---
|
|
|
|
_Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._
|