Method: customers.devices.signDevice
एचटीटीपी अनुरोध
POST https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}:signDevice
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल होता है.
पाथ पैरामीटर
पैरामीटर |
device.name |
string
सिर्फ़ आउटपुट. संसाधन पाथ का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में ये स्ट्रक्चर शामिल हैं:
जेएसओएन के काेड में दिखाना |
{
"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
डिवाइस का एफ़सीसी आइडेंटिफ़ायर.
|
device.serialNumber |
string
इसके लिए, डिवाइस बनाने वाली कंपनी ने डिवाइस को जो सीरियल नंबर असाइन किया है.
|
device.preloadedConfig |
object (DeviceConfig )
SAS पोर्टल API के ज़रिए बताए गए तरीके से डिवाइस का कॉन्फ़िगरेशन.
|
device.activeConfig |
object (DeviceConfig )
सिर्फ़ आउटपुट. डिवाइस का मौजूदा कॉन्फ़िगरेशन, SAS में रजिस्टर किया गया.
|
device.state |
enum (State )
सिर्फ़ आउटपुट. डिवाइस की स्थिति.
|
device.grants[] |
object (DeviceGrant )
सिर्फ़ आउटपुट. डिवाइस की मदद से दिए गए अनुदान.
|
device.displayName |
string
डिवाइस का डिसप्ले नेम.
|
device.deviceMetadata |
object (DeviceMetadata )
ऐसे डिवाइस पैरामीटर जिन्हें SAS पोर्टल और SAS पंजीकरण अनुरोधों, दोनों से ओवरराइड किया जा सकता है.
|
device.currentChannels[] (deprecated) |
object (ChannelWithScore )
सिर्फ़ आउटपुट. स्कोर वाले मौजूदा चैनल.
|
device.grantRangeAllowlists[] |
object (FrequencyRange )
अनुमति वाली सूची में सिर्फ़ वे रेंज उपलब्ध होती हैं जिन्हें अनुमति मिली है.
|
जवाब का मुख्य भाग
अनुरोध स्वीकार होने पर, मैसेज का मुख्य हिस्सा खाली होता है.
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/sasportal
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-11-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2022-11-02 (UTC) को अपडेट किया गया."],[[["Signs a device, using the provided device details in the request body."],["The HTTP request is a POST request to the specified URL with path parameters for device name."],["The request body includes device information such as FCC ID, serial number, configuration, and grant details."],["A successful response will have an empty body."],["Authorization requires the `https://www.googleapis.com/auth/sasportal` scope."]]],["This document details how to sign a device using a `POST` HTTP request to `https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}:signDevice`. The request includes a required `device.name` path parameter. The request body uses a JSON structure that outlines device attributes, like FCC ID, serial number, preloaded and active configurations, current grants, and display name. The operation requires `https://www.googleapis.com/auth/sasportal` OAuth scope and, if successful, returns an empty response body.\n"]]