Method: licenseNotification.list
Ngừng sử dụng: Bạn có thể theo dõi các sự kiện cài đặt do người dùng khởi tạo thông qua Google Analytics.
Lấy danh sách thông báo cấp phép liên quan đến một ứng dụng nhất định.
Yêu cầu HTTP
GET https://appsmarket.googleapis.com/appsmarket/v2/licenseNotification/{applicationId}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
applicationId |
string
Mã ứng dụng
|
Tham số truy vấn
Thông số |
max-results |
integer (uint32 format)
|
start-token |
string
|
timestamp |
string
Dấu thời gian tính bằng mili giây kể từ thời gian bắt đầu của hệ thống
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"kind": string,
"notifications": [
{
object (LicenseNotification )
}
],
"nextPageToken": string
} |
Trường |
kind |
string
|
notifications[] |
object (LicenseNotification )
Danh sách thông báo. Một hoặc nhiều trong số:
provisions : Đã cấp giấy phép mới cho ứng dụng.
expiries : Giấy phép của ứng dụng đã hết hạn.
deletions : Một ứng dụng đã bị xoá khỏi một miền.
reassignments : Quản trị viên đã chỉ định hoặc thu hồi giấy phép chỗ ngồi cho ứng dụng trên miền được cung cấp.
|
nextPageToken |
string
Mã thông báo dùng để tiếp tục truy vấn thông báo sau thông báo cuối cùng trong tập kết quả hiện tại.
|
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/appsmarketplace.license
Để biết thêm thông tin, hãy xem Hướng dẫn uỷ quyền.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-02-27 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-02-27 UTC."],[[["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"]]