Method: customers.nodes.devices.createSigned
طلب HTTP
POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/devices:createSigned
يستخدم عنوان URL بنية gRPC Transcoding.
معلّمات المسار
المَعلمات |
parent |
string
مطلوبة. هو اسم المورد الرئيسي.
|
نص الطلب
يحتوي نص الطلب على بيانات بالبنية التالية:
تمثيل JSON |
{
"encodedDevice": string,
"installerId": string
} |
الحقول |
encodedDevice |
string (bytes format)
مطلوبة. تم توقيع رمز JSON المميّز للويب باستخدام مفتاح خاص للتكلفة لكل تثبيت. يجب أن تكون الحمولة ترميز JSON للسمة device . يجب إعداد الحقل userId . سلسلة مشفّرة.
|
installerId |
string
مطلوبة. رقم تعريف أداة التثبيت الفريد (رقم تعريف التكلفة لكل تثبيت) من قاعدة بيانات أخصائيي التثبيت المعتمدين.
|
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال Device
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/sasportal
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2022-11-02 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2022-11-02 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]