changeset 680:ca814560dcb8

link to OrthancImport.py
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 May 2021 15:34:20 +0200
parents efc39728af20
children 9c23356b9464
files Sphinx/source/users/rest.rst
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/users/rest.rst	Fri May 07 12:25:39 2021 +0200
+++ b/Sphinx/source/users/rest.rst	Fri May 07 15:34:20 2021 +0200
@@ -94,12 +94,20 @@
     $ curl -X POST -H "Expect:" http://localhost:8042/instances --data-binary @CT.X.1.2.276.0.7230010.dcm
 
 The code distribution of Orthanc contains a `sample Python script
-<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`__
+<https://hg.orthanc-server.com/orthanc/file/Orthanc-1.9.3/OrthancServer/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`__
 that recursively upload the content of some folder into Orthanc using
 the REST API::
 
     $ python ImportDicomFiles.py localhost 8042 ~/DICOM/
 
+Starting with Orthanc 1.8.1, the source distribution of Orthanc
+includes another Python script named ``OrthancImport.py`` that
+provides more features than ``ImportDicomFiles.py``. It can notably
+import the content of ``.zip``, ``.tar.gz`` or ``.tar.bz2`` archives
+without having to uncompress them first. It also provides more
+comprehensive command-line options. `Check this script out
+<https://hg.orthanc-server.com/orthanc/file/Orthanc-1.9.3/OrthancServer/Resources/Samples/ImportDicomFiles/OrthancImport.py>`__.
+    
 
 .. highlight:: perl