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.
GET /api/applicants/123/photo Host: apply.example.edu Authorization: DREAM apikey="..."
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. |
Content-Type: image/jpeg Content-Length: 1456