Method: nodes.devices.signDevice
طلب HTTP
POST https://sasportal.googleapis.com/v1alpha1/{device.name=nodes/*/devices/*}:signDevice
يستخدم عنوان URL بنية gRPC Transcoding.
معلّمات المسار
المَعلمات |
device.name |
string
الناتج فقط. اسم مسار المورد
|
نص الطلب
يحتوي نص الطلب على بيانات بالبنية التالية:
تمثيل JSON |
{
"device": {
"name": string,
"fccId": string,
"serialNumber": string,
"preloadedConfig": {
"category": enum (DeviceCategory ),
"model": {
object (DeviceModel )
},
"airInterface": {
object (DeviceAirInterface )
},
"installationParams": {
object (InstallationParams )
},
"measurementCapabilities": [
enum (MeasurementCapability )
],
"userId": string,
"callSign": string,
"state": enum (State ),
"isSigned": boolean,
"updateTime": string
},
"activeConfig": {
"category": enum (DeviceCategory ),
"model": {
object (DeviceModel )
},
"airInterface": {
object (DeviceAirInterface )
},
"installationParams": {
object (InstallationParams )
},
"measurementCapabilities": [
enum (MeasurementCapability )
],
"userId": string,
"callSign": string,
"state": enum (State ),
"isSigned": boolean,
"updateTime": string
},
"state": enum (State ),
"grants": [
{
"maxEirp": number,
"frequencyRange": {
object (FrequencyRange )
},
"state": enum (GrantState ),
"channelType": enum (ChannelType ),
"moveList": [
{
object (DpaMoveList )
}
],
"expireTime": string,
"suspensionReason": [
string
],
"grantId": string,
"lastHeartbeatTransmitExpireTime": string
}
],
"displayName": string,
"deviceMetadata": {
"interferenceCoordinationGroup": string,
"commonChannelGroup": string,
"antennaModel": string,
"nrqzValidated": boolean,
"nrqzValidation": {
object (NrqzValidation )
}
},
"currentChannels": [
{
"frequencyRange": {
object (FrequencyRange )
},
"score": number
}
],
"grantRangeAllowlists": [
{
"lowFrequencyMhz": number,
"highFrequencyMhz": number
}
]
}
} |
الحقول |
device.fccId |
string
معرّف "هيئة الاتصالات الفيدرالية" (FCC) للجهاز
|
device.serialNumber |
string
رقم تسلسلي تم تخصيصه للجهاز من قِبل الشركة المصنّعة للجهاز.
|
device.preloadedConfig |
object (DeviceConfig )
إعداد الجهاز، على النحو المحدد عبر واجهة برمجة تطبيقات بوابة SAS.
|
device.activeConfig |
object (DeviceConfig )
الناتج فقط. عملية الإعداد الحالية للجهاز كما هو مسجَّل في قوائم التحقّق من الأمان (SAS).
|
device.state |
enum (State )
الناتج فقط. حالة الجهاز
|
device.grants[] |
object (DeviceGrant )
الناتج فقط. المِنح التي يحملها الجهاز
|
device.displayName |
string
الاسم المعروض للجهاز.
|
device.deviceMetadata |
object (DeviceMetadata )
معلّمات الجهاز التي يمكن إلغاؤها من خلال طلبات تسجيل SAS Portal وSAS.
|
device.currentChannels[] (deprecated) |
object (ChannelWithScore )
الناتج فقط. القنوات الحالية التي تحقق نتائج.
|
device.grantRangeAllowlists[] |
object (FrequencyRange )
لا تتوفّر سوى النطاقات ضمن القوائم المسموح بها للمِنح الجديدة.
|
نص الاستجابة
إذا كان ذلك ناجحًا، نص الاستجابة فارغ.
نطاقات الأذونات
يجب توفير نطاق 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 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Signs a device, using the provided device information in the request body."],["The HTTP request is a POST request to the specified URL with the device name as a path parameter."],["The request body requires device details like FCC ID, serial number, configuration, and operational state."],["Authorization requires the `https://www.googleapis.com/auth/sasportal` scope."]]],["This document outlines how to sign a device using a `POST` HTTP request to `https://sasportal.googleapis.com/v1alpha1/{device.name=nodes/*/devices/*}:signDevice`. The request includes a JSON body with the `device` object, where we can define its attributes. Important fields include `fccId`, `serialNumber`, `preloadedConfig`, `activeConfig`, `state`, `grants`, `displayName`, `deviceMetadata` and `grantRangeAllowlists`. The `device.name` parameter is a string representing the resource path name. A successful request returns an empty response body and requires `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]