Patients
Get attachment (no decompression)
Changed onGet the (binary) content of one attachment associated with the given patient. The attachment will not be decompressed if StorageCompression is true.
get/patients/{id}/attachments/{name}/compressed-data
Request
- Base URLhttps://orthanc.uclouvain.be/demo
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Orthanc identifier of the patient of interest
namestring required
The name of the attachment, or its index (cf. UserContentType configuration option)
Query parameters
filenamestring
Filename to set in the "Content-Disposition" HTTP header (including file extension)
Headers
If-None-Matchstring
Optional revision of the attachment, to check if its content has changed
Rangestring
Optional content range to access part of the attachment (new in Orthanc 1.12.5)
Changes
- warning
deleted the
headerrequest parameterContent-Range - info
added the new optional
headerrequest parameterRange
- warning