Package fr.gouv.vitam.metadata.rest

# Class PersistentIdentifierResource

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

@Path("/v1") public class PersistentIdentifierResource extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response`
  `getPersistentIdentifiers(String persistentIdentifier, String type)`
  API to get purged persistent identifiers
  `jakarta.ws.rs.core.Response`
  `reconstructPersistentIdentifiers(PersistentIdentifierReconstructionRequest requestItem)`
  API to access and launch the Vitam reconstruction service for Persistent Identifiers.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### reconstructPersistentIdentifiers

    @Path("/reconstruction-persistent-identifier") @POST @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response reconstructPersistentIdentifiers(PersistentIdentifierReconstructionRequest requestItem)
    API to access and launch the Vitam reconstruction service for Persistent Identifiers.
    Parameters:
      `requestItem` - request item
    Returns:
      the response

  - ### getPersistentIdentifiers

    @Path("/purgedPersistentIdentifier/{persistentIdentifier:.+}") @GET @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response getPersistentIdentifiers(@PathParam("persistentIdentifier") String persistentIdentifier, @QueryParam("type") @Nullable String type)
    API to get purged persistent identifiers
    Parameters:
      `persistentIdentifier` - persistent identifier
      `type` - Purged collection type
    Returns:
      the response