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.eyJleHAiOjE3MzE1Nzg3NTUsInN1YiI6OTZ9.2oOU6-Bgk4PX2g8hBAHSSAWWPW0ia2LdVn08sbpfaIk
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: de105107-7c57-4e29-b484-42c2d62aefbc
X-Runtime: 0.010846
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"
    }
  }
}