/policies/url/id/{id} Resource

Returns a URL policy by its id.

Access: Unauthorized (public) access allowed.

GET /policies/url/id/{id}

Returns a URL policy by its id.

Access: Unauthorized (public) access allowed.

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

Example

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

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "self" : "http://example.org/policies/url/id/no-check",
  "description" : "This policy verifies that no URL is not registered more than once."
}