changeset 385:cc5e79450374

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 16 Apr 2020 12:14:24 +0200
parents e4b0a4d69f42 (current diff) ef0e45a9b08a (diff)
children 801db4e1828c
files
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/users/rest.rst	Thu Apr 16 12:13:49 2020 +0200
+++ b/Sphinx/source/users/rest.rst	Thu Apr 16 12:14:24 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: