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
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteKeyedNotification
(String notificationType, String notificationKey) void
deleteNotification
(String notificationType) Methods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
Constructor Details
-
NotificationsResource
-
-
Method Details
-
listNotifications
-
deleteNotification
@DELETE @Timed @Path("/{notificationType}") @Produces("application/json") public void deleteNotification(@PathParam("notificationType") String notificationType) -
deleteKeyedNotification
-