POST
/api/im/remote/pair/qr-confirm
Confirm QR pairing
Mobile client confirms a QR pairing by submitting the scanned offer ID and its
X25519 public key. Cloud completes the binding and pushes pairing.confirmed to
the daemon's control WS channel if the daemon is currently connected.
当前语言暂无代码示例
请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| offerId | string | Y | — | Offer ID returned by qr-init |
| clientPubKey | string | Y | — | Mobile X25519 public key, base64 |
| consumerDevice | string | N | — | Human-readable mobile device name |
响应示例
{
"ok": true,
"data": {
"bindingId": "binding-uuid",
"daemonId": "d1a2b3c4-uuid"
}
}