public interface WebhookMethods
Modifier and Type | Method and Description |
---|---|
Webhook |
createWebhook(CreateWebhookParams params)
Create a webhook.
|
Webhook |
deleteWebhook(java.lang.Object projectIdOrKey,
java.lang.Object webhookId)
Deletes the existing webhook.
|
Webhook |
getWebhook(java.lang.Object projectIdOrKey,
java.lang.Object webhookId)
Returns the webhook.
|
ResponseList<Webhook> |
getWebhooks(java.lang.Object projectIdOrKey)
Returns all the webhooks.
|
Webhook |
updateWebhook(UpdateWebhookParams params)
Updates the existing webhook.
|
ResponseList<Webhook> getWebhooks(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project keyBacklogException
Webhook createWebhook(CreateWebhookParams params) throws BacklogException
params
- the creating webhook parameters.BacklogException
Webhook getWebhook(java.lang.Object projectIdOrKey, java.lang.Object webhookId) throws BacklogException
projectIdOrKey
- the project identifierwebhookId
- the webhook identifierBacklogException
Webhook updateWebhook(UpdateWebhookParams params) throws BacklogException
params
- the updating webhook parametersBacklogException
Webhook deleteWebhook(java.lang.Object projectIdOrKey, java.lang.Object webhookId) throws BacklogException
projectIdOrKey
- the project keywebhookId
- the webhook identifierBacklogException