Method: licenseNotification.list

取得特定應用程式的授權通知清單。

HTTP 要求

GET https://appsmarket.googleapis.com/appsmarket/v2/licenseNotification/{applicationId}

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
applicationId

string

應用程式 ID

查詢參數

參數
max-results

integer (uint32 format)

start-token

string

timestamp

string

時間戳記,以毫秒為單位,自 Epoch 紀元時間起算

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體即會包含具有以下結構的資料:

JSON 表示法
{
  "kind": string,
  "notifications": [
    {
      object (LicenseNotification)
    }
  ],
  "nextPageToken": string
}
欄位
kind

string

notifications[]

object (LicenseNotification)

通知清單。可包含下列內容:

  • provisions:應用程式的新授權已佈建。
  • expiries:應用程式的執照已過期。
  • deletions:應用程式已從網域中刪除。
  • reassignments:管理員已指派或撤銷所提供網域中應用程式的帳戶名額授權。
nextPageToken

string

這個符記,用於在目前結果集中的最終通知後繼續查詢通知。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/appsmarketplace.license

詳情請參閱授權指南