public interface Webhooks
| Modifier and Type | Method and Description |
|---|---|
CreateWebhookResponse |
createWebhook(String accountId,
Map<String,Object> attributes)
Create a webhook in the account.
|
DeleteWebhookResponse |
deleteWebhook(String accountId,
String webhookId)
Delete a webhook from the account.
|
GetWebhookResponse |
getWebhook(String accountId,
String webhookId)
Get a specific webhook associated to an account using the webhook's ID.
|
ListWebhooksResponse |
listWebhooks(String accountId)
Lists the webhooks in the account.
|
ListWebhooksResponse |
listWebhooks(String accountId,
Map<String,Object> options)
Lists the webhooks in the account.
|
ListWebhooksResponse listWebhooks(String accountId) throws DnsimpleException, IOException
accountId - The account IDDnsimpleException - Any API errorsIOException - Any IO errorsListWebhooksResponse listWebhooks(String accountId, Map<String,Object> options) throws DnsimpleException, IOException
accountId - The account IDoptions - A Map of options to pass to the webhooks APIDnsimpleException - Any API errorsIOException - Any IO errorsGetWebhookResponse getWebhook(String accountId, String webhookId) throws DnsimpleException, IOException
accountId - The account IDwebhookId - The webhook IDDnsimpleException - Any API errorsIOException - Any IO errorsCreateWebhookResponse createWebhook(String accountId, Map<String,Object> attributes) throws DnsimpleException, IOException
accountId - The account IDattributes - A Map of attributes for constructing the webhookDnsimpleException - Any API errorsIOException - Any IO errorsDeleteWebhookResponse deleteWebhook(String accountId, String webhookId) throws DnsimpleException, IOException
accountId - The account IDwebhookId - The webhook IDDnsimpleException - Any API errorsIOException - Any IO errorsCopyright © 2017 DNSimple. All rights reserved.