Method: customers.nodes.devices.createSigned
HTTP-Anfrage
POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/devices:createSigned
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Der Name der übergeordneten Ressource.
|
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung |
{
"encodedDevice": string,
"installerId": string
} |
Felder |
encodedDevice |
string (bytes format)
Erforderlich. JSON Web Token mit einem privaten CPI-Schlüssel signiert. Nutzlast muss die JSON-Codierung des device sein. Das Feld userId muss festgelegt werden. Ein base64-codierter String.
|
installerId |
string
Erforderlich. Eindeutige Installations-ID (CPI-ID) aus der Datenbank der zertifizierten Installateure.
|
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Device
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/sasportal
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2022-11-02 (UTC).
[null,null,["Zuletzt aktualisiert: 2022-11-02 (UTC)."],[[["This API creates a signed device under a node or customer within the Spectrum Access System."],["The request requires an HTTP POST to a specific URL with path parameters specifying the parent resource."],["The request body must contain a JSON Web Token representing the encoded device and a unique installer ID."],["Upon successful execution, the response returns details about the created device."],["Authorization requires the `https://www.googleapis.com/auth/sasportal` scope."]]],["This content outlines the process of creating a signed device under a node or customer via an HTTP POST request. The request is sent to a specific URL, utilizing gRPC Transcoding syntax. The required path parameter is `parent`, indicating the parent resource name. The request body, in JSON format, contains an `encodedDevice` (a JWT-signed device) and an `installerId` (CPI ID). Successful requests return a `Device` instance. This action requires the `sasportal` OAuth scope for authorization.\n"]]