Gmail Postmaster Tools API
Postmaster Tools API เป็น RESTful API ที่ให้การเข้าถึงแบบเป็นโปรแกรมไปยังเมตริกการรับส่งอีเมล (เช่น รายงานสแปม ข้อผิดพลาดในการนำส่ง เป็นต้น) พร้อมใช้งานผ่าน UI เครื่องมือ Gmail Postmaster ในปัจจุบัน
บริการ: gmailpostmastertools.googleapis.com
หากต้องการเรียกใช้บริการนี้ เราขอแนะนำให้คุณใช้ไลบรารีของไคลเอ็นต์ที่ Google มีให้ หากแอปพลิเคชันจำเป็นต้องใช้ไลบรารีของคุณเองเพื่อเรียกใช้บริการนี้ ให้ใช้ข้อมูลต่อไปนี้เมื่อคุณส่งคำขอ API
เอกสารการค้นพบ
เอกสารการค้นพบเป็นข้อกำหนดที่เครื่องอ่านได้สำหรับการอธิบายและใช้งาน REST API ใช้สำหรับสร้างไลบรารีของไคลเอ็นต์, ปลั๊กอิน IDE และเครื่องมืออื่นๆ ที่โต้ตอบกับ Google APIs บริการเดียวอาจมีเอกสารการค้นพบได้หลายรายการ บริการนี้มีเอกสารการค้นพบต่อไปนี้
ปลายทางบริการ
ปลายทางของบริการคือ URL พื้นฐานที่ระบุที่อยู่เครือข่ายของบริการ API บริการเดียวอาจมีปลายทางบริการหลายรายการ บริการนี้มีปลายทางบริการต่อไปนี้และ URI ด้านล่างทั้งหมดจะเกี่ยวข้องกับปลายทางของบริการนี้
https://gmailpostmastertools.googleapis.com
วิธีการ |
get |
GET /v1/{name=domains/*}
รับโดเมนเฉพาะที่จดทะเบียนโดยไคลเอ็นต์ |
list |
GET /v1/domains
แสดงโดเมนที่ไคลเอ็นต์ได้จดทะเบียนไว้ |
วิธีการ |
get |
GET /v1/{name=domains/*/trafficStats/*}
ดูสถิติการเข้าชมของโดเมนในวันที่ที่ระบุ |
list |
GET /v1/{parent=domains/*}/trafficStats
แสดงรายการสถิติการเข้าชมสำหรับวันที่ใช้ได้ทั้งหมด |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-05 UTC
[null,null,["อัปเดตล่าสุด 2024-09-05 UTC"],[[["The Postmaster Tools API offers programmatic access to email traffic metrics, such as spam reports and delivery errors, which are also accessible through the Gmail Postmaster Tools UI."],["It is a RESTful API with a service endpoint at `https://gmailpostmastertools.googleapis.com`."],["Developers can use Google-provided client libraries or their own to interact with the API."],["The API allows you to get and list domains registered by the client and get traffic statistics for domains on specific dates or list them for all available days."],["A Discovery Document is available for generating client libraries and other tools to interact with the Google API."]]],["The Postmaster Tools API, accessible via `gmailpostmastertools.googleapis.com`, provides programmatic access to email traffic metrics. It offers two REST resources: `v1.domains` and `v1.domains.trafficStats`. The `v1.domains` resource allows retrieving a specific domain using `get` or listing all registered domains with `list`. The `v1.domains.trafficStats` resource enables fetching traffic statistics for a domain on a specific date (`get`) or listing traffic data for all available days (`list`).\n"]]