Mercurial > hg > orthanc-book
diff Sphinx/source/users/advanced-rest.rst @ 817:01fa632daae9 Orthanc-1.10.0
Orthanc 1.10.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Feb 2022 15:03:44 +0100 |
parents | 1c3972c03c2a |
children | d7c8c8f6cffb |
line wrap: on
line diff
--- a/Sphinx/source/users/advanced-rest.rst Wed Feb 23 11:08:20 2022 +0100 +++ b/Sphinx/source/users/advanced-rest.rst Wed Feb 23 15:03:44 2022 +0100 @@ -134,7 +134,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.7, this feature is not + re-submission after a delay. As of Orthanc 1.10.0, this feature is not used by any type of job. In order to wait for the end of an asynchronous call, the caller will @@ -143,7 +143,7 @@ ``Failure``. Note that the `integration tests of Orthanc -<https://hg.orthanc-server.com/orthanc-tests/file/Orthanc-1.9.7/Tests/Toolbox.py>`__ +<https://hg.orthanc-server.com/orthanc-tests/file/Orthanc-1.10.0/Tests/Toolbox.py>`__ give an example about how to monitor a job in Python using the REST API (cf. function ``MonitorJob()``). @@ -204,7 +204,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.7/OrthancServer/Sources/ServerJobs/ArchiveJob.cpp>`__ +<https://hg.orthanc-server.com/orthanc/file/Orthanc-1.10.0/OrthancServer/Sources/ServerJobs/ArchiveJob.cpp>`__ of Orthanc). Here is the corresponding sequence of commands to generate a DICOMDIR @@ -213,7 +213,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.7, only the creation of a ZIP or a DICOMDIR archive +As of Orthanc 1.10.0, only the creation of a ZIP or a DICOMDIR archive produces such "outputs".