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.

当前语言暂无代码示例

请求体

FieldTypeReqDefaultDescription
offerIdstringYOffer ID returned by qr-init
clientPubKeystringYMobile X25519 public key, base64
consumerDevicestringNHuman-readable mobile device name

响应示例

{
  "ok": true,
  "data": {
    "bindingId": "binding-uuid",
    "daemonId": "d1a2b3c4-uuid"
  }
}

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test