This is an old revision of the document!
/api/applicants/ID/photo
HEAD, GET
Use HEAD
to see if the applicant has a photo uploaded and/or see the photo metadata (size, mime-type). Use GET
to request the binary photo data.
Syntax
GET /api/applicants/123/photo Host: apply.example.edu Authorization: DREAM apikey="..."
Parameters
Name | Description | Notes | |
---|---|---|---|
size | Optional | Requested transformed size of photo, possible values are “S”, “M”, “L”, “R”, “F” | The default value is “F” which applied the existing transformations, while “R” can skip all transformations and return the raw image. |
Response headers
Content-Type: image/jpeg Content-Length: 1456