Gmail Postmaster Tools API
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Postmaster Tools API, şu anda Gmail Postmaster Tools kullanıcı arayüzü üzerinden kullanılabilen e-posta trafiği metriklerine (ör. spam raporları, teslim hataları vb.) programatik erişim sağlayan bir RESTful API'dir.
Hizmet: gmailpostmastertools.googleapis.com
Bu hizmeti çağırmak için Google tarafından sağlanan istemci kitaplıklarını kullanmanızı öneririz. Uygulamanızın bu hizmeti çağırmak için kendi kitaplıklarınızı kullanması gerekiyorsa API isteklerini gönderirken aşağıdaki bilgileri kullanın.
Keşif dokümanı
Keşif belgesi, REST API'leri tanımlamak ve kullanmak için makine tarafından okunabilir bir spesifikasyondur. İstemci kitaplıkları, IDE eklentileri ve Google API'leriyle etkileşime geçen diğer araçları oluşturmak için kullanılır. Bir hizmet birden fazla keşif dokümanı sağlayabilir. Bu hizmet, aşağıdaki keşif dokümanını sağlar:
Hizmet uç noktası
Hizmet uç noktası, bir API hizmetinin ağ adresini belirten bir ana URL'dir. Bir hizmetin birden fazla hizmet uç noktası olabilir. Bu hizmetin aşağıdaki hizmet uç noktası vardır ve aşağıdaki tüm URI'ler bu hizmet uç noktasıyla ilgilidir:
https://gmailpostmastertools.googleapis.com
Yöntemler |
get |
GET /v1/{name=domains/*}
İstemci tarafından kayıtlı belirli bir alanı alır. |
list |
GET /v1/domains
İstemci tarafından kaydedilen alanları listeler. |
Yöntemler |
get |
GET /v1/{name=domains/*/trafficStats/*}
Belirli bir tarihte bir alan için trafik istatistikleri alın. |
list |
GET /v1/{parent=domains/*}/trafficStats
Mevcut tüm günler için trafik istatistiklerini listeleyin. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],[],null,["# Gmail Postmaster Tools API\n\nThe Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.\n\n- [REST Resource: v1.domains](#v1.domains)\n- [REST Resource: v1.domains.trafficStats](#v1.domains.trafficStats)\n\nService: gmailpostmastertools.googleapis.com\n--------------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://gmailpostmastertools.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://gmailpostmastertools.googleapis.com`\n\nREST Resource: [v1.domains](/workspace/gmail/postmaster/reference/rest/v1/domains)\n----------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------|------------------------------------------------------------------------------|\n| [get](/workspace/gmail/postmaster/reference/rest/v1/domains/get) | `GET /v1/{name=domains/*}` Gets a specific domain registered by the client. |\n| [list](/workspace/gmail/postmaster/reference/rest/v1/domains/list) | `GET /v1/domains` Lists the domains that have been registered by the client. |\n\nREST Resource: [v1.domains.trafficStats](/workspace/gmail/postmaster/reference/rest/v1/domains.trafficStats)\n------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| [get](/workspace/gmail/postmaster/reference/rest/v1/domains.trafficStats/get) | `GET /v1/{name=domains/*/trafficStats/*}` Get traffic statistics for a domain on a specific date. |\n| [list](/workspace/gmail/postmaster/reference/rest/v1/domains.trafficStats/list) | `GET /v1/{parent=domains/*}/trafficStats` List traffic statistics for all available days. |"]]