Use the HEAD
verb to test if the applicant in question is associated with this consent. A request with the GET
verb returns some additional information about the consent association.
Note that this will not return the consent itself, but rather represents the relationships between the applicant and the consent. Follow the consent URI in the response to retrieve further information about the consent in question.
GET /api/applicants/123/consents/1 Host: apply.example.edu Authorization: DREAM apikey="..."
Content-Type: application/json Content-Length: 1234
200 OK | The consent association is found |
400 Bad Request | The consent ID was not valid |
404 Not Found | Applicant have not acted on this consent |
404 Not Found | The consent was not found |
{ "decided": "2014-06-29T18:11:15+00:00", "decision": "Accept" "consent": "/api/applicants/consents/1" }