public interface MailgunEventsApi extends MailgunApi
Mailgun tracks every event that happens to your emails and makes this data available to you through the Events API.
Mailgun retains this detailed data for one day for free accounts and up to 30 days for paid accounts based on the subscription plan.
| Modifier and Type | Method and Description |
|---|---|
EventsResponse |
getAllEvents(String domain)
Get all events that happen to your emails.
|
feign.Response |
getAllEventsFeignResponse(String domain)
Get all events that happen to your emails.
|
EventsResponse |
getEvents(String domain,
EventsQueryOptions queryOptions)
Get specified events that happen to your emails.
|
EventsResponse |
getEvents(String domain,
String pageId)
Fetches the next page of log records, assuming that the
pageId was returned by the previous request. |
feign.Response |
getEventsFeignResponse(String domain,
EventsQueryOptions queryOptions)
Get specified events that happen to your emails.
|
feign.Response |
getEventsFeignResponse(String domain,
String pageId)
Fetches the next page of log records, assuming that the
pageId was returned by the previous request. |
getApiVersionEventsResponse getAllEvents(String domain)
Get all events that happen to your emails.
domain - Name of the domainEventsResponsefeign.Response getAllEventsFeignResponse(String domain)
Get all events that happen to your emails.
domain - Name of the domainResponseEventsResponse getEvents(String domain, EventsQueryOptions queryOptions)
Get specified events that happen to your emails.
A request should define a time range and can specify a set of filters to apply.
In response, a page of events is returned along with URLs(Page ID) that can be used to retrieve the next and previous result pages.
To traverse the entire range, you should keep requesting the next page URLs returned along with result pages until an empty result page is reached.
domain - Name of the domainqueryOptions - EventsQueryOptionsEventsResponsefeign.Response getEventsFeignResponse(String domain, EventsQueryOptions queryOptions)
Get specified events that happen to your emails.
A request should define a time range and can specify a set of filters to apply.
In response, a page of events is returned along with URLs(Page ID) that can be used to retrieve the next and previous result pages.
To traverse the entire range, you should keep requesting the next page URLs returned along with result pages until an empty result page is reached.
domain - Name of the domainqueryOptions - EventsQueryOptionsResponseEventsResponse getEvents(String domain, String pageId)
Fetches the next page of log records, assuming that the pageId was returned by the previous request.
domain - Name of the domainpageId - Page IDEventsResponseCopyright © 2022. All rights reserved.