Method: customers.devices.createSigned
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
HTTP অনুরোধ
POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/devices:createSigned
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
parent | string প্রয়োজন। মূল সম্পদের নাম। |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"encodedDevice": string,
"installerId": string
} |
ক্ষেত্র |
---|
encodedDevice | string ( bytes format) প্রয়োজন। JSON ওয়েব টোকেন একটি CPI ব্যক্তিগত কী ব্যবহার করে স্বাক্ষরিত। পেলোড অবশ্যই [ডিভাইস] এর JSON এনকোডিং হতে হবে। একটি base64-এনকোডেড স্ট্রিং। |
installerId | string প্রয়োজন। সার্টিফাইড প্রফেশনাল ইনস্টলার ডাটাবেস থেকে অনন্য ইনস্টলার আইডি (cpiId)। |
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে Device
একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/userinfo.email
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eCreates a signed device under a node or customer using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eRequires a JSON Web Token signed with a CPI private key and a unique installer ID in the request body.\u003c/p\u003e\n"],["\u003cp\u003eReturns the created device details upon successful completion.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/userinfo.email\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This documentation details how to create a signed device under a node or customer. A `POST` request is sent to a specific URL, including a required `parent` path parameter. The request body must contain a `encodedDevice` string (a JWT signed with a CPI private key) and a `installerId` string. The successful response will include a `Device` instance. This operation requires OAuth scope: `https://www.googleapis.com/auth/userinfo.email`.\n"],null,["# Method: customers.devices.createSigned\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nCreates a signed [device](/spectrum-access-system/reference/rest/customers.devices#Device) under a [node](/spectrum-access-system/reference/rest/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/customers#Customer).\n\n### HTTP request\n\n`POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/devices:createSigned`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------|\n| `parent` | `string` Required. The name of the parent resource. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|------------------------------------------------------------|---|\n| ``` { \"encodedDevice\": string, \"installerId\": string } ``` |\n\n| Fields ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `encodedDevice` | `string (`[bytes](/discovery/v1/type-format)` format)` Required. JSON Web Token signed using a CPI private key. Payload must be the JSON encoding of the \\[Device\\]. A base64-encoded string. \u003cbr /\u003e |\n| `installerId` | `string` Required. Unique installer id (cpiId) from the Certified Professional Installers database. |\n\n### Response body\n\nIf successful, the response body contains an instance of [Device](/spectrum-access-system/reference/rest/customers.devices#Device).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/userinfo.email`"]]