Class NotificationsResource

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

@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)