全部產品
Search
文件中心

PolarDB:ApprovePolarClawDevicePair - 批准PolarClaw裝置配對

更新時間:May 15, 2026

批准PolarClaw裝置配對

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

POST  HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

ApplicationId

string

應用 ID

pa-**************

PairRequestId

string

配對請求 ID

req-abc-123

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

Id of the request

25C70FF3-D49B-594D-BECE-0DE2BA1D8BBB

Message

string

返回訊息

successful

Code

integer

返回狀態代碼

200

ApplicationId

string

應用 ID

pa-********************

PairRequestId

string

配對請求 ID

req-abc-123

Device

object

已配對裝置資訊

DeviceId

string

裝置唯一標識

device-l7rdl36iz6op66zf

DisplayName

string

裝置顯示名稱

test

Platform

string

作業系統平台

linux

DeviceFamily

string

硬體類別

server

Role

string

裝置角色

operator

Scopes

array

許可權範圍列表

string

許可權範圍

operator.read

CreatedAtMs

integer

裝置配對建立時間(Unix 毫秒)

1778662316663

樣本

正常返回樣本

JSON格式

{
  "RequestId": "25C70FF3-D49B-594D-BECE-0DE2BA1D8BBB",
  "Message": "successful",
  "Code": 200,
  "ApplicationId": "pa-********************",
  "PairRequestId": "req-abc-123",
  "Device": {
    "DeviceId": "device-l7rdl36iz6op66zf",
    "DisplayName": "test",
    "Platform": "linux",
    "DeviceFamily": "server",
    "Role": "operator",
    "Scopes": [
      "operator.read"
    ],
    "CreatedAtMs": 1778662316663
  }
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情