Mercurial > hg > orthanc-book
diff Sphinx/source/users/rest.rst @ 360:d217af5e6cb3
links to hg
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Mar 2020 20:14:52 +0200 |
parents | 011b01ccf52d |
children | 6d7a36447e21 16dc3561b41e |
line wrap: on
line diff
--- a/Sphinx/source/users/rest.rst Mon Mar 30 20:03:51 2020 +0200 +++ b/Sphinx/source/users/rest.rst Mon Mar 30 20:14:52 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://bitbucket.org/sjodogne/orthanc/src/default/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`__ +<https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`__ that recursively upload the content of some folder into Orthanc using the REST API:: @@ -598,7 +598,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://bitbucket.org/sjodogne/orthanc/src/default/Resources/Samples/Python/HighPerformanceAutoRouting.py>`__. + <https://hg.orthanc-server.com/orthanc/file/default/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, @@ -922,7 +922,7 @@ $ curl 'http://localhost:8042/changes?limit=100&since=922' A `sample code in the source distribution -<https://bitbucket.org/sjodogne/orthanc/src/default/Resources/Samples/Python/ChangesLoop.py>`__ +<https://hg.orthanc-server.com/orthanc/file/default/Resources/Samples/Python/ChangesLoop.py>`__ shows how to use this Changes API to implement a polling loop.