com.atlassian.crowd.plugin.rest.service.resource
Class WebhooksResource
java.lang.Object
com.atlassian.crowd.plugin.rest.service.resource.AbstractResource
com.atlassian.crowd.plugin.rest.service.resource.WebhooksResource
public class WebhooksResource
- extends AbstractResource
Webhook management resource
- Since:
- v2.7
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebhooksResource
public WebhooksResource(WebhooksController webhooksController)
registerWebhook
public javax.ws.rs.core.Response registerWebhook(WebhookEntity webhookEntity)
throws InvalidWebhookEndpointException
- Throws:
InvalidWebhookEndpointException
registerWebhookWithSimpleBody
public javax.ws.rs.core.Response registerWebhookWithSimpleBody(String endpointUrl)
throws InvalidWebhookEndpointException
- Throws:
InvalidWebhookEndpointException
getWebhook
public javax.ws.rs.core.Response getWebhook(Long id)
throws WebhookNotFoundException,
ApplicationPermissionException
- Throws:
WebhookNotFoundException
ApplicationPermissionException
unregisterWebhook
public javax.ws.rs.core.Response unregisterWebhook(Long id)
throws WebhookNotFoundException,
ApplicationPermissionException
- Throws:
WebhookNotFoundException
ApplicationPermissionException
Copyright © 2013 Atlassian. All Rights Reserved.