Diversion policies API

get specific entry

GET /api/rest/admin/diversion-policies/:id

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzAsInN1YiI6NzZ9.R9nnU8incNh3LkJOUS7XzravubHYPaL2cPkT3waJgrU
Host: example.org
Cookie: 

Route

GET /api/rest/admin/diversion-policies/1

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"7d6be4dea3e40440609b3c65deb492fa"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 7345cc00-706e-46ee-b426-3d3f662bd7e8
X-Runtime: 0.011412
Content-Length: 159

Status

200 OK

Body

{
  "data": {
    "id": "1",
    "type": "diversion-policies",
    "links": {
      "self": "http://example.org/api/rest/admin/diversion-policies/1"
    },
    "attributes": {
      "name": "Do not accept"
    }
  }
}