Method: deployments.devices.signDevice
एचटीटीपी अनुरोध
POST https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/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, 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"]]