Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjYwLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzc2MzY1NzM0fQ.qcvrluQj4wpAcVrJj_ntq49nb0l8uc6Sd3LrL76F3JM Host: example.org Cookie:
GET /api/rest/admin/contacts/52
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/"87fe31e42366cf8c942c04133c074d2c" cache-control: max-age=0, private, must-revalidate x-request-id: 1859381e-13bd-4ee1-aec4-3686f00611b7 x-runtime: 0.005650 content-length: 398
200 OK
{
"data": {
"id": "52",
"type": "contacts",
"links": {
"self": "http://example.org/api/rest/admin/contacts/52"
},
"attributes": {
"email": "rspec_mail_3@example.com",
"notes": null
},
"relationships": {
"contractor": {
"links": {
"self": "http://example.org/api/rest/admin/contacts/52/relationships/contractor",
"related": "http://example.org/api/rest/admin/contacts/52/contractor"
},
"data": {
"type": "contractors",
"id": "27"
}
}
}
}
}