Routing AreaPrefix API

get specific entry

GET /api/rest/admin/area-prefixes/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjMxLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzcyMjExOTk5fQ.x9u42OMzC03oRNrcVGlp5_t5vyw8Spdk69aIhuLwitk
Host: example.org
Cookie: 

Route

GET /api/rest/admin/area-prefixes/3

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"248c16b87d0dece157cec745ea4f311a"
cache-control: max-age=0, private, must-revalidate
x-request-id: 87ea3b09-6e49-4e02-b0c0-91d300909f0b
x-runtime: 0.006031
content-length: 323

Status

200 OK

Body

{
  "data": {
    "id": "3",
    "type": "area-prefixes",
    "links": {
      "self": "http://example.org/api/rest/admin/area-prefixes/3"
    },
    "attributes": {
      "prefix": "345"
    },
    "relationships": {
      "area": {
        "links": {
          "self": "http://example.org/api/rest/admin/area-prefixes/3/relationships/area",
          "related": "http://example.org/api/rest/admin/area-prefixes/3/area"
        }
      }
    }
  }
}