Method: customers.devices.signDevice

חתימה על device.

בקשת HTTP

POST https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}:signDevice

כתובת ה-URL כוללת תחביר gRPC קידוד מחדש.

פרמטרים של נתיב

פרמטרים
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