有空吗?欢迎填写
简短的在线调查问卷,帮助我们改进 Google Workspace Marketplace 中的文档。
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
时间戳(以从公元纪年开始计算的毫秒数表示)
|
响应正文
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
如需了解详情,请参阅授权指南。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-18。
[null,null,["最后更新时间 (UTC):2024-12-18。"],[[["Retrieves licensing notifications (provisions, expirations, deletions, reassignments) for a given Google Workspace Marketplace application."],["Requires the `https://www.googleapis.com/auth/appsmarketplace.license` OAuth scope for authorization."],["Uses a GET request to the `https://appsmarket.googleapis.com/appsmarket/v2/licenseNotification/{applicationId}` endpoint with optional query parameters for pagination and filtering by timestamp."],["Returns a JSON response containing a list of `LicenseNotification` objects and a token for retrieving further results if available."]]],["This document details retrieving licensing notifications for a given application via a `GET` request to `appsmarket.googleapis.com/appsmarket/v2/licenseNotification/{applicationId}`. It uses parameters like `max-results`, `start-token`, and `timestamp`. The response includes a `kind`, an array of `notifications` detailing provisions, expiries, deletions, or reassignments, and a `nextPageToken` for pagination. User-initiated install tracking should use Google Analytics, and the request requires the `https://www.googleapis.com/auth/appsmarketplace.license` OAuth scope.\n"]]