Class WebhooksResourceHelper
java.lang.Object
com.atlassian.confluence.plugins.restapi.resources.webhooks.WebhooksResourceHelper
Temporary substitute for
WebhooksResourceHelper
,
for removal when jakarta migration is complete.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWebhooksResourceHelper
(com.atlassian.sal.api.message.I18nResolver i18nResolver, com.atlassian.confluence.plugins.restapi.resources.webhooks.RestResponseBuilder restBuilder, Supplier<Object> invocationHistoryServiceProvider, Supplier<Object> webhookServiceProvider, Consumer<com.atlassian.webhooks.WebhookScope> webhookScopeAdminValidator) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
createWebhook
(jakarta.ws.rs.core.UriInfo uriInfo, com.atlassian.webhooks.WebhookScope scope, com.atlassian.webhooks.internal.rest.RestWebhook webhook) jakarta.ws.rs.core.Response
deleteWebhook
(com.atlassian.webhooks.WebhookScope scope, int webhookId) jakarta.ws.rs.core.Response
findWebhooks
(jakarta.ws.rs.core.UriInfo uriInfo, com.atlassian.webhooks.WebhookScope scope, List<com.atlassian.webhooks.WebhookScope> scopes, List<String> eventIds, boolean statistics, int start, int limit) jakarta.ws.rs.core.Response
findWebhooks
(jakarta.ws.rs.core.UriInfo uriInfo, com.atlassian.webhooks.WebhookScope scope, List<String> eventIds, boolean statistics, int start, int limit) jakarta.ws.rs.core.Response
getLatestInvocation
(com.atlassian.webhooks.WebhookScope scope, int webhookId, String eventId, Set<String> outcomeNames) jakarta.ws.rs.core.Response
getStatistics
(com.atlassian.webhooks.WebhookScope scope, int webhookId, String eventId) jakarta.ws.rs.core.Response
getStatisticsSummary
(com.atlassian.webhooks.WebhookScope scope, int webhookId) jakarta.ws.rs.core.Response
getWebhook
(com.atlassian.webhooks.WebhookScope scope, int webhookId, boolean includeStatistics) jakarta.ws.rs.core.Response
testWebhook
(com.atlassian.webhooks.WebhookScope scope, String url) jakarta.ws.rs.core.Response
testWebhook
(com.atlassian.webhooks.WebhookScope scope, String url, boolean sslVerificationRequired, Integer webhookId, String username, String password) jakarta.ws.rs.core.Response
update
(com.atlassian.webhooks.WebhookScope scope, int webhookId, com.atlassian.webhooks.internal.rest.RestWebhook webhook)
-
Field Details
-
log
protected final org.slf4j.Logger log
-
-
Constructor Details
-
WebhooksResourceHelper
public WebhooksResourceHelper(com.atlassian.sal.api.message.I18nResolver i18nResolver, com.atlassian.confluence.plugins.restapi.resources.webhooks.RestResponseBuilder restBuilder, Supplier<Object> invocationHistoryServiceProvider, Supplier<Object> webhookServiceProvider, Consumer<com.atlassian.webhooks.WebhookScope> webhookScopeAdminValidator)
-
-
Method Details
-
createWebhook
public jakarta.ws.rs.core.Response createWebhook(jakarta.ws.rs.core.UriInfo uriInfo, com.atlassian.webhooks.WebhookScope scope, com.atlassian.webhooks.internal.rest.RestWebhook webhook) -
deleteWebhook
public jakarta.ws.rs.core.Response deleteWebhook(com.atlassian.webhooks.WebhookScope scope, int webhookId) -
findWebhooks
-
findWebhooks
-
getLatestInvocation
-
getStatistics
public jakarta.ws.rs.core.Response getStatistics(com.atlassian.webhooks.WebhookScope scope, int webhookId, String eventId) -
getStatisticsSummary
public jakarta.ws.rs.core.Response getStatisticsSummary(com.atlassian.webhooks.WebhookScope scope, int webhookId) -
getWebhook
public jakarta.ws.rs.core.Response getWebhook(com.atlassian.webhooks.WebhookScope scope, int webhookId, boolean includeStatistics) -
testWebhook
public jakarta.ws.rs.core.Response testWebhook(com.atlassian.webhooks.WebhookScope scope, String url) -
testWebhook
-
update
public jakarta.ws.rs.core.Response update(com.atlassian.webhooks.WebhookScope scope, int webhookId, com.atlassian.webhooks.internal.rest.RestWebhook webhook)
-