# HG changeset patch # User Sebastien Jodogne # Date 1587032064 -7200 # Node ID cc5e79450374d8137475d164f93c4745841d5ac3 # Parent e4b0a4d69f4289ce5a44cbc23b29f8f7dbb79ca5# Parent ef0e45a9b08a330fb458268aa013a6c1441c4126 merge diff -r e4b0a4d69f42 -r cc5e79450374 Sphinx/source/users/rest.rst --- 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 `. +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: