יש לך 5 דקות? מענה ל
סקר קצר באינטרנט יעזור לנו לשפר את התיעוד של Google Workspace Marketplace.
Method: licenseNotification.list
הוצא משימוש: אפשר לעקוב אחרי אירועי התקנה שהמשתמשים יזמו דרך Google Analytics.
הפונקציה מקבלת רשימה של התראות רישוי לגבי אפליקציה נתונה.
בקשת HTTP
GET https://appsmarket.googleapis.com/appsmarket/v2/licenseNotification/{applicationId}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
applicationId |
string
מזהה האפליקציה
|
פרמטרים של שאילתה
פרמטרים |
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
מידע נוסף זמין במדריך ההרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-02-27 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]