Class MetadataReconstructionResource

java.lang.Object
fr.gouv.vitam.metadata.rest.MetadataReconstructionResource

@Path("/v1") public class MetadataReconstructionResource extends Object
  • Field Details

  • Method Details

    • reconstructCollection

      @Path("/reconstruction") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response reconstructCollection(List<ReconstructionRequestItem> reconstructionItems)
      API to access and launch the Vitam reconstruction service for metadata.
      Parameters:
      reconstructionItems - list of reconstruction request items
      Returns:
      the response
    • storeGraph

      @Path("/storegraph") @GET @Produces("application/json") public javax.ws.rs.core.Response storeGraph()
      API to access and launch the Vitam store graph service for metadata.
      Returns:
      the response
    • storeGraphInProgress

      @Path("/storegraph/progress") @GET @Produces("application/json") public javax.ws.rs.core.Response storeGraphInProgress()
      Check if store graph is in progress.
      Returns:
      the response
    • purgeReconstructedDocumentsWithGraphOnlyData

      @Path("/purgeGraphOnlyDocuments/{collection:UNIT|OBJECTGROUP|UNIT_OBJECTGROUP}") @DELETE @Produces("application/json") public javax.ws.rs.core.Response purgeReconstructedDocumentsWithGraphOnlyData(@PathParam("collection") GraphComputeResponse.GraphComputeAction action)
      API to purge documents reconstructed but having only graph data This will remove all documents older than a configured delay (deleteIncompleteReconstructedUnitDelay) in vitam conf
      Returns:
      the response