Mercurial > hg > orthanc-book
diff Sphinx/source/users/advanced-rest.rst @ 719:8a247c645ac6 Orthanc-1.9.4
Orthanc 1.9.4
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 24 Jun 2021 09:52:22 +0200 |
parents | 650100457193 |
children | e6386c012438 |
line wrap: on
line diff
--- a/Sphinx/source/users/advanced-rest.rst Tue Jun 22 21:09:00 2021 +0200 +++ b/Sphinx/source/users/advanced-rest.rst Thu Jun 24 09:52:22 2021 +0200 @@ -132,7 +132,7 @@ ``ErrorCode`` and ``ErrorDescription`` fields for more information. * ``Paused``: The job has been paused. * ``Retry``: The job has failed internally, and has been scheduled for - re-submission after a delay. As of Orthanc 1.9.3, this feature is not + re-submission after a delay. As of Orthanc 1.9.4, this feature is not used by any type of job. In order to wait for the end of an asynchronous call, the caller will @@ -141,7 +141,7 @@ ``Failure``. Note that the `integration tests of Orthanc -<https://hg.orthanc-server.com/orthanc-tests/file/Orthanc-1.9.3/Tests/Toolbox.py>`__ +<https://hg.orthanc-server.com/orthanc-tests/file/Orthanc-1.9.4/Tests/Toolbox.py>`__ give an example about how to monitor a job in Python using the REST API (cf. function ``MonitorJob()``). @@ -202,7 +202,7 @@ Note how we retrieve the content of the archive by accessing the ``archive`` output of the job (check out the virtual method ``IJob::GetOutput()`` from the `source code -<https://hg.orthanc-server.com/orthanc/file/Orthanc-1.9.3/OrthancServer/Sources/ServerJobs/ArchiveJob.cpp>`__ +<https://hg.orthanc-server.com/orthanc/file/Orthanc-1.9.4/OrthancServer/Sources/ServerJobs/ArchiveJob.cpp>`__ of Orthanc). Here is the corresponding sequence of commands to generate a DICOMDIR @@ -211,7 +211,7 @@ $ curl http://localhost:8042/studies/27f7126f-4f66fb14-03f4081b-f9341db2-53925988/media -d '{"Asynchronous":true}' $ curl http://localhost:8042/jobs/6332be8a-0052-44fb-8cc2-ac959aeccad9/archive > a.zip -As of Orthanc 1.9.3, only the creation of a ZIP or a DICOMDIR archive +As of Orthanc 1.9.4, only the creation of a ZIP or a DICOMDIR archive produces such "outputs".