An applicant applies to a program at an organization.
Name | Type | Description | Example |
---|---|---|---|
href | string | Hypertext reference to this resource. pattern: /api/v1/user_identities/\d+/programs |
"/api/v1/user_identities/1/programs" |
programs/id | integer | Unique identifier of this program. | 42 |
programs/name | string | Human-readable name of this program. Likely to be repeated between organizations. | "Potions" |
programs/organization_name | nullable string | Human-readable name of organization whose program this is. | "Hogwarts School of Witchcraft and Wizardry" |
List existing programs.
GET /api/v1/user_identity/:user_identity_id/programs
$ curl -n https://api.webadmit.org/api/v1/user_identity/:user_identity_id/programs
HTTP/1.1 200 OK
{
"href": "/api/v1/user_identities/1/programs",
"programs": [
{
"id": 42,
"name": "Potions",
"organization_name": "Hogwarts School of Witchcraft and Wizardry"
}
]
}