Mercurial > hg > orthanc-book
changeset 383:ef0e45a9b08a
merge
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 14 Apr 2020 12:37:30 +0200 |
parents | 64b32cb19571 (current diff) f9c4c6144fec (diff) |
children | cc5e79450374 |
files | |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Sphinx/source/users/rest.rst Tue Apr 14 12:36:57 2020 +0200 +++ b/Sphinx/source/users/rest.rst Tue Apr 14 12:37:30 2020 +0200 @@ -383,6 +383,19 @@ Users of Matlab or Octave can find related information :ref:`in the dedicated section <matlab>`. +Downloading studies +^^^^^^^^^^^^^^^^^^ + +.. highlight:: bash + +All instances of a study can be retrieved as a zip file as follows:: + + $ curl http://localhost:8042/studies/6b9e19d9-62094390-5f9ddb01-4a191ae7-9766b715/archive > Study.zip + +It is also possible to download a zipped DICOMDIR through:: + + $ curl http://localhost:8042/studies/6b9e19d9-62094390-5f9ddb01-4a191ae7-9766b715/media > Study.zip + .. _peering: