/api/applicants/consents

HEAD, GET

Get a list of all the consents that are currently in the system.

Syntax

GET /api/applicants/consents
Host: apply.example.edu
Authorization: DREAM apikey="..."

Response headers

Content-Type: application/json
Content-Length: 1234

Response example

{
  "1": {
      "instance_ID": 1,
      "type": "Mandatory",
      "text": "Some example consent text",
      "link": "www.example.com"
  },
  "2": {
      "instance_ID": 2,
      "type": "Voluntary",
      "text": "Some example consent text",
      "link": "www.example.com"
  }
}