Class IndexRangesResource

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

@Path("/system/indices/ranges") public class IndexRangesResource extends RestResource
  • Constructor Details

  • Method Details

    • list

      @GET @Timed @Produces("application/json") public IndexRangesResponse list()
    • show

      @GET @Path("/{index: [a-z_0-9]+}") @Timed @Produces("application/json") public IndexRangeSummary show(@PathParam("index") @NotEmpty @NotEmpty String index) throws NotFoundException
      Throws:
      NotFoundException
    • rebuild

      @POST @Timed @Path("/rebuild") @Produces("application/json") public javax.ws.rs.core.Response rebuild()
    • rebuildIndexSet

      @POST @Timed @Path("/index_set/{indexSetId}/rebuild") @Produces("application/json") public javax.ws.rs.core.Response rebuildIndexSet(@PathParam("indexSetId") @NotBlank @NotBlank String indexSetId)
    • rebuildIndex

      @POST @Timed @Path("/{index: [a-z_0-9-]+}/rebuild") @Produces("application/json") public javax.ws.rs.core.Response rebuildIndex(@PathParam("index") @NotEmpty @NotEmpty String index)