Method: deployments.devices.signDevice
طلب HTTP
POST https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/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, requiring the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization."],["The HTTP request uses the `POST` method and gRPC Transcoding syntax with the URL `https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}:signDevice`."],["Path parameters include `device.name` which represents the resource path name."],["The request body requires data specifying device details such as FCC ID, serial number, configuration, state, grants, display name, metadata, and allowed frequency ranges."],["A successful response will return an empty body."]]],["This document details how to sign a device using a `POST` HTTP request to `https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}:signDevice`. The `device.name` path parameter is required. The request body must contain a JSON representation of the device, including details such as `fccId`, `serialNumber`, `preloadedConfig`, `activeConfig`, `state`, `grants`, `displayName`, `deviceMetadata`, `currentChannels`, and `grantRangeAllowlists`. The JSON format represents the structure of the device's configuration. A successful request results in an empty response body. The request needs the OAuth scope `https://www.googleapis.com/auth/sasportal`.\n"]]