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

360 views
Skip to first unread message

Esa

unread,
May 24, 2022, 12:40:21 PM5/24/22
to Orthanc Users
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?

 

Alain Mazy

unread,
May 24, 2022, 12:53:13 PM5/24/22
to Esa, Orthanc Users
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

--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/e9c23840-e42b-4084-bab9-172bdc25b5c0n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages