Mercurial > hg > orthanc-book
comparison Sphinx/source/users/rest.rst @ 936:5491953f7492
documentation of labels
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 16 Apr 2023 16:55:46 +0200 |
parents | a5e7e7001316 |
children | a6bf749b3c04 |
comparison
equal
deleted
inserted
replaced
935:49b863e47c39 | 936:5491953f7492 |
---|---|
1088 a list of serial numbers), just separate them with backslashes as | 1088 a list of serial numbers), just separate them with backslashes as |
1089 would do with DICOM C-FIND:: | 1089 would do with DICOM C-FIND:: |
1090 | 1090 |
1091 $ curl -X POST http://localhost:8042/tools/find -d '{"Level":"Series","Query":{"DeviceSerialNumber":"123\\abc"},"Expand":true}' | 1091 $ curl -X POST http://localhost:8042/tools/find -d '{"Level":"Series","Query":{"DeviceSerialNumber":"123\\abc"},"Expand":true}' |
1092 | 1092 |
1093 | 1093 |
1094 | |
1095 Additional Options | 1094 Additional Options |
1096 ^^^^^^^^^^^^^^^^^^ | 1095 ^^^^^^^^^^^^^^^^^^ |
1097 .. highlight:: json | 1096 .. highlight:: json |
1098 | 1097 |
1099 You also have the ability to limit the responses by specifying a limit within the body of the POST message. For example:: | 1098 You also have the ability to limit the responses by specifying a limit within the body of the POST message. For example:: |
1140 }, | 1139 }, |
1141 "Series" : [ "93034833-163e42c3-bc9a428b-194620cf-2c5799e5" ], | 1140 "Series" : [ "93034833-163e42c3-bc9a428b-194620cf-2c5799e5" ], |
1142 "Type" : "Study" | 1141 "Type" : "Study" |
1143 } | 1142 } |
1144 ] | 1143 ] |
1144 | |
1145 | |
1146 **Important:** Starting with Orthanc 1.12.0, this route in the REST | |
1147 API also provide the ``Labels`` and ``LabelsConstraint`` options to | |
1148 bring support for :ref:`labels <labels>`. | |
1145 | 1149 |
1146 | 1150 |
1147 .. _changes: | 1151 .. _changes: |
1148 | 1152 |
1149 Tracking changes | 1153 Tracking changes |