public interface MailgunDomainsApi extends MailgunApi
The domains API allows you to create, access, and validate domains programmatically.
| Modifier and Type | Method and Description |
|---|---|
ResponseWithMessage |
createNewCredentials(String domain,
DomainCredentials request)
Creates a new set of SMTP credentials for the defined domain.
|
feign.Response |
createNewCredentialsFeignResponse(String domain,
DomainCredentials request)
Creates a new set of SMTP credentials for the defined domain.
|
DomainResponse |
createNewDomain(DomainRequest request)
Create a new domain.
|
feign.Response |
createNewDomainFeignResponse(DomainRequest request)
Create a new domain.
|
ResponseWithMessage |
deleteCredentials(String domain,
String login)
Deletes the defined SMTP credentials.
|
feign.Response |
deleteCredentialsFeignResponse(String domain,
String login)
Deletes the defined SMTP credentials.
|
ResponseWithMessage |
deleteDomain(String domain)
Delete a domain from your account.
|
feign.Response |
deleteDomainFeignResponse(String domain)
Delete a domain from your account.
|
DomainConnectionResponse |
getDomainConnectionSettings(String domain)
Returns delivery connection settings for the defined domain.
|
feign.Response |
getDomainConnectionSettingsFeignResponse(String domain)
Returns delivery connection settings for the defined domain.
|
DomainListResponse |
getDomainsList()
Returns a list of domains under your account (limit to 100 entries).
|
DomainListResponse |
getDomainsList(DomainsParametersFilter filter)
Returns a list of domains under your account.
|
feign.Response |
getDomainsListFeignResponse()
Returns a list of domains under your account (limit to 100 entries).
|
feign.Response |
getDomainsListFeignResponse(DomainsParametersFilter filter)
Returns a list of domains under your account.
|
DomainTrackingResponse |
getDomainTrackingSettings(String domain)
Returns tracking settings for a domain.
|
feign.Response |
getDomainTrackingSettingsFeignResponse(String domain)
Returns tracking settings for a domain.
|
SingleDomainResponse |
getSingleDomain(String domain)
Returns a single domain, including credentials and DNS records.
|
feign.Response |
getSingleDomainFeignResponse(String domain)
Returns a single domain, including credentials and DNS records.
|
ResponseWithMessage |
updateCredentials(String domain,
String login,
String password)
Updates the specified SMTP credentials.
|
feign.Response |
updateCredentialsFeignResponse(String domain,
String login,
String password)
Updates the specified SMTP credentials.
|
UpdateDomainClickTrackingSettingsResponse |
updateDomainClickTrackingSettings(String domain,
YesNoHtml active)
Updates the click tracking settings for a domain.
|
feign.Response |
updateDomainClickTrackingSettingsFeignResponse(String domain,
YesNoHtml active)
Updates the click tracking settings for a domain.
|
UpdateDomainConnectionResponse |
updateDomainConnectionSettings(String domain,
DomainConnectionRequest request)
Updates the specified delivery connection settings for the defined domain.
|
feign.Response |
updateDomainConnectionSettingsFeignResponse(String domain,
DomainConnectionRequest request)
Updates the specified delivery connection settings for the defined domain.
|
UpdateDomainOpenTrackingSettingsResponse |
updateDomainOpenTrackingSettings(String domain,
YesNo active)
Updates the open tracking settings for a domain.
|
feign.Response |
updateDomainOpenTrackingSettingsFeignResponse(String domain,
YesNo active)
Updates the open tracking settings for a domain.
|
UpdateDomainUnsubscribeTrackingSettingsResponse |
updateDomainUnsubscribeConnectionSettings(String domain,
DomainUnsubscribeConnectionSettingsRequest request)
Updates unsubscribe tracking settings for a domain.
|
feign.Response |
updateDomainUnsubscribeConnectionSettingsFeignResponse(String domain,
DomainUnsubscribeConnectionSettingsRequest request)
Updates unsubscribe tracking settings for a domain.
|
DomainResponse |
verifyDomain(String domain)
Verifies and returns a single domain, including credentials and DNS records.
|
feign.Response |
verifyDomainFeignResponse(String domain)
Verifies and returns a single domain, including credentials and DNS records.
|
getApiVersionDomainListResponse getDomainsList()
Returns a list of domains under your account (limit to 100 entries).
DomainListResponsefeign.Response getDomainsListFeignResponse()
Returns a list of domains under your account (limit to 100 entries).
ResponseDomainListResponse getDomainsList(DomainsParametersFilter filter)
Returns a list of domains under your account.
filter - DomainsParametersFilterDomainListResponsefeign.Response getDomainsListFeignResponse(DomainsParametersFilter filter)
Returns a list of domains under your account.
filter - DomainsParametersFilterResponseSingleDomainResponse getSingleDomain(String domain)
Returns a single domain, including credentials and DNS records.
domain - Name of the domainSingleDomainResponsefeign.Response getSingleDomainFeignResponse(String domain)
Returns a single domain, including credentials and DNS records.
domain - Name of the domainResponseDomainResponse verifyDomain(String domain)
Verifies and returns a single domain, including credentials and DNS records. If the domain is successfully verified the domain’s state will be ‘active’. For more information on verifying domains, visit: @see Verifying Your Domain
domain - Name of the domainDomainResponsefeign.Response verifyDomainFeignResponse(String domain)
Verifies and returns a single domain, including credentials and DNS records. If the domain is successfully verified the domain’s state will be ‘active’. For more information on verifying domains, visit: @see Verifying Your Domain
domain - Name of the domainResponseDomainResponse createNewDomain(DomainRequest request)
Create a new domain.
request - DomainRequestDomainResponsefeign.Response createNewDomainFeignResponse(DomainRequest request)
Create a new domain.
request - DomainRequestResponseResponseWithMessage deleteDomain(String domain)
Delete a domain from your account.
domain - Name of the domainResponseWithMessagefeign.Response deleteDomainFeignResponse(String domain)
Delete a domain from your account.
domain - Name of the domainResponseResponseWithMessage createNewCredentials(String domain, DomainCredentials request)
Creates a new set of SMTP credentials for the defined domain.
domain - Name of the domainrequest - DomainCredentialsResponseWithMessagefeign.Response createNewCredentialsFeignResponse(String domain, DomainCredentials request)
Creates a new set of SMTP credentials for the defined domain.
domain - Name of the domainrequest - DomainCredentialsResponseResponseWithMessage updateCredentials(String domain, String login, String password)
Updates the specified SMTP credentials. Currently only the password can be changed.
domain - Name of the domainlogin - Loginpassword - A password for the SMTP credentials. (Length Min 5, Max 32)ResponseWithMessagefeign.Response updateCredentialsFeignResponse(String domain, String login, String password)
Updates the specified SMTP credentials. Currently only the password can be changed.
domain - Name of the domainlogin - Loginpassword - A password for the SMTP credentials. (Length Min 5, Max 32)ResponseResponseWithMessage deleteCredentials(String domain, String login)
Deletes the defined SMTP credentials.
domain - Name of the domainlogin - LoginResponseWithMessagefeign.Response deleteCredentialsFeignResponse(String domain, String login)
Deletes the defined SMTP credentials.
domain - Name of the domainlogin - LoginResponseDomainConnectionResponse getDomainConnectionSettings(String domain)
Returns delivery connection settings for the defined domain.
domain - Name of the domainDomainConnectionResponsefeign.Response getDomainConnectionSettingsFeignResponse(String domain)
Returns delivery connection settings for the defined domain.
domain - Name of the domainResponseUpdateDomainConnectionResponse updateDomainConnectionSettings(String domain, DomainConnectionRequest request)
Updates the specified delivery connection settings for the defined domain.
domain - Name of the domainrequest - DomainConnectionRequestUpdateDomainConnectionResponsefeign.Response updateDomainConnectionSettingsFeignResponse(String domain, DomainConnectionRequest request)
Updates the specified delivery connection settings for the defined domain.
domain - Name of the domainrequest - DomainConnectionRequestResponseDomainTrackingResponse getDomainTrackingSettings(String domain)
Returns tracking settings for a domain.
domain - Name of the domainDomainTrackingResponsefeign.Response getDomainTrackingSettingsFeignResponse(String domain)
Returns tracking settings for a domain.
domain - Name of the domainResponseUpdateDomainOpenTrackingSettingsResponse updateDomainOpenTrackingSettings(String domain, YesNo active)
Updates the open tracking settings for a domain.
domain - Name of the domainactive - YesNoUpdateDomainOpenTrackingSettingsResponsefeign.Response updateDomainOpenTrackingSettingsFeignResponse(String domain, YesNo active)
Updates the open tracking settings for a domain.
domain - Name of the domainactive - YesNoResponseUpdateDomainClickTrackingSettingsResponse updateDomainClickTrackingSettings(String domain, YesNoHtml active)
Updates the click tracking settings for a domain.
domain - Name of the domainactive - YesNoHtml
If set to YES, links will be overwritten and pointed to our servers so we can track clicks.
If set to HTML_ONLY, links will only be rewritten in the HTML part of a message.
UpdateDomainClickTrackingSettingsResponsefeign.Response updateDomainClickTrackingSettingsFeignResponse(String domain, YesNoHtml active)
Updates the click tracking settings for a domain.
domain - Name of the domainactive - YesNoHtml
If set to YES, links will be overwritten and pointed to our servers so we can track clicks.
If set to HTML_ONLY, links will only be rewritten in the HTML part of a message.
ResponseUpdateDomainUnsubscribeTrackingSettingsResponse updateDomainUnsubscribeConnectionSettings(String domain, DomainUnsubscribeConnectionSettingsRequest request)
Updates unsubscribe tracking settings for a domain.
domain - Name of the domainrequest - DomainUnsubscribeConnectionSettingsRequestUpdateDomainUnsubscribeTrackingSettingsResponsefeign.Response updateDomainUnsubscribeConnectionSettingsFeignResponse(String domain, DomainUnsubscribeConnectionSettingsRequest request)
Updates unsubscribe tracking settings for a domain.
domain - Name of the domainrequest - DomainUnsubscribeConnectionSettingsRequestResponseCopyright © 2022. All rights reserved.