v1

latestOpenAPI 3.0.02026-07-142740323.4 KB
Tracking changes

List changes

Whenever Orthanc receives a new DICOM instance, this event is recorded in the so-called Changes Log. This enables remote scripts to react to the arrival of new DICOM resources. A typical application is auto-routing, where an external script waits for a new DICOM instance to arrive into Orthanc, then forward this instance to another modality.

get/changes

Query parameters

limitnumber

Limit the number of results

sincenumber

Show only the resources since the provided index

Response

Changesobject[]

The individual changes

Doneboolean

Whether the last reported change is the last of the full history

Lastnumber

The index of the last reported change, can be used for the since argument in subsequent calls to this route

Example response

{
  "Changes": [
    {
      "ChangeType": "NewInstance",
      "Date": "20180414T091510",
      "ID": "055bfbaf-2aae936c-82ed5a9a-9267f8b7-416a4000",
      "Path": "/instances/055bfbaf-2aae936c-82ed5a9a-9267f8b7-416a4000",
      "ResourceType": "Instance",
      "Seq": 1
    },
    {
      "ChangeType": "NewSeries",
      "Date": "20180414T091510",
      "ID": "318603c5-03e8cffc-a82b6ee1-3ccd3c1e-18d7e3bb",
      "Path": "/series/318603c5-03e8cffc-a82b6ee1-3ccd3c1e-18d7e3bb",
      "ResourceType": "Series",
      "Seq": 2
    }
  ],
  "Done": false,
  "Last": 2
}
All 274 operations