java.lang.Object
com.atlassian.confluence.plugins.restapi.resources.IndexResource

@Path("/index") @Produces("application/json;charset=UTF-8") @Consumes("application/json") public class IndexResource extends Object
Public REST API for search index management operations.
Since:
10.1
  • Constructor Details

    • IndexResource

      @Inject public IndexResource(IndexService indexService)
  • Method Details

    • reindex

      @Path("/reindex") @POST @PublicApi public jakarta.ws.rs.core.Response reindex(@QueryParam("option") List<ReIndexOption> options, @QueryParam("spaceKey") List<String> spaceKeys)
    • resetJob

      @Path("/resetjob") @PUT @PublicApi public jakarta.ws.rs.core.Response resetJob()
    • reIndexStatus

      @Path("/reindex") @GET @PublicApi public jakarta.ws.rs.core.Response reIndexStatus()
    • unIndexAll

      @Path("/unindex") @POST @PublicApi public jakarta.ws.rs.core.Response unIndexAll()