คุณมีเวลา 5 นาทีไหม ช่วยเราปรับปรุงเอกสารประกอบของ Google Workspace Marketplace โดยการตอบ
แบบสํารวจออนไลน์สั้นๆ
Method: licenseNotification.list
เลิกใช้งานแล้ว: เหตุการณ์การติดตั้งที่ผู้ใช้เริ่มสามารถติดตามได้ผ่าน Google Analytics
รับรายการการแจ้งเตือนเกี่ยวกับการอนุญาตให้ใช้สิทธิที่เกี่ยวข้องกับแอปหนึ่งๆ
คำขอ HTTP
GET https://appsmarket.googleapis.com/appsmarket/v2/licenseNotification/{applicationId}
URL ใช้ไวยากรณ์การแปลง 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
ดูข้อมูลเพิ่มเติมได้ที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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"]]