Returns a URL policy by its id.
Access: Unauthorized (public) access allowed.
Returns a URL policy by its id.
Access: Unauthorized (public) access allowed.
| name | type | description | constraints |
|---|---|---|---|
| id | path | of the URL policy to return | required |
| code | condition |
|---|---|
| 200 | if the request was completed successfully |
| 404 | if no URL policy exists with the given id (error code 404001) |
| media type | data type | description |
|---|---|---|
| application/json | UrlPolicy (JSON) | a URL policy |
GET /policies/url/id/{id}
Content-Type: */*
Accept: application/json
...
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."
}