# HG changeset patch # User Sebastien Jodogne # Date 1586860650 -7200 # Node ID ef0e45a9b08a330fb458268aa013a6c1441c4126 # Parent 64b32cb1957177d5d26bef8ca89ced49a9129299# Parent f9c4c6144fecfead880e3e922ae4df6658b743bd merge diff -r 64b32cb19571 -r ef0e45a9b08a Sphinx/source/users/rest.rst --- 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 `. +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: