latestOpenAPI 3.0.02026-08-152990748.3 KB

dbfb49bf0bc7

Instances

Get attachment

Get the (binary) content of one attachment associated with the given instance

get/instances/{id}/attachments/{name}/data

Path parameters

idstring required

Orthanc identifier of the instance 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)