changeset 868:2cb6b69537c6

/instances
author Alain Mazy <am@osimis.io>
date Mon, 08 Aug 2022 08:53:38 +0200
parents 888d6b29245a
children 9447f34ff010
files Sphinx/source/users/rest.rst
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/users/rest.rst	Fri Jul 15 17:43:10 2022 +0200
+++ b/Sphinx/source/users/rest.rst	Mon Aug 08 08:53:38 2022 +0200
@@ -73,6 +73,7 @@
 the following syntax::
 
     $ curl -X POST http://localhost:8042/instances --data-binary @CT.X.1.2.276.0.7230010.dcm
+    $ curl -X POST http://localhost:8042/instances --data-binary @multiple-files.zip
 
 .. highlight:: json
 
@@ -80,8 +81,11 @@
 the location of the stored instance, such as::
 
     {
-      "ID" : "e87da270-c52b-4f2a-b8c6-bae25928d0b0",
-      "Path" : "/instances/e87da270-c52b-4f2a-b8c6-bae25928d0b0",
+      "ID" : "5d4a3991-8a265cb2-da669bea-d8c761af-4a77113a",
+      "ParentPatient" : "69a957ab-57545037-ce9a492a-d0bd89c1-d7e2220d",
+      "ParentSeries" : "87c81b2c-e9f92adf-2dc11d37-399b5214-37275cdb",
+      "ParentStudy" : "1b1cc0c9-c0377071-78e8cd3a-2e382948-a243db42",
+      "Path" : "/instances/5d4a3991-8a265cb2-da669bea-d8c761af-4a77113a",
       "Status" : "Success"
     }