Mercurial > hg > orthanc-book
comparison Sphinx/source/users/rest.rst @ 380:06ab5ab05a2d
API doc: download study
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 08 Apr 2020 12:20:46 +0200 |
parents | c9fe3d0d0fa1 |
children | f9c4c6144fec |
comparison
equal
deleted
inserted
replaced
379:c9fe3d0d0fa1 | 380:06ab5ab05a2d |
---|---|
380 | 380 |
381 $ curl -H 'Accept: image/x-portable-arbitrarymap' http://localhost:8042/instances/609665c0-c5198aa2-8632476b-a00e0de0-e9075d94/image-uint16 > full-16.pam | 381 $ curl -H 'Accept: image/x-portable-arbitrarymap' http://localhost:8042/instances/609665c0-c5198aa2-8632476b-a00e0de0-e9075d94/image-uint16 > full-16.pam |
382 | 382 |
383 Users of Matlab or Octave can find related information :ref:`in the | 383 Users of Matlab or Octave can find related information :ref:`in the |
384 dedicated section <matlab>`. | 384 dedicated section <matlab>`. |
385 | |
386 Downloading studies | |
387 ^^^^^^^^^^^^^^^^^^ | |
388 | |
389 .. highlight:: bash | |
390 | |
391 All instances of a study can be retrieved as a zip file as follows:: | |
392 | |
393 $ curl http://localhost:8042/studies/6b9e19d9-62094390-5f9ddb01-4a191ae7-9766b715/archive > Study.zip | |
394 | |
395 It is also possible to download a zipped DICOMDIR through:: | |
396 | |
397 $ curl http://localhost:8042/instances/6b9e19d9-62094390-5f9ddb01-4a191ae7-9766b715/media > Study.zip | |
385 | 398 |
386 | 399 |
387 .. _peering: | 400 .. _peering: |
388 | 401 |
389 Sending resources to remote Orthanc over HTTP/HTTPS (through Orthanc peering) | 402 Sending resources to remote Orthanc over HTTP/HTTPS (through Orthanc peering) |