Package fr.gouv.vitam.metadata.rest
Class PersistentIdentifierResource
- java.lang.Object
-
- fr.gouv.vitam.metadata.rest.PersistentIdentifierResource
-
@Path("/v1") public class PersistentIdentifierResource extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getPersistentIdentifiers(java.lang.String persistentIdentifier, java.lang.String type)
API to get purged persistent identifiersjavax.ws.rs.core.Response
reconstructPersistentIdentifiers(PersistentIdentifierReconstructionRequest requestItem)
API to access and launch the Vitam reconstruction service for Persistent Identifiers.
-
-
-
Method Detail
-
reconstructPersistentIdentifiers
@Path("/reconstruction-persistent-identifier") @POST @Consumes("application/json") @Produces("application/json") public javax.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 javax.ws.rs.core.Response getPersistentIdentifiers(@PathParam("persistentIdentifier") java.lang.String persistentIdentifier, @QueryParam("type") @Nullable java.lang.String type)
API to get purged persistent identifiers- Parameters:
persistentIdentifier
- persistent identifiertype
- Purged collection type- Returns:
- the response
-
-