Payload for POST /urns.
Contains a new URN and additional information required for registering a new URN.
| name | data type | constraints | description |
|---|---|---|---|
| urn | string | required, max size: 1000, min size: 5 | The actual URN that should be registered. |
| urls | array of CreateUrlRequest | required, max size: 2147483647, min size: 1 | List of CreateUrlRequest
objects for the URLs these URN will resolve to.
Must contain at least one URL. |
Example
{
"urn" : "urn:nbn:de:101:1-200911171195",
"urls" : [ {
"url" : "http://example.org/the-document.pdf",
"owner" : "http://example.org/organisations/id/1516",
"priority" : 100
}, {
"url" : "http://example.org/the-document.pdf",
"owner" : "http://example.org/organisations/id/1516",
"priority" : 100
} ]
}