public interface MailgunTagsApi extends MailgunApi
The tags API
Mailgun lets you tag each outgoing message with a custom value and provides statistics on the tag level.
Tags are created on the fly but they are subject to a limit.
Note: Unicode characters are not allowed in tags. Any unicode characters found in tags are stripped from the tag. If tag is entirely unicode characters, the tag is ignored.
| Modifier and Type | Method and Description |
|---|---|
ResponseWithMessage |
deleteTag(String domain,
String tag)
Deletes the tag.
|
feign.Response |
deleteTagFeignResponse(String domain,
String tag)
Deletes the tag.
|
TagsResult |
getAllTags(String domain)
Returns a list of tags for a domain.
|
TagsResult |
getAllTags(String domain,
Integer limit)
Returns a list of tags for a domain.
|
feign.Response |
getAllTagsFeignResponse(String domain)
Returns a list of tags for a domain.
|
feign.Response |
getAllTagsFeignResponse(String domain,
Integer limit)
Returns a list of tags for a domain.
|
TagsItem |
getTag(String domain,
String tag)
Returns a given tag.
|
feign.Response |
getTagFeignResponse(String domain,
String tag)
Returns a given tag.
|
TagStatsResult |
getTagStatistics(String domain,
String tag,
StatisticsOptions statisticsOptions)
Returns statistics for a given tag.
|
feign.Response |
getTagStatisticsFeignResponse(String domain,
String tag,
StatisticsOptions statisticsOptions)
Returns statistics for a given tag.
|
TagCountriesResponse |
listTagCountries(String domain,
String tag)
Returns a list of countries of origin for a given domain for different event types.
|
feign.Response |
listTagCountriesFeignResponse(String domain,
String tag)
Returns a list of countries of origin for a given domain for different event types.
|
TagDevicesResponse |
listTagDevices(String domain,
String tag)
Returns a list of devices for a given domain that have triggered event types.
|
feign.Response |
listTagDevicesFeignResponse(String domain,
String tag)
Returns a list of devices for a given domain that have triggered event types.
|
TagProvidersResponse |
listTagProviders(String domain,
String tag)
Returns a list of email providers for a given domain for different event types.
|
feign.Response |
listTagProvidersFeignResponse(String domain,
String tag)
Returns a list of email providers for a given domain for different event types.
|
ResponseWithMessage |
updateTag(String domain,
String tag,
TagUpdateRequest tagUpdateRequest)
Updates a given tag with the information provided.
|
feign.Response |
updateTagFeignResponse(String domain,
String tag,
TagUpdateRequest tagUpdateRequest)
Updates a given tag with the information provided.
|
getApiVersionTagsResult getAllTags(String domain)
Returns a list of tags for a domain.
Default number of entries to return: 100.domain - Name of the domainTagsResultfeign.Response getAllTagsFeignResponse(String domain)
Returns a list of tags for a domain.
Default number of entries to return: 100.domain - Name of the domainResponseTagsResult getAllTags(String domain, Integer limit)
Returns a list of tags for a domain.
domain - Name of the domainlimit - Number of entries to return.TagsResultfeign.Response getAllTagsFeignResponse(String domain, Integer limit)
Returns a list of tags for a domain.
domain - Name of the domainlimit - Number of entries to return.ResponseTagsItem getTag(String domain, String tag)
Returns a given tag.
domain - Name of the domaintag - Name of the tagTagsItemfeign.Response getTagFeignResponse(String domain, String tag)
Returns a given tag.
domain - Name of the domaintag - Name of the tagResponseResponseWithMessage updateTag(String domain, String tag, TagUpdateRequest tagUpdateRequest)
Updates a given tag with the information provided.
domain - Name of the domaintag - Name of the tagtagUpdateRequest - TagUpdateRequestResponseWithMessagefeign.Response updateTagFeignResponse(String domain, String tag, TagUpdateRequest tagUpdateRequest)
Updates a given tag with the information provided.
domain - Name of the domaintag - Name of the tagtagUpdateRequest - TagUpdateRequestResponseTagStatsResult getTagStatistics(String domain, String tag, StatisticsOptions statisticsOptions)
Returns statistics for a given tag.
domain - Name of the domaintag - Name of the tagstatisticsOptions - StatisticsOptionsTagStatsResultfeign.Response getTagStatisticsFeignResponse(String domain, String tag, StatisticsOptions statisticsOptions)
Returns statistics for a given tag.
domain - Name of the domaintag - Name of the tagstatisticsOptions - StatisticsOptionsResponseResponseWithMessage deleteTag(String domain, String tag)
Deletes the tag.
Note: The statistics for the tag are not destroyed.domain - Name of the domaintag - Name of the tagResponseWithMessagefeign.Response deleteTagFeignResponse(String domain, String tag)
Deletes the tag.
Note: The statistics for the tag are not destroyed.domain - Name of the domaintag - Name of the tagResponseTagCountriesResponse listTagCountries(String domain, String tag)
Returns a list of countries of origin for a given domain for different event types.
domain - Name of the domaintag - Name of the tagTagCountriesResponsefeign.Response listTagCountriesFeignResponse(String domain, String tag)
Returns a list of countries of origin for a given domain for different event types.
domain - Name of the domaintag - Name of the tagResponseTagProvidersResponse listTagProviders(String domain, String tag)
Returns a list of email providers for a given domain for different event types.
domain - Name of the domaintag - Name of the tagTagProvidersResponsefeign.Response listTagProvidersFeignResponse(String domain, String tag)
Returns a list of email providers for a given domain for different event types.
domain - Name of the domaintag - Name of the tagResponseTagDevicesResponse listTagDevices(String domain, String tag)
Returns a list of devices for a given domain that have triggered event types.
domain - Name of the domaintag - Name of the tagTagDevicesResponseCopyright © 2022. All rights reserved.