v1

latestOpenAPI 3.0.02026-07-142740323.4 KB
Instances

Get info about the attachment

Get all the information about the attachment associated with the given instance

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

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-None-Matchstring

Optional revision of the attachment, to check if its content has changed

Response

{"stackTrail":"paths:/instances/{id}/attachments/{name}/info:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown","description":"JSON object containing the information about the attachment","example":{"CompressedMD5":"26f3fad6ca0c355f02d57c7fa6770248","CompressedSize":526970,"ContentType":1,"UncompressedMD5":"26f3fad6ca0c355f02d57c7fa6770248","UncompressedSize":526970,"Uuid":"b7c99eb7-229f-464e-8f46-6878c8e79e5c"}}

Example response

{
  "CompressedMD5": "26f3fad6ca0c355f02d57c7fa6770248",
  "CompressedSize": 526970,
  "ContentType": 1,
  "UncompressedMD5": "26f3fad6ca0c355f02d57c7fa6770248",
  "UncompressedSize": 526970,
  "Uuid": "b7c99eb7-229f-464e-8f46-6878c8e79e5c"
}