REST API enhancement: Possibility to upload dicom instance from the http url

Hello,

It would be nice addition to support uploading of dicom images to Orthanc using http url as an image source. Currently there is a REST method POST http://localhost:8042/instances
which can be used to upload dicom files only from the file system.

Example use case would be to support uploading of dicom files directly from the third party archive using WADO url which would point to the original dicom file.

Any ideas?

Hi Esa,

I understand your point. This seems quite specific so I’m afraid that would not make it into Orthanc itself in a near future. However, if you have the ability to run a python plugin in your setup, that’s quite “simple” to extend the Orthanc Rest API with python to add a route that would handle that use case by downloading in a memory buffer and POSTing to /instances immediately after.

HTH

Alain