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 Portal 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
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 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"]]