Method: customers.nodes.devices.createSigned
HTTP isteği
POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/devices:createSigned
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Ana kaynağın adı.
|
İstek metni
İstek gövdesi aşağıdaki yapıya sahip verileri içerir:
JSON gösterimi |
{
"encodedDevice": string,
"installerId": string
} |
Alanlar |
encodedDevice |
string (bytes format)
Zorunlu. JSON Web Token, YBM özel anahtarı kullanılarak imzalandı. Yük, device öğesinin JSON kodlaması olmalıdır. userId alanı ayarlanmalıdır. base64 kodlu bir dize.
|
installerId |
string
Zorunlu. Sertifikalı Profesyonel Yükleyiciler veritabanından alınan benzersiz yükleyici kimliği (YBM Kimliği).
|
Yanıt metni
Başarılıysa yanıt metni, Device
öğesinin bir örneğini içerir.
Yetkilendirme Kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/sasportal
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2022-11-02 UTC.
[null,null,["Son güncelleme tarihi: 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"]]