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
  • Constructor Details

    • EntitySuggestionResource

      @Inject public EntitySuggestionResource(EntitySuggestionService entitySuggestionService)
  • 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)