Aller au contenu principal
Version: 5.8

Generic DIP creation

The Generic DIP creation service will create a very basic dissemination information package (DIP) for a list of persistent identifiers. No metadata will be added/extracted. The response will be a string (the target zip file name).

In case of errors during extracting the content, a errors.txt file will appear in the container with the respective information.

The root path for the service is genericdip.

POST Request

http://localhost:8080/rservices/rservices/genericdip/xml

Consumes an xml stream (Media type application/octet-stream) containing:

  • the filename for the container file to create
  • an optional path where the cotainer should be placed
  • for each object a PID and the filename to use
<?xml version="1.0" encoding="UTF-8"?>
<root>
<outputFilename>user_20170614113400000</outputFilename>
<outputFolder>/Users/Shared/workbench/6_access</outputFolder>
<item>
<pid>test:25</pid>
<name>example.pdf</name>
</item>
<item>
<pid>test:14</pid>
<name>example.txt</name>
</item>
</root>