Class NotificationsResource

java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.system.NotificationsResource

@RequiresAuthentication @Path("/system/notifications") public class NotificationsResource extends RestResource
  • Constructor Details

    • NotificationsResource

      @Inject public NotificationsResource(NotificationService notificationService)
  • Method Details

    • listNotifications

      @GET @Timed @Produces("application/json") public Map<String,Object> listNotifications()
    • deleteNotification

      @DELETE @Timed @Path("/{notificationType}") @Produces("application/json") public void deleteNotification(@PathParam("notificationType") String notificationType)
    • deleteKeyedNotification

      @DELETE @Timed @Path("/{notificationType}/{notificationKey}") @Produces("application/json") public void deleteKeyedNotification(@PathParam("notificationType") String notificationType, @PathParam("notificationKey") @Nullable String notificationKey)