Class BitbucketCloudWebhooksResource
java.lang.Object
com.atlassian.bamboo.plugins.bitbucket.v2.webhooks.resource.BitbucketCloudWebhooksResource
@Consumes("application/json")
@Produces("application/json")
@Path("webhooks")
public class BitbucketCloudWebhooksResource
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionBitbucketCloudWebhooksResource
(com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
invokeBambooWithWebhook
(@Nullable BitbucketCloudWebhooksPayload body, @Nullable String eventKey)
-
Constructor Details
-
BitbucketCloudWebhooksResource
@Inject public BitbucketCloudWebhooksResource(com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
invokeBambooWithWebhook
@POST @Path("") public javax.ws.rs.core.Response invokeBambooWithWebhook(@Nullable @Nullable BitbucketCloudWebhooksPayload body, @Nullable @HeaderParam("X-Event-Key") @Nullable String eventKey) throws WebValidationException - Throws:
WebValidationException
-