Method: customers.devices.updateSigned
HTTP リクエスト
PATCH https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:updateSigned
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
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
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-11-02 UTC。
[null,null,["最終更新日 2022-11-02 UTC。"],[[["This API updates a signed device in the Spectrum Access System."],["The request must include an encoded device and installer ID."],["The device payload must be JSON Web Token signed with a CPI private key and contain the userId field."],["Authorization requires the `https://www.googleapis.com/auth/sasportal` scope."]]],["This document details the process of updating a signed device via a PATCH request to the specified URL: `https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:updateSigned`. The `name` path parameter is required, representing the device's name. The request body must include a JSON object containing the `encodedDevice` (a base64-encoded JSON Web Token of the device) and the `installerId` (CPI ID). Successful requests return a Device instance and requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]