Method: customers.devices.signDevice
คำขอ HTTP
POST https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/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, 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"]]