v1

latestOpenAPI 3.0.02026-07-142740323.4 KB
Instances

Set attachment

Attach a file to the given DICOM instance. This call will fail if trying to modify a system attachment (i.e. whose index is < 1024).

put/instances/{id}/attachments/{name}

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)

Headers

If-Matchstring

Revision of the attachment, if this is not the first time this attachment is set.

Response

{"stackTrail":"paths:/instances/{id}/attachments/{name}:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown","description":"Empty JSON object in the case of a success"}