Package org.graylog.events.rest
Class EventsResource
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog.events.rest.EventsResource
- All Implemented Interfaces:
PluginRestResource
@Path("/events")
@Produces("application/json")
@Consumes("application/json")
@RequiresAuthentication
public class EventsResource
extends RestResource
implements PluginRestResource
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService
-
Constructor Summary
-
Method Summary
Methods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
Constructor Details
-
EventsResource
-
-
Method Details
-
search
-
getById
@GET @Path("{event_id}") public Optional<EventsSearchResult.Event> getById(@PathParam("event_id") String eventId)
-