Method: nodes.devices.signDevice
Yêu cầu HTTP
POST https://sasportal.googleapis.com/v1alpha1/{device.name=nodes/*/devices/*}:signDevice
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
device.name |
string
Chỉ đầu ra. Tên đường dẫn tài nguyên.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng 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
}
]
}
} |
Các trường |
device.fccId |
string
Mã nhận dạng FCC của thiết bị.
|
device.serialNumber |
string
Số sê-ri được nhà sản xuất thiết bị gán cho thiết bị.
|
device.preloadedConfig |
object (DeviceConfig )
Cấu hình của thiết bị, theo chỉ định thông qua API SAS Portal.
|
device.activeConfig |
object (DeviceConfig )
Chỉ đầu ra. Cấu hình hiện tại của thiết bị khi được đăng ký với SAS.
|
device.state |
enum (State )
Chỉ đầu ra. Trạng thái thiết bị.
|
device.grants[] |
object (DeviceGrant )
Chỉ đầu ra. Số tiền mà thiết bị giữ lại.
|
device.displayName |
string
Tên hiển thị của thiết bị.
|
device.deviceMetadata |
object (DeviceMetadata )
Các thông số thiết bị mà cả Yêu cầu đăng ký SAS và yêu cầu đăng ký SAS có thể ghi đè.
|
device.currentChannels[] (deprecated) |
object (ChannelWithScore )
Chỉ đầu ra. Những kênh hiện tại có tỷ số.
|
device.grantRangeAllowlists[] |
object (FrequencyRange )
Chỉ những phạm vi thuộc danh sách cho phép mới có thể cấp cho các khoản tài trợ mới.
|
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ trống.
Phạm vi cấp phép
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/sasportal
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2022-11-02 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2022-11-02 UTC."],[[["Signs a device, using the provided device information in the request body."],["The HTTP request is a POST request to the specified URL with the device name as a path parameter."],["The request body requires device details like FCC ID, serial number, configuration, and operational state."],["Authorization requires the `https://www.googleapis.com/auth/sasportal` scope."]]],["This document outlines how to sign a device using a `POST` HTTP request to `https://sasportal.googleapis.com/v1alpha1/{device.name=nodes/*/devices/*}:signDevice`. The request includes a JSON body with the `device` object, where we can define its attributes. Important fields include `fccId`, `serialNumber`, `preloadedConfig`, `activeConfig`, `state`, `grants`, `displayName`, `deviceMetadata` and `grantRangeAllowlists`. The `device.name` parameter is a string representing the resource path name. A successful request returns an empty response body and requires `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]