Gmail Postmaster Tools API
पोस्टमास्टर टूल एपीआई एक RESTful API है, जो फ़िलहाल Gmail पोस्टमास्टर टूल यूज़र इंटरफ़ेस (यूआई) में उपलब्ध ईमेल ट्रैफ़िक मेट्रिक (जैसे कि स्पैम रिपोर्ट, डिलीवरी की गड़बड़ियां वगैरह) का प्रोग्राम के हिसाब से ऐक्सेस देता है.
सेवा: gmailpostMastertools.googleapis.com
इस सेवा को कॉल करने के लिए, हमारा सुझाव है कि आप Google की क्लाइंट लाइब्रेरी का इस्तेमाल करें. अगर इस सेवा को कॉल करने के लिए आपके ऐप्लिकेशन को आपकी खुद की लाइब्रेरी की ज़रूरत है, तो एपीआई अनुरोध करते समय यहां दी गई जानकारी का इस्तेमाल करें.
डिस्कवरी दस्तावेज़
डिस्कवरी दस्तावेज़ एक ऐसी खास जानकारी है जिसे मशीन आसानी से पढ़ सकती है. इससे REST API के बारे में जानकारी मिलती है और उसका इस्तेमाल किया जाता है. इसका इस्तेमाल क्लाइंट लाइब्रेरी, IDE प्लगिन, और Google API के साथ इंटरैक्ट करने वाले अन्य टूल बनाने के लिए किया जाता है. एक सेवा में, आपकी खोज से जुड़े कई दस्तावेज़ मिल सकते हैं. यह सेवा, खोज के लिए ये दस्तावेज़ उपलब्ध कराती है:
सर्विस एंडपॉइंट
सेवा एंडपॉइंट एक बेस यूआरएल होता है, जो किसी एपीआई सेवा के नेटवर्क पते के बारे में बताता है. एक सेवा में एक से ज़्यादा सेवा एंडपॉइंट हो सकते हैं. इस सेवा में नीचे दिया गया सर्विस एंडपॉइंट है और नीचे दिए गए सभी यूआरआई, इस सर्विस एंडपॉइंट से जुड़े हैं:
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
सभी उपलब्ध दिनों के ट्रैफ़िक के आंकड़ों की सूची बनाएं. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]