/api/applications/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.
This is closely related to /api/applicants/123/documents/1 as the documents (and document ID-s) are the same, but they can be accessed via applicant (to get all of the documents) or via an application (this limits documents to only those that have been attached to an application).
Documentation presented in /api/applicants/123/documents/1 is not duplicated here. Please see there for more information.
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