Class GlobalWebhooksResource

java.lang.Object
com.atlassian.confluence.plugins.restapi.resources.GlobalWebhooksResource

public class GlobalWebhooksResource extends Object
  • Constructor Details

    • GlobalWebhooksResource

      @Inject public GlobalWebhooksResource(com.atlassian.sal.api.message.I18nResolver i18nResolver, com.atlassian.sal.api.permission.PermissionEnforcer permissionEnforcer, OptionalServiceProvider optionalServiceProvider)
  • Method Details

    • createWebhook

      public javax.ws.rs.core.Response createWebhook(@Context javax.ws.rs.core.UriInfo uriInfo, com.atlassian.webhooks.internal.rest.RestWebhook webhook) throws ContentTooLongException
      Throws:
      ContentTooLongException
    • deleteWebhook

      public javax.ws.rs.core.Response deleteWebhook(int webhookId)
    • findWebhooks

      public javax.ws.rs.core.Response findWebhooks(@Context javax.ws.rs.core.UriInfo uriInfo, List<String> events, boolean statistics, int start, int limit)
    • getLatestInvocation

      public javax.ws.rs.core.Response getLatestInvocation(int webhookId, String eventId, Set<String> outcomes)
    • getStatistics

      public javax.ws.rs.core.Response getStatistics(int webhookId, String eventId)
    • getStatisticsSummary

      public javax.ws.rs.core.Response getStatisticsSummary(int webhookId)
    • getWebhook

      public javax.ws.rs.core.Response getWebhook(int webhookId, boolean statistics)
    • testWebhook

      public javax.ws.rs.core.Response testWebhook(String url) throws ContentTooLongException
      Throws:
      ContentTooLongException
    • updateWebhook

      public javax.ws.rs.core.Response updateWebhook(int webhookId, com.atlassian.webhooks.internal.rest.RestWebhook webhook) throws ContentTooLongException
      Throws:
      ContentTooLongException