Method: deployments.devices.signDevice
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Yêu cầu HTTP
POST https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}:signDevice
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
device.name |
string
Chỉ có đầ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
}
]
}
} |
Trường |
device.fccId |
string
Mã nhận dạng FCC của thiết bị.
|
device.serialNumber |
string
Số sê-ri do nhà sản xuất thiết bị chỉ định cho thiết bị.
|
device.preloadedConfig |
object (DeviceConfig )
Cấu hình của thiết bị, như được chỉ định thông qua SAS Portal API.
|
device.activeConfig |
object (DeviceConfig )
Chỉ có đầ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ỉ có đầu ra. Trạng thái thiết bị.
|
device.grants[] |
object (DeviceGrant )
Chỉ có đầu ra. Các quyền mà thiết bị có.
|
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ả Cổng SAS và yêu cầu đăng ký SAS đều có thể ghi đè.
|
device.currentChannels[] (deprecated) |
object (ChannelWithScore )
Chỉ có đầu ra. Các kênh hiện tại có điểm số.
|
device.grantRangeAllowlists[] |
object (FrequencyRange )
Chỉ những dải địa chỉ nằm trong danh sách cho phép mới có thể được cấp 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: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eSigns a device, requiring the \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses the \u003ccode\u003ePOST\u003c/code\u003e method and gRPC Transcoding syntax with the URL \u003ccode\u003ehttps://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}:signDevice\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003ePath parameters include \u003ccode\u003edevice.name\u003c/code\u003e which represents the resource path name.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires data specifying device details such as FCC ID, serial number, configuration, state, grants, display name, metadata, and allowed frequency ranges.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will return an empty body.\u003c/p\u003e\n"]]],["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"],null,[]]