Overview
Excerpt |
---|
Identifiers can either be specified in REST API calls , and generated either automatically -generated using the internal PID minter , or generated using via an external REST service. |
...
If an identifier has already been generated by an application, it you can specify the identifier it when creating objects and datastreams resources using the PUT method:
Code Block |
---|
PUT /rest/abc123 |
...
To use a different identifier generation process, you can create a custom PID minter implementation, which can be configured in the same way as the external PID minter. If your identifiers are generated from an HTTP service, then you should consider extending (or improving) HttpPidMinter.java to meet your needs. Implementing the Implementing PidMinter interface is is another option.