Gmail Postmaster Tools API
Postmaster Tools API は RESTful API で、メールのトラフィック指標(迷惑メールレポートや配信エラーなど)にプログラムでアクセスでき、現在は Gmail Postmaster Tools の UI から利用できます。
サービス: gmailpostmastertools.googleapis.com
このサービスを呼び出すには、Google が提供するクライアント ライブラリを使用することをおすすめします。アプリケーションで独自のライブラリを使用してこのサービスを呼び出す必要がある場合は、API リクエストを行う際に次の情報を使用します。
ディスカバリ ドキュメント
ディスカバリ ドキュメントは、REST API を記述して使用するための機械可読仕様です。クライアント ライブラリ、IDE プラグイン、Google API と連携するその他のツールのビルドに使用されます。1 つのサービスで複数のディスカバリ ドキュメントを提供できます。このサービスには、次の検索ドキュメントが用意されています。
サービス エンドポイント
サービス エンドポイントは、API サービスのネットワーク アドレスを指定するベース URL です。1 つのサービスに複数のサービス エンドポイントが存在することがあります。このサービスには次のサービス エンドポイントがあり、以下のすべての URI がこのサービス エンドポイントに関連しています。
https://gmailpostmastertools.googleapis.com
Methods |
get |
GET /v1/{name=domains/*}
クライアントによって登録された特定のドメインを取得します。 |
list |
GET /v1/domains
クライアントによって登録されたドメインを一覧表示します。 |
Methods |
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"]]