Mercurial > hg > orthanc-book
diff Sphinx/source/users/rest.rst @ 449:2922fb1bd65e
fix links
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 03 Jul 2020 09:33:10 +0200 |
parents | 943515b68158 |
children | 7daa331a91a9 |
line wrap: on
line diff
--- a/Sphinx/source/users/rest.rst Tue Jun 30 11:58:03 2020 +0200 +++ b/Sphinx/source/users/rest.rst Fri Jul 03 09:33:10 2020 +0200 @@ -57,7 +57,7 @@ $ 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/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`__ +<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`__ that recursively upload the content of some folder into Orthanc using the REST API:: @@ -629,7 +629,7 @@ The list of the resources to be sent are given as a JSON array. In this case, a single DICOM connection is used. `Sample code is available - <https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/Python/HighPerformanceAutoRouting.py>`__. + <https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/Python/HighPerformanceAutoRouting.py>`__. Note that the list of resources to be sent can include the :ref:`Orthanc identifiers <orthanc-ids>` of entire patients, @@ -1012,7 +1012,7 @@ $ curl 'http://localhost:8042/changes?limit=100&since=922' A `sample code in the source distribution -<https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/Python/ChangesLoop.py>`__ +<https://hg.orthanc-server.com/orthanc/file/default/OrthancServer/Resources/Samples/Python/ChangesLoop.py>`__ shows how to use this Changes API to implement a polling loop.