Returns a URN naming policy by its id.
Access: Unauthorized (public) access allowed.
Returns a URN naming policy by its id.
Access: Unauthorized (public) access allowed.
| name | type | description | constraints |
|---|---|---|---|
| id | path | of the URN naming policy to return | required |
| code | condition |
|---|---|
| 200 | if the request was completed successfully |
| 404 | if no URN naming policy exists with the given id (error code 404001) |
| media type | data type | description |
|---|---|---|
| application/json | UrnNamingPolicy (JSON) | a URN naming policy |
GET /policies/urn-naming/id/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"self" : "http://example.org/policies/urn-naming/id/no-check",
"description" : "This policy verifies that URN follow the format urn:nbn:de:123-XXXXX"
}