Method: licenseNotification.list

已淘汰:您可以透過 Google Analytics 追蹤使用者啟動的安裝事件。

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

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

詳情請參閱授權指南