Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjY0LCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzkyNjE5ODAyfQ.K93r364d4KYu40gR3_A07fIeCdgTrdr0lGuq_xabCyI Host: example.org Cookie:
GET /api/rest/admin/contacts/56
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/"01a09abfc300d88eade95276835e31d3" cache-control: max-age=0, private, must-revalidate x-request-id: 8b3ff76c-8ed4-4f15-a27a-6809530c83a1 x-runtime: 0.008341 content-length: 398
200 OK
{
"data": {
"id": "56",
"type": "contacts",
"links": {
"self": "http://example.org/api/rest/admin/contacts/56"
},
"attributes": {
"email": "rspec_mail_3@example.com",
"notes": null
},
"relationships": {
"contractor": {
"links": {
"self": "http://example.org/api/rest/admin/contacts/56/relationships/contractor",
"related": "http://example.org/api/rest/admin/contacts/56/contractor"
},
"data": {
"type": "contractors",
"id": "30"
}
}
}
}
}