This is an old revision of the document!
/api/applicants/ID/documents/ID
HEAD, GET
Use the HEAD
verb to just retrieve see the document metadata (name, size, mime-type). The GET
verb will retrieve the document (binary) data.
Please note that in Dream Apply a document stands for a single “page”. If the source document was a multi-page PDF or TIFF, it was rasterized and split into several documents corresponding to the number of the pages. The rasterization will normally be carried out at 150 dpi.
Even in case of single-page documents (JPEG files etc.) this will not return the original uploaded file bit-by-bit. In the process of uploading, the file is normalized to enhance contrast.
Syntax
GET /api/applicants/123/documents/1 Host: apply.example.edu Authorization: DREAM apikey="..."
Response headers
Content-Type: image/jpeg Content-Length: 1234 Last-Modified: 2014-05-16T14:59:53+00:00