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 Portal וגם דרך בקשות רישום SAS.
|
device.currentChannels[] (deprecated) |
object (ChannelWithScore )
פלט בלבד. הערוצים הנוכחיים עם הציונים.
|
device.grantRangeAllowlists[] |
object (FrequencyRange )
רק טווחים שנכללים ברשימות ההיתרים זמינים למענקים חדשים.
|
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יהיה ריק.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/sasportal
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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,[]]