...
Codeblock | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK Connection: keep-alive Content-Type: application/json Content-Length: 656 Date: Wed, 13 Feb 2019 14:10:41 GMT { "name": "urn:nbn:de:example", "creationDate": "2019-02-13T15:08:55+0100", "lastModified": "2019-02-13T15:08:55+0100", "allowsRegistration": true, "organisationowner": "https://api.nbn-resolving.org/sandbox/v2/organisations/id/1", "urnNamingPolicy": "https://api.nbn-resolving.org/sandbox/v2/policies/urn-naming/id/no-check", "urlPolicy": "https://api.nbn-resolving.org/sandbox/v2/policies/url/id/no-check", "comment": null, "resolverUrl": "", "urns": "https://api.nbn-resolving.org/sandbox/v2/namespaces/name/urn:nbn:de:example/urns", "urnSuggestion": "https://api.nbn-resolving.org/sandbox/v2/namespaces/name/urn:nbn:de:example/urn-suggestion", "@id": "https://api.nbn-resolving.org/sandbox/v2/namespaces/name/urn:nbn:de:example" } |
...
Codeblock | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK Connection: keep-alive Content-Type: application/json Content-Length: 573 Date: Wed, 13 Feb 2019 14:53:08 GMT { "totalItems": 1, "items": [ { "url": "http://example.org/document-url", "creationDate": "2019-02-13T15:32:48+0100", "lastModified": "2019-02-13T15:32:48+0100", "urn": "https://api.nbn-resolving.org/sandbox/v2/urns/urn/urn:nbn:de:example-2019021315155244513532", "organisationowner": "https://api.nbn-resolving.org/sandbox/v2/organisations/id/1", "priority": 10, "@id": "https://api.nbn-resolving.org/sandbox/v2/urns/urn/urn:nbn:de:example-2019021315155244513532/urls/base64/aHR0cDovL2V4YW1wbGUub3JnL2RvY3VtZW50LXVybA==" } ], "@id": "https://api.nbn-resolving.org/sandbox/v2/urns/urn/urn:nbn:de:example-2019021315155244513532/urls" } |
...
Codeblock | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK Connection: keep-alive Content-Type: application/json Content-Length: 576 Date: Wed, 13 Feb 2019 14:56:02 GMT { "totalItems": 1, "items": [ { "url": "http://example.org/document-url", "creationDate": "2019-02-13T15:32:48+0100", "lastModified": "2019-02-13T15:32:48+0100", "urn": "https://api.nbn-resolving.org/sandbox/v2/urns/urn/urn:nbn:de:example-2019021315155244513532", "organisationowner": "https://api.nbn-resolving.org/sandbox/v2/organisations/id/1", "priority": 10, "@id": "https://api.nbn-resolving.org/sandbox/v2/urns/urn/urn:nbn:de:example-2019021315155244513532/urls/base64/aHR0cDovL2V4YW1wbGUub3JnL2RvY3VtZW50LXVybA==" } ], "@id": "https://api.nbn-resolving.org/sandbox/v2/urns/urn/urn:nbn:de:example-2019021315155244513532/my-urls" } |
...
Codeblock | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 200 OK Connection: keep-alive Content-Type: application/json Content-Length: 449 Date: Wed, 13 Feb 2019 15:01:21 GMT { "url": "http://example.org/document-url", "creationDate": "2019-02-13T15:32:48+0100", "lastModified": "2019-02-13T15:32:48+0100", "urn": "https://api.nbn-resolving.org/sandbox/v2/urns/urn/urn:nbn:de:example-2019021315155244513532", "organisationowner": "https://api.nbn-resolving.org/sandbox/v2/organisations/id/1", "priority": 10, "@id": "https://api.nbn-resolving.org/sandbox/v2/urns/urn/urn:nbn:de:example-2019021315155244513532/urls/base64/aHR0cDovL2V4YW1wbGUub3JnL2RvY3VtZW50LXVybA==" } |
...
Codeblock | ||||
---|---|---|---|---|
| ||||
HTTP/1.1 201 Created Connection: keep-alive Location: https://api.nbn-resolving.org/sandbox/v2/urns/urn/urn:nbn:de:example-2019021315155244513532/urls/base64/aHR0cDovL2V4YW1wbGUub3JnL2Fub3RoZXItZG9jdW1lbnQtdXJs Content-Type: application/json Content-Length: 466 Date: Wed, 13 Feb 2019 15:11:15 GMT { "url": "http://example.org/another-document-url", "creationDate": "2019-02-13T16:11:15+0100", "lastModified": "2019-02-13T16:11:15+0100", "urn": "https://api.nbn-resolving.org/sandbox/v2/urns/urn/urn:nbn:de:example-2019021315155244513532", "organisationowner": "https://api.nbn-resolving.org/sandbox/v2/organisations/id/1", "priority": 100, "@id": "https://api.nbn-resolving.org/sandbox/v2/urns/urn/urn:nbn:de:example-2019021315155244513532/urls/base64/aHR0cDovL2V4YW1wbGUub3JnL2Fub3RoZXItZG9jdW1lbnQtdXJs" } |
...