Class IndexResource
java.lang.Object
com.atlassian.confluence.plugins.rest.jackson2.resources.AbstractResource
com.atlassian.confluence.plugins.rest.jackson2.resources.IndexResource
@Path("/index")
@Produces("application/json;charset=UTF-8")
public class IndexResource
extends AbstractResource
-
Field Summary
Fields inherited from class com.atlassian.confluence.plugins.rest.jackson2.resources.AbstractResource
authContext, uriInfo, userAccessor
-
Constructor Summary
ConstructorsConstructorDescriptionIndexResource
(IndexManager indexManager) Deprecated, for removal: This API element is subject to removal in a future version.since 8.3.0IndexResource
(IndexManager indexManager, ReIndexService reIndexService) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
javax.ws.rs.core.Response
javax.ws.rs.core.Response
resetJob()
This endpoint deletes the current reindex jobjavax.ws.rs.core.Response
Methods inherited from class com.atlassian.confluence.plugins.rest.jackson2.resources.AbstractResource
createRequestContext, getAnonymousUserUriBuilder, getAttachmentUriBuilder, getContentUriBuilder, getCurrentUser, getMissingUserUriBuilder, getSpaceUriBuilder, getUserUriBuilder
-
Constructor Details
-
IndexResource
Deprecated, for removal: This API element is subject to removal in a future version.since 8.3.0 -
IndexResource
- Since:
- 8.3.0
-
-
Method Details
-
reindex
@Path("/reindex") @Consumes("application/json") @POST public javax.ws.rs.core.Response reindex(@QueryParam("option") List<String> options, @QueryParam("spaceKey") List<String> spaceKeys) throws InterruptedException - Throws:
InterruptedException
-
resetJob
@Path("/resetjob") @Consumes("application/json") @PUT public javax.ws.rs.core.Response resetJob()This endpoint deletes the current reindex job -
reIndexStatus
@Path("/reindex") @GET public javax.ws.rs.core.Response reIndexStatus() -
unIndexAll
@Path("/unindex") @Consumes("application/json") @POST public javax.ws.rs.core.Response unIndexAll()
-