Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM1LCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzQwODUzMDI0fQ.yKVNvaxQvbtV_sm3BT3npyff73gQb5Ap-UUIC71ySIY Host: example.org Cookie:
GET /api/rest/admin/areas
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/"c7c7262b122beaa84d204e698296bded" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 671507fd-0b80-4d69-a4a1-7cb8867153d5 X-Runtime: 0.008694 Content-Length: 476
200 OK
{
"data": [
{
"id": "10",
"type": "areas",
"links": {
"self": "http://example.org/api/rest/admin/areas/10"
},
"attributes": {
"name": "Routing_Area_10"
}
},
{
"id": "11",
"type": "areas",
"links": {
"self": "http://example.org/api/rest/admin/areas/11"
},
"attributes": {
"name": "Routing_Area_11"
}
}
],
"meta": {
"total-count": 2
},
"links": {
"first": "http://example.org/api/rest/admin/areas?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"last": "http://example.org/api/rest/admin/areas?page%5Bnumber%5D=1&page%5Bsize%5D=50"
}
}