Method: deployments.devices.signDevice
HTTP-Anfrage
POST https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}:signDevice
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
device.name |
string
Nur Ausgabe. Der Name des Ressourcenpfads.
|
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung |
{
"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
}
]
}
} |
Felder |
device.fccId |
string
Die FCC-ID des Geräts.
|
device.serialNumber |
string
Eine Seriennummer, die dem Gerät vom Gerätehersteller zugewiesen wurde.
|
device.preloadedConfig |
object (DeviceConfig )
Konfiguration des Geräts, wie über die SAS Portal API angegeben.
|
device.activeConfig |
object (DeviceConfig )
Nur Ausgabe. Aktuelle Konfiguration des Geräts, die beim SAS registriert ist.
|
device.state |
enum (State )
Nur Ausgabe. Gerätestatus
|
device.grants[] |
object (DeviceGrant )
Nur Ausgabe. Zuschüsse des Geräts.
|
device.displayName |
string
Angezeigter Name des Geräts.
|
device.deviceMetadata |
object (DeviceMetadata )
Geräteparameter, die sowohl von SAS Portal- als auch SAS-Registrierungsanfragen überschrieben werden können.
|
device.currentChannels[] (deprecated) |
object (ChannelWithScore )
Nur Ausgabe. Aktuelle Kanäle mit Bewertungen.
|
device.grantRangeAllowlists[] |
object (FrequencyRange )
Für neue Zuschüsse sind nur Bereiche verfügbar, die auf der Zulassungsliste stehen.
|
Antworttext
Wenn der Vorgang erfolgreich ist, ist der Antworttext leer.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/sasportal
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2022-11-02 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]