/api/applicants/consents/ID
HEAD, GET
Use the HEAD
verb to test if a consent with this ID exists. A request with the GET
verb returns some additional information about the consent.
Syntax
GET /api/applicants/consents/1 Host: apply.example.edu Authorization: DREAM apikey="..."
Response headers
Content-Type: application/json Content-Length: 1234
Response codes
200 OK | The consent exists |
400 Bad Request | The consent ID was not valid |
404 Not Found | The consent was not found |
Response example
{ "instance_ID": 1, "type": "Mandatory", "text": "Some example consent text", "link": "www.example.com" }