Mercurial > hg > orthanc-book
comparison Sphinx/source/users/advanced-rest.rst @ 290:6cbcdb965ad3
Orthanc 1.5.8
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Oct 2019 15:13:27 +0200 |
parents | f9e7036d81d0 |
children | 64d1ddab8246 |
comparison
equal
deleted
inserted
replaced
289:9223c3f26c1a | 290:6cbcdb965ad3 |
---|---|
126 * ``Success``: The job has finished with success. | 126 * ``Success``: The job has finished with success. |
127 * ``Failure``: The job has finished with failure. Check out the | 127 * ``Failure``: The job has finished with failure. Check out the |
128 ``ErrorCode`` and ``ErrorDescription`` fields for more information. | 128 ``ErrorCode`` and ``ErrorDescription`` fields for more information. |
129 * ``Paused``: The job has been paused. | 129 * ``Paused``: The job has been paused. |
130 * ``Retry``: The job has failed internally, and has been scheduled for | 130 * ``Retry``: The job has failed internally, and has been scheduled for |
131 re-submission after a delay. As of Orthanc 1.5.7, this feature is not | 131 re-submission after a delay. As of Orthanc 1.5.8, this feature is not |
132 used by any type of job. | 132 used by any type of job. |
133 | 133 |
134 In order to wait for the end of an asynchronous call, the caller will | 134 In order to wait for the end of an asynchronous call, the caller will |
135 typically have to poll the ``/jobs/...` URI (i.e. make periodic | 135 typically have to poll the ``/jobs/...` URI (i.e. make periodic |
136 calls), waiting for the ``State`` field to become ``Success`` or | 136 calls), waiting for the ``State`` field to become ``Success`` or |
146 * Pause the job by POST-ing to ``/jobs/.../pause``. | 146 * Pause the job by POST-ing to ``/jobs/.../pause``. |
147 * Resume a job in ``Paused`` state by POST-ing to ``/jobs/.../resume``. | 147 * Resume a job in ``Paused`` state by POST-ing to ``/jobs/.../resume``. |
148 * Retry a job in ``Failed`` state by POST-ing to ``/jobs/.../resubmit``. | 148 * Retry a job in ``Failed`` state by POST-ing to ``/jobs/.../resubmit``. |
149 | 149 |
150 The related state machine is depicted in the `implementation notes | 150 The related state machine is depicted in the `implementation notes |
151 <https://bitbucket.org/sjodogne/orthanc/raw/Orthanc-1.5.7/Resources/ImplementationNotes/JobsEngineStates.pdf>`__. | 151 <https://bitbucket.org/sjodogne/orthanc/raw/Orthanc-1.5.8/Resources/ImplementationNotes/JobsEngineStates.pdf>`__. |
152 | 152 |
153 | 153 |
154 | 154 |
155 | 155 |
156 .. _pdf: | 156 .. _pdf: |