DIP creation
The DIP creation service will create a dissemination information package (DIP) for a given persistent identifier which contains the document, related documents if existing together with all metadata.
The root path for the service is dip
, and the following sub-resources are available:
GET dip/fromoriginal
POST dip/ead
GET Request
http://localhost:8080/rservices/rservices/dip/fromoriginal?pid=it-01%3A3&verifyChecksum=true&recursively=true
parameter | description |
---|---|
pid | The persistent identifier of the object for which the DIP should be created. |
verifyChecksum | (optional): if true , will compare checksums for each exported file. Default is false . |
recursively | (optional): if true , objects will be exported including their child objects according to repository relations. Default is true . |
Response: The response will be a zipped file with all the content within. This file can be opened directly with docuteam tools like docuteam packer.
POST Request
http://localhost:8080/rservices/rservices/dip/ead
Consumes an EAD xml stream (Media type application/octet-stream) to be used for descriptive metadata and structure.
Response: returns a string with the DIP file name to be found in target.dip.folder
.