क्या आपके पास पांच मिनट हैं?
एक छोटे से ऑनलाइन सर्वे में हिस्सा लेकर, Google Workspace Marketplace के दस्तावेज़ों को बेहतर बनाने में हमारी मदद करें.
Method: licenseNotification.list
अब काम नहीं करता: उपयोगकर्ता से शुरू किए गए इंस्टॉल इवेंट को Google Analytics के ज़रिए ट्रैक किया जा सकता है.
किसी ऐप्लिकेशन के लिए, लाइसेंस से जुड़ी सूचनाओं की सूची पाता है.
एचटीटीपी अनुरोध
GET https://appsmarket.googleapis.com/appsmarket/v2/licenseNotification/{applicationId}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
applicationId |
string
ऐप्लिकेशन आईडी
|
क्वेरी पैरामीटर
पैरामीटर |
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
ज़्यादा जानकारी के लिए, अनुमति से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]