Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision |
api:api_applications_id_documents_id [2014/06/26 19:27] – created Lauri | api:api_applications_id_documents_id [2025/06/09 13:39] (current) – [HEAD, GET] Lauri |
---|
===== HEAD, GET ===== | ===== 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. | Will retrieve the document (binary) data. |
| |
This is closely related to [[api:api_applicants_123_documents_1|/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:api_applicants_123_documents_1|/api/applicants/123/documents/1]] is not duplicated here. Please see there for more information. | |
| |
==== Syntax ==== | ==== Syntax ==== |