POST **rest/v1/students/{studentId}/documents/read/{hash}**
This endpoint returns the raw binary content of a document
- Z-Dev-ApiKey
- Z-Auth-Token
- User-Agent: zorro/1.0
- Z-Auth-Token: token
- studentId (required) — your student id obtained with the login
- hash (required) — the hash code of the document
Request
https://web.spaggiari.eu/rest/v1/students/{studentId}/documents/read/{hash}
Return
%����
3 0 obj
<</Type /Page
/Parent 1 0 R
/MediaBox [0 0 595.280 841.890]
/TrimBox [0.000 0.000 595.280 841.890]
/Resources 2 0 R
/Group << /Type /Group /S /Transparency /CS /DeviceRGB >>
/Contents 4 0 R>>
endobj
4 0 obj
<</Filter /FlateDecode /Length 1264>>
stream[...]