/policies/urn-naming/id/{id} Resource

Returns a URN naming policy by its id.

Access: Unauthorized (public) access allowed.

GET /policies/urn-naming/id/{id}

Returns a URN naming policy by its id.

Access: Unauthorized (public) access allowed.

Request Parameters
name type description constraints
id path of the URN naming policy to return required
Response Codes
code condition
200 if the request was completed successfully
404 if no URN naming policy exists with the given id (error code 404001)
Response Body
media type data type description
application/json UrnNamingPolicy (JSON) a URN naming policy

Example

Request
GET /policies/urn-naming/id/{id}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
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"
}