Punya waktu 5 menit? Bantu kami meningkatkan kualitas dokumentasi Google Workspace Marketplace dengan mengisi
survei online singkat.
Method: licenseNotification.list
Tidak digunakan lagi: Peristiwa penginstalan yang dimulai pengguna dapat dilacak melalui Google Analytics.
Mendapatkan daftar notifikasi pemberian lisensi terkait aplikasi tertentu.
Permintaan HTTP
GET https://appsmarket.googleapis.com/appsmarket/v2/licenseNotification/{applicationId}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
applicationId |
string
ID Aplikasi
|
Parameter kueri
Parameter |
max-results |
integer (uint32 format)
|
start-token |
string
|
timestamp |
string
Stempel waktu dalam milidetik sejak epoch
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat data dengan struktur berikut:
Representasi JSON |
{
"kind": string,
"notifications": [
{
object (LicenseNotification )
}
],
"nextPageToken": string
} |
Kolom |
kind |
string
|
notifications[] |
object (LicenseNotification )
Daftar notifikasi. Satu atau lebih dari:
provisions : Lisensi baru aplikasi telah disediakan.
expiries : Masa berlaku lisensi aplikasi telah berakhir.
deletions : Aplikasi telah dihapus dari domain.
reassignments : Administrator telah menetapkan atau mencabut lisensi kursi untuk aplikasi di domain yang diberikan.
|
nextPageToken |
string
Token yang digunakan untuk melanjutkan kueri notifikasi setelah notifikasi terakhir dalam kumpulan hasil saat ini.
|
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/appsmarketplace.license
Untuk mengetahui informasi selengkapnya, lihat Panduan otorisasi.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-02-27 UTC.
[null,null,["Terakhir diperbarui pada 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"]]