Method: nodes.deployments.devices.createSigned

nodecustomer 之下建立已簽署的 device

HTTP 要求

POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/deployments/*}/devices:createSigned

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

必要,父項資源的名稱。

要求主體

要求主體的資料會採用以下結構:

JSON 表示法
{
  "encodedDevice": string,
  "installerId": string
}
欄位
encodedDevice

string (bytes format)

必要,使用 CPI 私密金鑰簽署的 JSON Web Token。酬載必須是 device 的 JSON 編碼。必須設定userId欄位。

Base64 編碼的字串。

installerId

string

必要,認證專業安裝人數資料庫的專屬安裝程式 ID (CPI ID)。

回應主體

如果成功,回應主體會包含 Device 的執行例項。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/sasportal