v1

latestOpenAPI 3.0.02026-07-132990743.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":"ada05909-0efc-43fd-b615-c5cafbaeacf8"}}

Example response

{
  "CompressedMD5": "26f3fad6ca0c355f02d57c7fa6770248",
  "CompressedSize": 526970,
  "ContentType": 1,
  "UncompressedMD5": "26f3fad6ca0c355f02d57c7fa6770248",
  "UncompressedSize": 526970,
  "Uuid": "ada05909-0efc-43fd-b615-c5cafbaeacf8"
}