Class EntitySuggestionResource
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.suggestions.EntitySuggestionResource
@RequiresAuthentication
@Path("/entity_suggestions")
@Produces("application/json")
public class EntitySuggestionResource
extends RestResource
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
Constructor Details
-
EntitySuggestionResource
-
-
Method Details
-
getPage
@GET @Timed public EntitySuggestionResponse getPage(@QueryParam("collection") String collection, @QueryParam("column") @DefaultValue("title") String column, @QueryParam("page") @DefaultValue("1") int page, @QueryParam("per_page") @DefaultValue("10") int perPage, @QueryParam("query") @DefaultValue("") String query)
-