comparison Sphinx/source/users/rest.rst @ 294:33fb45a86cd8

/peers/{id}/system
author Alain Mazy <alain@mazy.be>
date Tue, 07 Jan 2020 08:37:04 +0100
parents 2946fcd2e7fa
children 64d1ddab8246
comparison
equal deleted inserted replaced
292:8aa416899db4 294:33fb45a86cd8
445 $ curl -X POST http://localhost:8042/peers/sample/store -d '["d4b46c8e-74b16992-b0f5ca11-f04a60fa-8eb13a88","d5604121-7d613ce6-c315a5-a77b3cf3-9c253b23","cb855110-5f4da420-ec9dc9cb-2af6a9bb-dcbd180e"]' 445 $ curl -X POST http://localhost:8042/peers/sample/store -d '["d4b46c8e-74b16992-b0f5ca11-f04a60fa-8eb13a88","d5604121-7d613ce6-c315a5-a77b3cf3-9c253b23","cb855110-5f4da420-ec9dc9cb-2af6a9bb-dcbd180e"]'
446 446
447 Note that the list of resources to be sent can include the 447 Note that the list of resources to be sent can include the
448 :ref:`Orthanc identifiers <orthanc-ids>` of entire patients, 448 :ref:`Orthanc identifiers <orthanc-ids>` of entire patients,
449 studies or series as well. 449 studies or series as well.
450
451 Testing connectivity with a remote peer
452 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
453
454 .. highlight:: bash
455
456 In version 1.5.9+, we have introduced a route to retrieve the ``/system`` info from
457 a remote peer. This route can also be used to test the connectivity with that peer
458 without actually sending a DICOM resource.::
459
460 $ curl http://localhost:8042/peers/sample/system
461
450 462
451 Using HTTPS 463 Using HTTPS
452 ^^^^^^^^^^^ 464 ^^^^^^^^^^^
453 465
454 If you're transfering medical data over internet, it is mandatory to use HTTPS. 466 If you're transfering medical data over internet, it is mandatory to use HTTPS.