annotate OpenAPI/orthanc-openapi.json @ 862:71e339681c6b

delayed deletion
author Alain Mazy <am@osimis.io>
date Thu, 30 Jun 2022 18:34:53 +0200
parents 3e8a3a900e9e
children f72b2dd172da
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
860
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2 "info" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3 "description" : "This is the full documentation of the [REST API](https://book.orthanc-server.com/users/rest.html) of Orthanc.<p>This reference is automatically generated from the source code of Orthanc. A [shorter cheat sheet](https://book.orthanc-server.com/users/rest-cheatsheet.html) is part of the Orthanc Book.<p>An earlier, manually crafted version from August 2019, is [still available](2019-08-orthanc-openapi.html), but is not up-to-date anymore ([source](https://groups.google.com/g/orthanc-users/c/NUiJTEICSl8/m/xKeqMrbqAAAJ)).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4 "title" : "Orthanc API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5 "version" : "1.11.1"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7 "openapi" : "3.0.0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8 "paths" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9 "/changes" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12 "description" : "Clear the full history stored in the changes log",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
16 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
17 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
18 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
19 "summary" : "Clear changes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
20 "tags" : [ "Tracking changes" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
21 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
22 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
23 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
24 "description" : "Whenever Orthanc receives a new DICOM instance, this event is recorded in the so-called _Changes Log_. This enables remote scripts to react to the arrival of new DICOM resources. A typical application is auto-routing, where an external script waits for a new DICOM instance to arrive into Orthanc, then forward this instance to another modality.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
25 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
26 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
27 "description" : "Limit the number of results",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
28 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
29 "name" : "limit",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
30 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
31 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
32 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
33 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
34 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
35 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
36 "description" : "Show only the resources since the provided index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
37 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
38 "name" : "since",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
39 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
40 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
41 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
42 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
43 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
44 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
45 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
46 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
47 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
48 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
49 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
50 "description" : "The list of changes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
51 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
52 "Changes" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
53 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
54 "ChangeType" : "NewInstance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
55 "Date" : "20180414T091510",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
56 "ID" : "055bfbaf-2aae936c-82ed5a9a-9267f8b7-416a4000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
57 "Path" : "/instances/055bfbaf-2aae936c-82ed5a9a-9267f8b7-416a4000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
58 "ResourceType" : "Instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
59 "Seq" : 1
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
60 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
61 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
62 "ChangeType" : "NewSeries",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
63 "Date" : "20180414T091510",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
64 "ID" : "318603c5-03e8cffc-a82b6ee1-3ccd3c1e-18d7e3bb",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
65 "Path" : "/series/318603c5-03e8cffc-a82b6ee1-3ccd3c1e-18d7e3bb",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
66 "ResourceType" : "Series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
67 "Seq" : 2
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
68 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
69 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
70 "Done" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
71 "Last" : 2
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
72 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
73 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
74 "Changes" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
75 "description" : "The individual changes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
76 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
77 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
78 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
79 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
80 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
81 "Done" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
82 "description" : "Whether the last reported change is the last of the full history",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
83 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
84 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
85 "Last" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
86 "description" : "The index of the last reported change, can be used for the `since` argument in subsequent calls to this route",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
87 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
88 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
89 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
90 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
91 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
92 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
93 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
94 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
95 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
96 "summary" : "List changes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
97 "tags" : [ "Tracking changes" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
98 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
99 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
100 "/exports" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
101 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
102 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
103 "description" : "Clear the full history stored in the exports log",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
104 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
105 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
106 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
107 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
108 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
109 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
110 "summary" : "Clear exports",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
111 "tags" : [ "Tracking changes" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
112 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
113 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
114 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
115 "description" : "For medical traceability, Orthanc can be configured to store a log of all the resources that have been exported to remote modalities. In auto-routing scenarios, it is important to prevent this log to grow indefinitely as incoming instances are routed. You can either disable this logging by setting the option `LogExportedResources` to `false` in the configuration file, or periodically clear this log by `DELETE`-ing this URI. This route might be removed in future versions of Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
116 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
117 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
118 "description" : "Limit the number of results",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
119 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
120 "name" : "limit",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
121 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
122 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
123 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
124 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
125 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
126 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
127 "description" : "Show only the resources since the provided index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
128 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
129 "name" : "since",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
130 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
131 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
132 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
133 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
134 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
135 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
136 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
137 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
138 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
139 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
140 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
141 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
142 "description" : "The list of exports"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
143 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
144 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
145 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
146 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
147 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
148 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
149 "summary" : "List exports",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
150 "tags" : [ "Tracking changes" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
151 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
152 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
153 "/instances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
154 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
155 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
156 "description" : "List the Orthanc identifiers of all the available DICOM instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
157 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
158 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
159 "description" : "If present, retrieve detailed information about the individual instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
160 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
161 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
162 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
163 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
164 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
165 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
166 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
167 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
168 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
169 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
170 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
171 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
172 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
173 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
174 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
175 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
176 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
177 "description" : "Limit the number of results",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
178 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
179 "name" : "limit",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
180 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
181 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
182 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
183 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
184 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
185 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
186 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
187 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
188 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
189 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
190 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
191 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
192 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
193 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
194 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
195 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
196 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
197 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
198 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
199 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
200 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
201 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
202 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
203 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
204 "description" : "Show only the resources since the provided index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
205 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
206 "name" : "since",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
207 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
208 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
209 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
210 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
211 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
212 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
213 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
214 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
215 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
216 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
217 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
218 "description" : "JSON array containing either the Orthanc identifiers, or detailed information about the reported instances (if `expand` argument is provided)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
219 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
220 "055bfbaf-2aae936c-82ed5a9a-9267f8b7-416a4000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
221 "62dc1ec1-9fc2dd9d-aa66eae1-0db608b1-e17f8ce8"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
222 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
223 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
224 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
225 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
226 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
227 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
228 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
229 "summary" : "List the available instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
230 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
231 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
232 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
233 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
234 "description" : "Upload DICOM instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
235 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
236 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
237 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
238 "application/dicom" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
239 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
240 "description" : "DICOM file to be uploaded"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
241 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
242 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
243 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
244 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
245 "description" : "ZIP archive containing DICOM files (new in Orthanc 1.8.2)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
246 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
247 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
248 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
249 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
250 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
251 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
252 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
253 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
254 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
255 "description" : "Information about the uploaded instance, or list of information for each uploaded instance in the case of ZIP archive",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
256 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
257 "ID" : "19816330-cb02e1cf-df3a8fe8-bf510623-ccefe9f5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
258 "ParentPatient" : "ef9d77db-eb3b2bef-9b31fd3e-bf42ae46-dbdb0cc3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
259 "ParentSeries" : "3774320f-ccda46d8-69ee8641-9e791cbf-3ecbbcc6",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
260 "ParentStudy" : "66c8e41e-ac3a9029-0b85e42a-8195ee0a-92c2e62e",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
261 "Path" : "/instances/19816330-cb02e1cf-df3a8fe8-bf510623-ccefe9f5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
262 "Status" : "Success"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
263 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
264 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
265 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
266 "description" : "Orthanc identifier of the new instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
267 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
268 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
269 "ParentPatient" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
270 "description" : "Orthanc identifier of the parent patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
271 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
272 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
273 "ParentSeries" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
274 "description" : "Orthanc identifier of the parent series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
275 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
276 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
277 "ParentStudy" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
278 "description" : "Orthanc identifier of the parent study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
279 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
280 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
281 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
282 "description" : "Path to the new instance in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
283 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
284 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
285 "Status" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
286 "description" : "Can be `Success`, `AlreadyStored`, `Failure`, or `FilteredOut` (removed by some `NewInstanceFilter`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
287 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
288 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
289 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
290 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
291 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
292 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
293 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
294 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
295 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
296 "summary" : "Upload DICOM instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
297 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
298 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
299 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
300 "/instances/{id}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
301 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
302 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
303 "description" : "Delete the DICOM instance whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
304 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
305 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
306 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
307 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
308 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
309 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
310 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
311 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
312 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
313 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
314 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
315 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
316 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
317 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
318 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
319 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
320 "summary" : "Delete some instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
321 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
322 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
323 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
324 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
325 "description" : "Get detailed information about the DICOM instance whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
326 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
327 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
328 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
329 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
330 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
331 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
332 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
333 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
334 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
335 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
336 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
337 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
338 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
339 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
340 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
341 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
342 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
343 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
344 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
345 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
346 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
347 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
348 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
349 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
350 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
351 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
352 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
353 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
354 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
355 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
356 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
357 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
358 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
359 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
360 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
361 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
362 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
363 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
364 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
365 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
366 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
367 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
368 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
369 "description" : "Information about the DICOM instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
370 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
371 "FileSize" : 526744,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
372 "FileUuid" : "dc031d9e-ef02-4871-821f-ffe445deb7c2",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
373 "ID" : "d94d9a03-3003b047-a4affc69-322313b2-680530a2",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
374 "IndexInSeries" : 155,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
375 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
376 "AcquisitionNumber" : "4",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
377 "ImageOrientationPatient" : "1\\0\\0\\0\\1\\0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
378 "ImagePositionPatient" : "-249.51171875\\-458.51171875\\314",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
379 "InstanceCreationDate" : "20151217",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
380 "InstanceCreationTime" : "125204.215000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
381 "InstanceNumber" : "155",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
382 "SOPInstanceUID" : "1.3.6.1.4.1.14519.5.2.1.2193.7172.168997935789297163075628247666"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
383 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
384 "ParentSeries" : "52f4cb90-29d1d1a2-2ca34edd-4b8851fc-8cb269f2",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
385 "Type" : "Instance"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
386 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
387 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
388 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
389 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
390 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
391 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
392 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
393 "summary" : "Get information about some instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
394 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
395 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
396 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
397 "/instances/{id}/anonymize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
398 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
399 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
400 "description" : "Download an anonymized version of the DICOM instance whose Orthanc identifier is provided in the URL: https://book.orthanc-server.com/users/anonymization.html#anonymization-of-a-single-instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
401 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
402 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
403 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
404 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
405 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
406 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
407 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
408 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
409 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
410 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
411 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
412 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
413 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
414 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
415 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
416 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
417 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
418 "DicomVersion" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
419 "description" : "Version of the DICOM standard to be used for anonymization. Check out configuration option `DeidentifyLogsDicomVersion` for possible values.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
420 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
421 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
422 "Force" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
423 "description" : "Allow the modification of tags related to DICOM identifiers, at the risk of breaking the DICOM model of the real world",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
424 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
425 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
426 "Keep" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
427 "description" : "List of DICOM tags whose value must not be destroyed by the anonymization. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
428 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
429 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
430 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
431 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
432 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
433 "KeepPrivateTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
434 "description" : "Keep the private tags from the DICOM instances (defaults to `false`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
435 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
436 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
437 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
438 "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
439 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
440 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
441 "PrivateCreator" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
442 "description" : "The private creator to be used for private tags in `Replace`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
443 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
444 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
445 "Remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
446 "description" : "List of additional tags to be removed from the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
447 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
448 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
449 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
450 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
451 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
452 "Replace" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
453 "description" : "Associative array to change the value of some DICOM tags in the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
454 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
455 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
456 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
457 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
458 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
459 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
460 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
461 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
462 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
463 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
464 "application/dicom" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
465 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
466 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
467 "description" : "The anonymized DICOM instance"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
468 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
469 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
470 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
471 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
472 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
473 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
474 "summary" : "Anonymize instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
475 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
476 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
477 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
478 "/instances/{id}/attachments" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
479 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
480 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
481 "description" : "Get the list of attachments that are associated with the given instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
482 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
483 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
484 "description" : "If present, retrieve the attachments list and their numerical ids",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
485 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
486 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
487 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
488 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
489 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
490 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
491 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
492 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
493 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
494 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
495 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
496 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
497 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
498 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
499 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
500 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
501 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
502 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
503 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
504 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
505 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
506 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
507 "description" : "JSON array containing the names of the attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
508 "example" : [ "dicom", "dicom-as-json" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
509 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
510 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
511 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
512 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
513 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
514 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
515 "summary" : "List attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
516 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
517 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
518 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
519 "/instances/{id}/attachments/{name}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
520 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
521 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
522 "description" : "Delete an attachment associated with the given DICOM instance. This call will fail if trying to delete a system attachment (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
523 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
524 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
525 "description" : "Revision of the attachment, to check if its content has not changed and can be deleted. This header is mandatory if `CheckRevisions` option is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
526 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
527 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
528 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
529 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
530 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
531 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
532 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
533 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
534 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
535 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
536 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
537 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
538 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
539 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
540 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
541 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
542 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
543 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
544 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
545 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
546 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
547 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
548 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
549 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
550 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
551 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
552 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
553 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
554 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
555 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
556 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
557 "summary" : "Delete attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
558 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
559 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
560 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
561 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
562 "description" : "Get the list of the operations that are available for attachments associated with the given instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
563 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
564 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
565 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
566 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
567 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
568 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
569 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
570 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
571 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
572 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
573 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
574 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
575 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
576 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
577 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
578 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
579 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
580 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
581 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
582 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
583 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
584 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
585 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
586 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
587 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
588 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
589 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
590 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
591 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
592 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
593 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
594 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
595 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
596 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
597 "description" : "List of the available operations",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
598 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
599 "compress",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
600 "compressed-data",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
601 "compressed-md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
602 "compressed-size",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
603 "data",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
604 "info",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
605 "is-compressed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
606 "md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
607 "size",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
608 "uncompress",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
609 "verify-md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
610 "uuid"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
611 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
612 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
613 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
614 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
615 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
616 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
617 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
618 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
619 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
620 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
621 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
622 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
623 "summary" : "List operations on attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
624 "tags" : [ "Other" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
625 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
626 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
627 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
628 "description" : "Attach a file to the given DICOM instance. This call will fail if trying to modify a system attachment (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
629 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
630 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
631 "description" : "Revision of the attachment, if this is not the first time this attachment is set.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
632 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
633 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
634 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
635 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
636 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
637 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
638 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
639 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
640 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
641 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
642 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
643 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
644 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
645 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
646 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
647 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
648 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
649 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
650 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
651 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
652 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
653 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
654 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
655 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
656 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
657 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
658 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
659 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
660 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
661 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
662 "description" : "Binary data containing the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
663 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
664 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
665 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
666 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
667 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
668 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
669 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
670 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
671 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
672 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
673 "description" : "Empty JSON object in the case of a success"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
674 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
675 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
676 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
677 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
678 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
679 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
680 "summary" : "Set attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
681 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
682 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
683 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
684 "/instances/{id}/attachments/{name}/compress" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
685 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
686 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
687 "description" : "Change the compression scheme that is used to store an attachment.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
688 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
689 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
690 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
691 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
692 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
693 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
694 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
695 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
696 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
697 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
698 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
699 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
700 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
701 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
702 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
703 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
704 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
705 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
706 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
707 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
708 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
709 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
710 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
711 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
712 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
713 "summary" : "Compress attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
714 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
715 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
716 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
717 "/instances/{id}/attachments/{name}/compressed-data" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
718 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
719 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
720 "description" : "Get the (binary) content of one attachment associated with the given instance. The attachment will not be decompressed if `StorageCompression` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
721 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
722 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
723 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
724 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
725 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
726 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
727 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
728 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
729 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
730 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
731 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
732 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
733 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
734 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
735 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
736 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
737 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
738 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
739 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
740 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
741 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
742 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
743 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
744 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
745 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
746 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
747 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
748 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
749 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
750 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
751 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
752 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
753 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
754 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
755 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
756 "description" : "The attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
757 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
758 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
759 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
760 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
761 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
762 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
763 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
764 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
765 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
766 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
767 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
768 "summary" : "Get attachment (no decompression)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
769 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
770 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
771 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
772 "/instances/{id}/attachments/{name}/compressed-md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
773 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
774 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
775 "description" : "Get the MD5 hash of one attachment associated with the given instance, as stored on the disk. This is different from `.../md5` iff `EnableStorage` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
776 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
777 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
778 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
779 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
780 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
781 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
782 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
783 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
784 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
785 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
786 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
787 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
788 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
789 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
790 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
791 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
792 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
793 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
794 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
795 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
796 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
797 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
798 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
799 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
800 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
801 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
802 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
803 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
804 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
805 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
806 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
807 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
808 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
809 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
810 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
811 "description" : "The MD5 of the attachment, as stored on the disk"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
812 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
813 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
814 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
815 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
816 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
817 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
818 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
819 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
820 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
821 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
822 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
823 "summary" : "Get MD5 of attachment on disk",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
824 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
825 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
826 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
827 "/instances/{id}/attachments/{name}/compressed-size" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
828 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
829 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
830 "description" : "Get the size of one attachment associated with the given instance, as stored on the disk. This is different from `.../size` iff `EnableStorage` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
831 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
832 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
833 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
834 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
835 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
836 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
837 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
838 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
839 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
840 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
841 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
842 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
843 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
844 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
845 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
846 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
847 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
848 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
849 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
850 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
851 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
852 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
853 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
854 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
855 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
856 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
857 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
858 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
859 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
860 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
861 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
862 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
863 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
864 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
865 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
866 "description" : "The size of the attachment, as stored on the disk"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
867 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
868 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
869 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
870 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
871 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
872 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
873 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
874 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
875 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
876 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
877 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
878 "summary" : "Get size of attachment on disk",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
879 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
880 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
881 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
882 "/instances/{id}/attachments/{name}/data" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
883 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
884 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
885 "description" : "Get the (binary) content of one attachment associated with the given instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
886 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
887 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
888 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
889 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
890 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
891 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
892 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
893 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
894 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
895 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
896 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
897 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
898 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
899 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
900 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
901 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
902 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
903 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
904 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
905 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
906 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
907 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
908 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
909 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
910 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
911 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
912 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
913 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
914 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
915 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
916 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
917 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
918 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
919 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
920 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
921 "description" : "The attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
922 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
923 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
924 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
925 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
926 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
927 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
928 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
929 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
930 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
931 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
932 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
933 "summary" : "Get attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
934 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
935 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
936 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
937 "/instances/{id}/attachments/{name}/info" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
938 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
939 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
940 "description" : "Get all the information about the attachment associated with the given instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
941 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
942 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
943 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
944 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
945 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
946 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
947 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
948 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
949 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
950 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
951 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
952 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
953 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
954 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
955 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
956 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
957 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
958 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
959 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
960 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
961 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
962 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
963 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
964 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
965 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
966 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
967 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
968 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
969 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
970 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
971 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
972 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
973 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
974 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
975 "description" : "JSON object containing the information about the attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
976 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
977 "CompressedMD5" : "26f3fad6ca0c355f02d57c7fa6770248",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
978 "CompressedSize" : 526970,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
979 "ContentType" : 1,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
980 "UncompressedMD5" : "26f3fad6ca0c355f02d57c7fa6770248",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
981 "UncompressedSize" : 526970,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
982 "Uuid" : "b7c99eb7-229f-464e-8f46-6878c8e79e5c"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
983 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
984 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
985 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
986 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
987 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
988 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
989 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
990 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
991 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
992 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
993 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
994 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
995 "summary" : "Get info about the attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
996 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
997 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
998 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
999 "/instances/{id}/attachments/{name}/is-compressed" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1000 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1001 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1002 "description" : "Test whether the attachment has been stored as a compressed file on the disk.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1003 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1004 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1005 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1006 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1007 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1008 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1009 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1010 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1011 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1012 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1013 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1014 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1015 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1016 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1017 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1018 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1019 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1020 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1021 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1022 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1023 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1024 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1025 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1026 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1027 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1028 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1029 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1030 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1031 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1032 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1033 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1034 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1035 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1036 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1037 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1038 "description" : "`0` if the attachment was stored uncompressed, `1` if it was compressed"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1039 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1040 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1041 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1042 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1043 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1044 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1045 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1046 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1047 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1048 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1049 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1050 "summary" : "Is attachment compressed?",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1051 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1052 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1053 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1054 "/instances/{id}/attachments/{name}/md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1055 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1056 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1057 "description" : "Get the MD5 hash of one attachment associated with the given instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1058 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1059 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1060 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1061 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1062 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1063 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1064 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1065 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1066 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1067 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1068 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1069 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1070 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1071 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1072 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1073 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1074 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1075 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1076 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1077 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1078 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1079 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1080 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1081 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1082 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1083 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1084 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1085 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1086 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1087 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1088 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1089 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1090 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1091 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1092 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1093 "description" : "The MD5 of the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1094 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1095 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1096 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1097 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1098 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1099 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1100 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1101 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1102 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1103 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1104 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1105 "summary" : "Get MD5 of attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1106 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1107 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1108 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1109 "/instances/{id}/attachments/{name}/size" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1110 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1111 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1112 "description" : "Get the size of one attachment associated with the given instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1113 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1114 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1115 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1116 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1117 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1118 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1119 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1120 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1121 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1122 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1123 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1124 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1125 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1126 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1127 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1128 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1129 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1130 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1131 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1132 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1133 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1134 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1135 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1136 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1137 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1138 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1139 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1140 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1141 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1142 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1143 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1144 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1145 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1146 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1147 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1148 "description" : "The size of the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1149 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1150 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1151 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1152 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1153 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1154 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1155 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1156 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1157 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1158 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1159 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1160 "summary" : "Get size of attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1161 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1162 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1163 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1164 "/instances/{id}/attachments/{name}/uncompress" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1165 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1166 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1167 "description" : "Change the compression scheme that is used to store an attachment.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1168 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1169 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1170 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1171 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1172 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1173 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1174 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1175 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1176 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1177 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1178 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1179 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1180 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1181 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1182 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1183 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1184 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1185 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1186 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1187 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1188 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1189 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1190 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1191 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1192 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1193 "summary" : "Uncompress attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1194 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1195 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1196 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1197 "/instances/{id}/attachments/{name}/verify-md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1198 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1199 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1200 "description" : "Verify that the attachment is not corrupted, by validating its MD5 hash",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1201 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1202 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1203 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1204 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1205 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1206 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1207 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1208 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1209 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1210 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1211 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1212 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1213 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1214 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1215 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1216 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1217 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1218 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1219 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1220 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1221 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1222 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1223 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1224 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1225 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1226 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1227 "description" : "On success, a valid JSON object is returned"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1228 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1229 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1230 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1231 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1232 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1233 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1234 "summary" : "Verify attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1235 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1236 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1237 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1238 "/instances/{id}/content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1239 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1240 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1241 "description" : "Get the raw content of one DICOM tag in the hierarchy of DICOM dataset",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1242 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1243 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1244 "description" : "Path to the DICOM tag. This is the interleaving of one DICOM tag, possibly followed by an index for sequences. Sequences are accessible as, for instance, `/0008-1140/1/0008-1150`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1245 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1246 "name" : "...",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1247 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1248 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1249 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1250 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1251 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1252 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1253 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1254 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1255 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1256 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1257 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1258 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1259 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1260 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1261 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1262 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1263 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1264 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1265 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1266 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1267 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1268 "description" : "The raw value of the tag of intereset (binary data, whose memory layout depends on the underlying transfer syntax), or JSON array containing the list of available tags if accessing a dataset"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1269 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1270 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1271 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1272 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1273 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1274 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1275 "summary" : "Get raw tag",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1276 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1277 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1278 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1279 "/instances/{id}/export" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1280 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1281 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1282 "description" : "Write the DICOM file onto the filesystem where Orthanc is running",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1283 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1284 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1285 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1286 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1287 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1288 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1289 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1290 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1291 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1292 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1293 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1294 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1295 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1296 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1297 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1298 "description" : "Target path on the filesystem"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1299 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1300 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1301 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1302 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1303 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1304 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1305 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1306 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1307 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1308 "summary" : "Write DICOM onto filesystem",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1309 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1310 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1311 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1312 "/instances/{id}/file" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1313 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1314 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1315 "description" : "Download one DICOM instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1316 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1317 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1318 "description" : "This HTTP header can be set to retrieve the DICOM instance in DICOMweb format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1319 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1320 "name" : "Accept",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1321 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1322 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1323 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1324 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1325 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1326 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1327 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1328 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1329 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1330 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1331 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1332 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1333 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1334 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1335 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1336 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1337 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1338 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1339 "application/dicom" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1340 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1341 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1342 "description" : "The DICOM instance"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1343 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1344 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1345 "application/dicom+json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1346 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1347 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1348 "description" : "The DICOM instance, in DICOMweb JSON format"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1349 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1350 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1351 "application/dicom+xml" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1352 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1353 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1354 "description" : "The DICOM instance, in DICOMweb XML format"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1355 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1356 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1357 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1358 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1359 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1360 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1361 "summary" : "Download DICOM",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1362 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1363 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1364 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1365 "/instances/{id}/frames" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1366 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1367 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1368 "description" : "List the frames that are available in the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1369 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1370 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1371 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1372 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1373 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1374 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1375 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1376 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1377 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1378 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1379 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1380 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1381 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1382 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1383 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1384 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1385 "description" : "The list of the indices of the available frames",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1386 "example" : [ 0 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1387 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1388 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1389 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1390 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1391 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1392 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1393 "summary" : "List available frames",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1394 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1395 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1396 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1397 "/instances/{id}/frames/{frame}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1398 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1399 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1400 "description" : "List the available operations under URI `/instances/{id}/frames/{frame}/`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1401 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1402 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1403 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1404 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1405 "name" : "frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1406 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1407 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1408 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1409 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1410 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1411 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1412 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1413 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1414 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1415 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1416 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1417 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1418 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1419 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1420 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1421 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1422 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1423 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1424 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1425 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1426 "description" : "List of the available operations",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1427 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1428 "image-int16",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1429 "image-uint16",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1430 "image-uint8",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1431 "matlab",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1432 "numpy",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1433 "preview",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1434 "raw",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1435 "raw.gz",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1436 "rendered"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1437 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1438 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1439 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1440 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1441 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1442 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1443 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1444 "summary" : "List operations",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1445 "tags" : [ "Other" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1446 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1447 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1448 "/instances/{id}/frames/{frame}/image-int16" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1449 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1450 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1451 "description" : "Decode one frame of interest from the given DICOM instance. Pixels of grayscale images are truncated to the [-32768,32767] range. Negative values must be interpreted according to two's complement.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1452 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1453 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1454 "description" : "Quality for JPEG images (between 1 and 100, defaults to 90)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1455 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1456 "name" : "quality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1457 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1458 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1459 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1460 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1461 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1462 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1463 "description" : "Returns an unsupported.png placeholder image if unable to provide the image instead of returning a 415 HTTP error (defaults to false)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1464 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1465 "name" : "returnUnsupportedImage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1466 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1467 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1468 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1469 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1470 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1471 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1472 "description" : "Format of the resulting image. Can be `image/png` (default), `image/jpeg` or `image/x-portable-arbitrarymap`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1473 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1474 "name" : "Accept",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1475 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1476 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1477 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1478 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1479 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1480 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1481 "description" : "Index of the frame (starts at `0`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1482 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1483 "name" : "frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1484 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1485 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1486 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1487 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1488 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1489 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1490 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1491 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1492 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1493 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1494 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1495 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1496 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1497 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1498 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1499 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1500 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1501 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1502 "image/jpeg" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1503 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1504 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1505 "description" : "JPEG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1506 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1507 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1508 "image/png" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1509 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1510 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1511 "description" : "PNG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1512 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1513 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1514 "image/x-portable-arbitrarymap" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1515 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1516 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1517 "description" : "PAM image (Portable Arbitrary Map)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1518 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1519 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1520 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1521 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1522 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1523 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1524 "summary" : "Decode a frame (int16)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1525 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1526 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1527 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1528 "/instances/{id}/frames/{frame}/image-uint16" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1529 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1530 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1531 "description" : "Decode one frame of interest from the given DICOM instance. Pixels of grayscale images are truncated to the [0,65535] range.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1532 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1533 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1534 "description" : "Quality for JPEG images (between 1 and 100, defaults to 90)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1535 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1536 "name" : "quality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1537 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1538 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1539 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1540 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1541 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1542 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1543 "description" : "Returns an unsupported.png placeholder image if unable to provide the image instead of returning a 415 HTTP error (defaults to false)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1544 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1545 "name" : "returnUnsupportedImage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1546 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1547 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1548 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1549 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1550 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1551 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1552 "description" : "Format of the resulting image. Can be `image/png` (default), `image/jpeg` or `image/x-portable-arbitrarymap`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1553 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1554 "name" : "Accept",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1555 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1556 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1557 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1558 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1559 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1560 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1561 "description" : "Index of the frame (starts at `0`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1562 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1563 "name" : "frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1564 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1565 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1566 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1567 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1568 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1569 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1570 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1571 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1572 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1573 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1574 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1575 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1576 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1577 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1578 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1579 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1580 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1581 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1582 "image/jpeg" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1583 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1584 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1585 "description" : "JPEG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1586 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1587 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1588 "image/png" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1589 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1590 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1591 "description" : "PNG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1592 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1593 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1594 "image/x-portable-arbitrarymap" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1595 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1596 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1597 "description" : "PAM image (Portable Arbitrary Map)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1598 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1599 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1600 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1601 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1602 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1603 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1604 "summary" : "Decode a frame (uint16)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1605 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1606 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1607 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1608 "/instances/{id}/frames/{frame}/image-uint8" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1609 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1610 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1611 "description" : "Decode one frame of interest from the given DICOM instance. Pixels of grayscale images are truncated to the [0,255] range.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1612 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1613 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1614 "description" : "Quality for JPEG images (between 1 and 100, defaults to 90)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1615 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1616 "name" : "quality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1617 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1618 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1619 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1620 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1621 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1622 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1623 "description" : "Returns an unsupported.png placeholder image if unable to provide the image instead of returning a 415 HTTP error (defaults to false)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1624 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1625 "name" : "returnUnsupportedImage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1626 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1627 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1628 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1629 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1630 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1631 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1632 "description" : "Format of the resulting image. Can be `image/png` (default), `image/jpeg` or `image/x-portable-arbitrarymap`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1633 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1634 "name" : "Accept",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1635 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1636 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1637 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1638 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1639 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1640 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1641 "description" : "Index of the frame (starts at `0`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1642 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1643 "name" : "frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1644 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1645 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1646 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1647 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1648 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1649 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1650 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1651 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1652 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1653 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1654 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1655 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1656 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1657 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1658 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1659 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1660 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1661 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1662 "image/jpeg" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1663 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1664 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1665 "description" : "JPEG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1666 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1667 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1668 "image/png" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1669 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1670 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1671 "description" : "PNG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1672 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1673 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1674 "image/x-portable-arbitrarymap" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1675 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1676 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1677 "description" : "PAM image (Portable Arbitrary Map)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1678 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1679 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1680 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1681 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1682 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1683 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1684 "summary" : "Decode a frame (uint8)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1685 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1686 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1687 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1688 "/instances/{id}/frames/{frame}/matlab" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1689 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1690 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1691 "description" : "Decode one frame of interest from the given DICOM instance, and export this frame as a Octave/Matlab matrix to be imported with `eval()`: https://book.orthanc-server.com/faq/matlab.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1692 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1693 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1694 "description" : "Index of the frame (starts at `0`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1695 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1696 "name" : "frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1697 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1698 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1699 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1700 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1701 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1702 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1703 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1704 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1705 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1706 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1707 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1708 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1709 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1710 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1711 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1712 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1713 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1714 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1715 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1716 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1717 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1718 "description" : "Octave/Matlab matrix"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1719 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1720 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1721 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1722 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1723 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1724 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1725 "summary" : "Decode frame for Matlab",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1726 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1727 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1728 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1729 "/instances/{id}/frames/{frame}/numpy" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1730 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1731 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1732 "description" : "Decode one frame of interest from the given DICOM instance, for use with numpy in Python. The numpy array has 3 dimensions: (height, width, color channel).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1733 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1734 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1735 "description" : "Compress the file as `.npz`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1736 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1737 "name" : "compress",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1738 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1739 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1740 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1741 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1742 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1743 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1744 "description" : "On grayscale images, apply the rescaling and return floating-point values",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1745 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1746 "name" : "rescale",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1747 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1748 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1749 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1750 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1751 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1752 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1753 "description" : "Index of the frame (starts at `0`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1754 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1755 "name" : "frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1756 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1757 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1758 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1759 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1760 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1761 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1762 "description" : "Orthanc identifier of the DICOM resource of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1763 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1764 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1765 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1766 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1767 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1768 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1769 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1770 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1771 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1772 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1773 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1774 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1775 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1776 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1777 "description" : "Numpy file: https://numpy.org/devdocs/reference/generated/numpy.lib.format.html"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1778 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1779 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1780 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1781 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1782 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1783 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1784 "summary" : "Decode frame for numpy",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1785 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1786 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1787 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1788 "/instances/{id}/frames/{frame}/preview" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1789 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1790 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1791 "description" : "Decode one frame of interest from the given DICOM instance. The full dynamic range of grayscale images is rescaled to the [0,255] range.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1792 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1793 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1794 "description" : "Quality for JPEG images (between 1 and 100, defaults to 90)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1795 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1796 "name" : "quality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1797 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1798 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1799 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1800 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1801 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1802 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1803 "description" : "Returns an unsupported.png placeholder image if unable to provide the image instead of returning a 415 HTTP error (defaults to false)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1804 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1805 "name" : "returnUnsupportedImage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1806 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1807 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1808 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1809 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1810 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1811 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1812 "description" : "Format of the resulting image. Can be `image/png` (default), `image/jpeg` or `image/x-portable-arbitrarymap`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1813 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1814 "name" : "Accept",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1815 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1816 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1817 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1818 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1819 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1820 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1821 "description" : "Index of the frame (starts at `0`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1822 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1823 "name" : "frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1824 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1825 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1826 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1827 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1828 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1829 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1830 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1831 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1832 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1833 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1834 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1835 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1836 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1837 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1838 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1839 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1840 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1841 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1842 "image/jpeg" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1843 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1844 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1845 "description" : "JPEG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1846 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1847 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1848 "image/png" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1849 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1850 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1851 "description" : "PNG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1852 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1853 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1854 "image/x-portable-arbitrarymap" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1855 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1856 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1857 "description" : "PAM image (Portable Arbitrary Map)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1858 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1859 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1860 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1861 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1862 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1863 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1864 "summary" : "Decode a frame (preview)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1865 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1866 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1867 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1868 "/instances/{id}/frames/{frame}/raw" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1869 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1870 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1871 "description" : "Access the raw content of one individual frame of the DICOM instance of interest, bypassing image decoding. This is notably useful to access the source files in compressed transfer syntaxes.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1872 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1873 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1874 "description" : "Index of the frame (starts at `0`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1875 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1876 "name" : "frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1877 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1878 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1879 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1880 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1881 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1882 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1883 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1884 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1885 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1886 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1887 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1888 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1889 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1890 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1891 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1892 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1893 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1894 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1895 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1896 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1897 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1898 "description" : "The raw frame"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1899 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1900 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1901 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1902 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1903 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1904 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1905 "summary" : "Access raw frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1906 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1907 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1908 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1909 "/instances/{id}/frames/{frame}/raw.gz" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1910 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1911 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1912 "description" : "Access the raw content of one individual frame of the DICOM instance of interest, bypassing image decoding. This is notably useful to access the source files in compressed transfer syntaxes. The image is compressed using gzip",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1913 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1914 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1915 "description" : "Index of the frame (starts at `0`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1916 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1917 "name" : "frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1918 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1919 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1920 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1921 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1922 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1923 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1924 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1925 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1926 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1927 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1928 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1929 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1930 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1931 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1932 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1933 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1934 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1935 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1936 "application/gzip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1937 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1938 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1939 "description" : "The raw frame, compressed using gzip"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1940 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1941 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1942 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1943 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1944 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1945 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1946 "summary" : "Access raw frame (compressed)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1947 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1948 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1949 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1950 "/instances/{id}/frames/{frame}/rendered" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1951 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1952 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1953 "description" : "Render one frame of interest from the given DICOM instance. This function takes scaling into account (`RescaleSlope` and `RescaleIntercept` tags), as well as the default windowing stored in the DICOM file (`WindowCenter` and `WindowWidth`tags), and can be used to resize the resulting image. Color images are not affected by windowing.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1954 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1955 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1956 "description" : "Height of the resized image",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1957 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1958 "name" : "height",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1959 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1960 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1961 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1962 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1963 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1964 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1965 "description" : "Quality for JPEG images (between 1 and 100, defaults to 90)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1966 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1967 "name" : "quality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1968 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1969 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1970 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1971 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1972 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1973 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1974 "description" : "Returns an unsupported.png placeholder image if unable to provide the image instead of returning a 415 HTTP error (defaults to false)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1975 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1976 "name" : "returnUnsupportedImage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1977 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1978 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1979 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1980 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1981 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1982 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1983 "description" : "Whether to smooth image on resize",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1984 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1985 "name" : "smooth",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1986 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1987 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1988 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1989 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1990 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1991 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1992 "description" : "Width of the resized image",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1993 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1994 "name" : "width",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1995 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1996 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1997 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1998 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
1999 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2000 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2001 "description" : "Windowing center",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2002 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2003 "name" : "window-center",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2004 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2005 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2006 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2007 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2008 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2009 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2010 "description" : "Windowing width",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2011 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2012 "name" : "window-width",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2013 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2014 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2015 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2016 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2017 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2018 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2019 "description" : "Format of the resulting image. Can be `image/png` (default), `image/jpeg` or `image/x-portable-arbitrarymap`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2020 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2021 "name" : "Accept",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2022 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2023 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2024 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2025 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2026 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2027 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2028 "description" : "Index of the frame (starts at `0`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2029 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2030 "name" : "frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2031 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2032 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2033 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2034 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2035 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2036 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2037 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2038 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2039 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2040 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2041 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2042 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2043 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2044 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2045 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2046 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2047 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2048 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2049 "image/jpeg" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2050 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2051 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2052 "description" : "JPEG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2053 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2054 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2055 "image/png" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2056 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2057 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2058 "description" : "PNG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2059 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2060 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2061 "image/x-portable-arbitrarymap" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2062 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2063 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2064 "description" : "PAM image (Portable Arbitrary Map)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2065 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2066 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2067 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2068 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2069 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2070 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2071 "summary" : "Render a frame",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2072 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2073 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2074 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2075 "/instances/{id}/header" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2076 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2077 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2078 "description" : "Get the DICOM tags in the meta-header of the DICOM instance. By default, the `full` format is used, which combines hexadecimal tags with human-readable description.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2079 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2080 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2081 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2082 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2083 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2084 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2085 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2086 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2087 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2088 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2089 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2090 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2091 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2092 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2093 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2094 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2095 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2096 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2097 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2098 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2099 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2100 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2101 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2102 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2103 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2104 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2105 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2106 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2107 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2108 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2109 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2110 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2111 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2112 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2113 "description" : "JSON object containing the DICOM tags and their associated value",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2114 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2115 "0002,0000" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2116 "Name" : "FileMetaInformationGroupLength",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2117 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2118 "Value" : "202"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2119 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2120 "0002,0002" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2121 "Name" : "MediaStorageSOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2122 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2123 "Value" : "1.2.840.10008.5.1.4.1.1.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2124 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2125 "0002,0003" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2126 "Name" : "MediaStorageSOPInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2127 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2128 "Value" : "1.3.12.2.1107.5.1.4.54693.30000006100507010800000005269"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2129 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2130 "0002,0010" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2131 "Name" : "TransferSyntaxUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2132 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2133 "Value" : "1.2.840.10008.1.2.1"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2134 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2135 "0002,0012" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2136 "Name" : "ImplementationClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2137 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2138 "Value" : "1.3.6.1.4.1.19291.2.1"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2139 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2140 "0002,0013" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2141 "Name" : "ImplementationVersionName",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2142 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2143 "Value" : "OSIRIX001"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2144 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2145 "0002,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2146 "Name" : "SourceApplicationEntityTitle",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2147 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2148 "Value" : "OSIRIX"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2149 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2150 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2151 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2152 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2153 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2154 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2155 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2156 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2157 "summary" : "Get DICOM meta-header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2158 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2159 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2160 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2161 "/instances/{id}/image-int16" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2162 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2163 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2164 "description" : "Decode the first frame of the given DICOM instance. Pixels of grayscale images are truncated to the [-32768,32767] range. Negative values must be interpreted according to two's complement.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2165 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2166 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2167 "description" : "Quality for JPEG images (between 1 and 100, defaults to 90)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2168 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2169 "name" : "quality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2170 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2171 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2172 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2173 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2174 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2175 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2176 "description" : "Returns an unsupported.png placeholder image if unable to provide the image instead of returning a 415 HTTP error (defaults to false)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2177 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2178 "name" : "returnUnsupportedImage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2179 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2180 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2181 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2182 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2183 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2184 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2185 "description" : "Format of the resulting image. Can be `image/png` (default), `image/jpeg` or `image/x-portable-arbitrarymap`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2186 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2187 "name" : "Accept",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2188 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2189 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2190 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2191 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2192 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2193 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2194 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2195 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2196 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2197 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2198 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2199 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2200 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2201 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2202 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2203 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2204 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2205 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2206 "image/jpeg" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2207 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2208 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2209 "description" : "JPEG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2210 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2211 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2212 "image/png" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2213 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2214 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2215 "description" : "PNG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2216 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2217 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2218 "image/x-portable-arbitrarymap" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2219 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2220 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2221 "description" : "PAM image (Portable Arbitrary Map)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2222 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2223 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2224 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2225 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2226 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2227 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2228 "summary" : "Decode an image (int16)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2229 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2230 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2231 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2232 "/instances/{id}/image-uint16" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2233 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2234 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2235 "description" : "Decode the first frame of the given DICOM instance. Pixels of grayscale images are truncated to the [0,65535] range.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2236 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2237 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2238 "description" : "Quality for JPEG images (between 1 and 100, defaults to 90)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2239 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2240 "name" : "quality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2241 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2242 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2243 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2244 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2245 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2246 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2247 "description" : "Returns an unsupported.png placeholder image if unable to provide the image instead of returning a 415 HTTP error (defaults to false)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2248 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2249 "name" : "returnUnsupportedImage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2250 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2251 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2252 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2253 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2254 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2255 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2256 "description" : "Format of the resulting image. Can be `image/png` (default), `image/jpeg` or `image/x-portable-arbitrarymap`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2257 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2258 "name" : "Accept",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2259 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2260 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2261 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2262 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2263 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2264 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2265 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2266 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2267 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2268 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2269 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2270 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2271 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2272 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2273 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2274 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2275 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2276 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2277 "image/jpeg" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2278 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2279 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2280 "description" : "JPEG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2281 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2282 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2283 "image/png" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2284 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2285 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2286 "description" : "PNG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2287 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2288 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2289 "image/x-portable-arbitrarymap" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2290 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2291 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2292 "description" : "PAM image (Portable Arbitrary Map)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2293 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2294 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2295 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2296 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2297 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2298 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2299 "summary" : "Decode an image (uint16)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2300 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2301 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2302 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2303 "/instances/{id}/image-uint8" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2304 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2305 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2306 "description" : "Decode the first frame of the given DICOM instance. Pixels of grayscale images are truncated to the [0,255] range.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2307 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2308 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2309 "description" : "Quality for JPEG images (between 1 and 100, defaults to 90)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2310 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2311 "name" : "quality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2312 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2313 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2314 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2315 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2316 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2317 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2318 "description" : "Returns an unsupported.png placeholder image if unable to provide the image instead of returning a 415 HTTP error (defaults to false)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2319 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2320 "name" : "returnUnsupportedImage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2321 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2322 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2323 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2324 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2325 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2326 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2327 "description" : "Format of the resulting image. Can be `image/png` (default), `image/jpeg` or `image/x-portable-arbitrarymap`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2328 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2329 "name" : "Accept",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2330 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2331 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2332 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2333 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2334 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2335 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2336 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2337 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2338 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2339 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2340 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2341 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2342 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2343 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2344 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2345 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2346 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2347 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2348 "image/jpeg" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2349 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2350 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2351 "description" : "JPEG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2352 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2353 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2354 "image/png" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2355 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2356 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2357 "description" : "PNG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2358 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2359 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2360 "image/x-portable-arbitrarymap" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2361 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2362 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2363 "description" : "PAM image (Portable Arbitrary Map)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2364 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2365 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2366 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2367 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2368 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2369 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2370 "summary" : "Decode an image (uint8)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2371 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2372 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2373 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2374 "/instances/{id}/matlab" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2375 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2376 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2377 "description" : "Decode the first frame of the given DICOM instance., and export this frame as a Octave/Matlab matrix to be imported with `eval()`: https://book.orthanc-server.com/faq/matlab.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2378 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2379 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2380 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2381 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2382 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2383 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2384 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2385 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2386 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2387 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2388 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2389 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2390 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2391 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2392 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2393 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2394 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2395 "description" : "Octave/Matlab matrix"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2396 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2397 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2398 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2399 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2400 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2401 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2402 "summary" : "Decode frame for Matlab",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2403 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2404 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2405 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2406 "/instances/{id}/metadata" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2407 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2408 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2409 "description" : "Get the list of metadata that are associated with the given instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2410 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2411 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2412 "description" : "If present, also retrieve the value of the individual metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2413 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2414 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2415 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2416 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2417 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2418 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2419 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2420 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2421 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2422 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2423 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2424 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2425 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2426 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2427 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2428 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2429 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2430 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2431 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2432 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2433 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2434 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2435 "description" : "JSON array containing the names of the available metadata, or JSON associative array mapping metadata to their values (if `expand` argument is provided)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2436 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2437 "IndexInSeries",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2438 "ReceptionDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2439 "RemoteAET",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2440 "Origin",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2441 "TransferSyntax",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2442 "SopClassUid",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2443 "RemoteIP",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2444 "HttpUsername"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2445 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2446 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2447 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2448 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2449 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2450 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2451 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2452 "summary" : "List metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2453 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2454 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2455 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2456 "/instances/{id}/metadata/{name}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2457 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2458 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2459 "description" : "Delete some metadata associated with the given DICOM instance. This call will fail if trying to delete a system metadata (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2460 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2461 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2462 "description" : "Revision of the metadata, to check if its content has not changed and can be deleted. This header is mandatory if `CheckRevisions` option is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2463 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2464 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2465 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2466 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2467 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2468 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2469 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2470 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2471 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2472 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2473 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2474 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2475 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2476 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2477 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2478 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2479 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2480 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2481 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2482 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2483 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2484 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2485 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2486 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2487 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2488 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2489 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2490 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2491 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2492 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2493 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2494 "summary" : "Delete metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2495 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2496 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2497 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2498 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2499 "description" : "Get the value of a metadata that is associated with the given instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2500 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2501 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2502 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2503 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2504 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2505 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2506 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2507 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2508 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2509 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2510 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2511 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2512 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2513 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2514 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2515 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2516 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2517 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2518 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2519 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2520 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2521 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2522 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2523 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2524 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2525 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2526 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2527 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2528 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2529 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2530 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2531 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2532 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2533 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2534 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2535 "description" : "Value of the metadata"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2536 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2537 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2538 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2539 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2540 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2541 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2542 "description" : "Revision of the metadata, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2543 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2544 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2545 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2546 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2547 "summary" : "Get metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2548 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2549 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2550 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2551 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2552 "description" : "Set the value of some metadata in the given DICOM instance. This call will fail if trying to modify a system metadata (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2553 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2554 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2555 "description" : "Revision of the metadata, if this is not the first time this metadata is set.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2556 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2557 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2558 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2559 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2560 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2561 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2562 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2563 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2564 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2565 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2566 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2567 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2568 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2569 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2570 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2571 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2572 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2573 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2574 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2575 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2576 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2577 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2578 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2579 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2580 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2581 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2582 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2583 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2584 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2585 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2586 "description" : "String value of the metadata"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2587 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2588 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2589 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2590 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2591 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2592 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2593 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2594 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2595 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2596 "summary" : "Set metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2597 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2598 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2599 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2600 "/instances/{id}/modify" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2601 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2602 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2603 "description" : "Download a modified version of the DICOM instance whose Orthanc identifier is provided in the URL: https://book.orthanc-server.com/users/anonymization.html#modification-of-a-single-instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2604 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2605 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2606 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2607 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2608 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2609 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2610 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2611 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2612 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2613 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2614 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2615 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2616 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2617 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2618 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2619 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2620 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2621 "Force" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2622 "description" : "Allow the modification of tags related to DICOM identifiers, at the risk of breaking the DICOM model of the real world",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2623 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2624 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2625 "Keep" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2626 "description" : "Keep the original value of the specified tags, to be chosen among the `StudyInstanceUID`, `SeriesInstanceUID` and `SOPInstanceUID` tags. Avoid this feature as much as possible, as this breaks the DICOM model of the real world.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2627 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2628 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2629 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2630 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2631 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2632 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2633 "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2634 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2635 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2636 "PrivateCreator" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2637 "description" : "The private creator to be used for private tags in `Replace`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2638 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2639 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2640 "Remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2641 "description" : "List of tags that must be removed from the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2642 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2643 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2644 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2645 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2646 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2647 "RemovePrivateTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2648 "description" : "Remove the private tags from the DICOM instances (defaults to `false`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2649 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2650 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2651 "Replace" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2652 "description" : "Associative array to change the value of some DICOM tags in the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2653 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2654 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2655 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2656 "description" : "Transcode the DICOM instances to the provided DICOM transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2657 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2658 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2659 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2660 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2661 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2662 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2663 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2664 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2665 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2666 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2667 "application/dicom" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2668 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2669 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2670 "description" : "The modified DICOM instance"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2671 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2672 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2673 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2674 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2675 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2676 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2677 "summary" : "Modify instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2678 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2679 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2680 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2681 "/instances/{id}/module" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2682 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2683 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2684 "description" : "Get the instance module of the DICOM instance whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2685 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2686 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2687 "description" : "Also include the DICOM tags that are provided in this list, even if their associated value is long",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2688 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2689 "name" : "ignore-length",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2690 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2691 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2692 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2693 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2694 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2695 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2696 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2697 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2698 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2699 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2700 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2701 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2702 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2703 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2704 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2705 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2706 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2707 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2708 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2709 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2710 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2711 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2712 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2713 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2714 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2715 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2716 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2717 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2718 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2719 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2720 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2721 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2722 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2723 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2724 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2725 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2726 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2727 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2728 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2729 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2730 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2731 "description" : "Information about the DICOM instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2732 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2733 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2734 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2735 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2736 "Value" : "ISO_IR 192"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2737 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2738 "0008,0012" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2739 "Name" : "InstanceCreationDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2740 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2741 "Value" : "20151217"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2742 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2743 "0008,0013" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2744 "Name" : "InstanceCreationTime",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2745 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2746 "Value" : "125204.215000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2747 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2748 "0008,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2749 "Name" : "SOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2750 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2751 "Value" : "1.2.840.10008.5.1.4.1.1.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2752 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2753 "0008,0018" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2754 "Name" : "SOPInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2755 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2756 "Value" : "1.3.6.1.4.1.14519.5.2.1.2193.7172.168997935789297163075628247666"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2757 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2758 "0020,0013" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2759 "Name" : "InstanceNumber",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2760 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2761 "Value" : "155"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2762 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2763 "0028,0303" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2764 "Name" : "LongitudinalTemporalInformationModified",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2765 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2766 "Value" : "MODIFIED"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2767 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2768 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2769 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2770 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2771 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2772 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2773 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2774 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2775 "summary" : "Get instance module",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2776 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2777 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2778 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2779 "/instances/{id}/numpy" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2780 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2781 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2782 "description" : "Decode the given DICOM instance, for use with numpy in Python. The numpy array has 4 dimensions: (frame, height, width, color channel).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2783 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2784 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2785 "description" : "Compress the file as `.npz`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2786 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2787 "name" : "compress",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2788 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2789 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2790 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2791 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2792 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2793 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2794 "description" : "On grayscale images, apply the rescaling and return floating-point values",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2795 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2796 "name" : "rescale",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2797 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2798 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2799 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2800 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2801 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2802 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2803 "description" : "Orthanc identifier of the DICOM resource of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2804 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2805 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2806 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2807 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2808 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2809 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2810 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2811 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2812 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2813 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2814 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2815 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2816 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2817 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2818 "description" : "Numpy file: https://numpy.org/devdocs/reference/generated/numpy.lib.format.html"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2819 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2820 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2821 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2822 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2823 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2824 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2825 "summary" : "Decode instance for numpy",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2826 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2827 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2828 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2829 "/instances/{id}/patient" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2830 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2831 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2832 "description" : "Get detailed information about the parent patient of the DICOM instance whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2833 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2834 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2835 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2836 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2837 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2838 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2839 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2840 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2841 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2842 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2843 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2844 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2845 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2846 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2847 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2848 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2849 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2850 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2851 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2852 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2853 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2854 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2855 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2856 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2857 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2858 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2859 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2860 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2861 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2862 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2863 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2864 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2865 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2866 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2867 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2868 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2869 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2870 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2871 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2872 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2873 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2874 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2875 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2876 "description" : "Information about the parent DICOM patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2877 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2878 "ID" : "65ce8003-696b2eb6-03adeee7-6561ce8e-3e03f13a",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2879 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2880 "LastUpdate" : "20200803T131236",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2881 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2882 "PatientBirthDate" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2883 "PatientID" : "HN_P001",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2884 "PatientName" : "HN_P001",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2885 "PatientSex" : "M"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2886 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2887 "Studies" : [ "1c379a23-9fd28bba-02b60e5b-850ff34e-4349f09b" ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2888 "Type" : "Patient"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2889 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2890 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2891 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2892 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2893 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2894 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2895 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2896 "summary" : "Get parent patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2897 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2898 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2899 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2900 "/instances/{id}/pdf" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2901 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2902 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2903 "description" : "Get the PDF file that is embedded in one DICOM instance. If the DICOM instance doesn't contain the `EncapsulatedDocument` tag or if the `MIMETypeOfEncapsulatedDocument` tag doesn't correspond to the PDF type, a `404` HTTP error is raised.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2904 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2905 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2906 "description" : "Orthanc identifier of the instance interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2907 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2908 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2909 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2910 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2911 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2912 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2913 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2914 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2915 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2916 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2917 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2918 "application/pdf" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2919 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2920 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2921 "description" : "PDF file"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2922 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2923 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2924 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2925 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2926 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2927 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2928 "summary" : "Get embedded PDF",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2929 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2930 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2931 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2932 "/instances/{id}/preview" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2933 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2934 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2935 "description" : "Decode the first frame of the given DICOM instance. The full dynamic range of grayscale images is rescaled to the [0,255] range.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2936 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2937 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2938 "description" : "Quality for JPEG images (between 1 and 100, defaults to 90)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2939 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2940 "name" : "quality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2941 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2942 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2943 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2944 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2945 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2946 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2947 "description" : "Returns an unsupported.png placeholder image if unable to provide the image instead of returning a 415 HTTP error (defaults to false)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2948 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2949 "name" : "returnUnsupportedImage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2950 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2951 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2952 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2953 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2954 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2955 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2956 "description" : "Format of the resulting image. Can be `image/png` (default), `image/jpeg` or `image/x-portable-arbitrarymap`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2957 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2958 "name" : "Accept",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2959 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2960 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2961 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2962 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2963 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2964 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2965 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2966 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2967 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2968 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2969 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2970 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2971 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2972 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2973 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2974 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2975 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2976 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2977 "image/jpeg" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2978 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2979 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2980 "description" : "JPEG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2981 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2982 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2983 "image/png" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2984 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2985 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2986 "description" : "PNG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2987 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2988 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2989 "image/x-portable-arbitrarymap" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2990 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2991 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2992 "description" : "PAM image (Portable Arbitrary Map)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2993 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2994 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2995 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2996 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2997 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2998 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
2999 "summary" : "Decode an image (preview)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3000 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3001 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3002 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3003 "/instances/{id}/reconstruct" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3004 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3005 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3006 "description" : "Reconstruct the main DICOM tags in DB of the instance whose Orthanc identifier is provided in the URL. This is useful if child studies/series/instances have inconsistent values for higher-level tags, in order to force Orthanc to use the value from the resource of interest. Beware that this is a time-consuming operation, as all the children DICOM instances will be parsed again, and the Orthanc index will be updated accordingly.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3007 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3008 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3009 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3010 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3011 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3012 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3013 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3014 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3015 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3016 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3017 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3018 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3019 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3020 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3021 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3022 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3023 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3024 "ReconstructFiles" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3025 "description" : "Also reconstruct the files of the resources (e.g: apply IngestTranscoding, StorageCompression). 'false' by default. (New in Orthanc 1.11.0)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3026 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3027 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3028 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3029 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3030 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3031 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3032 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3033 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3034 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3035 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3036 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3037 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3038 "summary" : "Reconstruct tags & optionally files of instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3039 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3040 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3041 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3042 "/instances/{id}/rendered" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3043 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3044 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3045 "description" : "Render the first frame of the given DICOM instance. This function takes scaling into account (`RescaleSlope` and `RescaleIntercept` tags), as well as the default windowing stored in the DICOM file (`WindowCenter` and `WindowWidth`tags), and can be used to resize the resulting image. Color images are not affected by windowing.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3046 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3047 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3048 "description" : "Height of the resized image",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3049 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3050 "name" : "height",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3051 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3052 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3053 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3054 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3055 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3056 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3057 "description" : "Quality for JPEG images (between 1 and 100, defaults to 90)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3058 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3059 "name" : "quality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3060 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3061 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3062 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3063 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3064 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3065 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3066 "description" : "Returns an unsupported.png placeholder image if unable to provide the image instead of returning a 415 HTTP error (defaults to false)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3067 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3068 "name" : "returnUnsupportedImage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3069 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3070 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3071 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3072 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3073 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3074 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3075 "description" : "Whether to smooth image on resize",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3076 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3077 "name" : "smooth",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3078 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3079 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3080 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3081 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3082 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3083 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3084 "description" : "Width of the resized image",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3085 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3086 "name" : "width",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3087 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3088 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3089 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3090 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3091 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3092 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3093 "description" : "Windowing center",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3094 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3095 "name" : "window-center",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3096 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3097 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3098 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3099 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3100 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3101 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3102 "description" : "Windowing width",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3103 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3104 "name" : "window-width",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3105 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3106 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3107 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3108 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3109 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3110 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3111 "description" : "Format of the resulting image. Can be `image/png` (default), `image/jpeg` or `image/x-portable-arbitrarymap`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3112 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3113 "name" : "Accept",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3114 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3115 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3116 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3117 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3118 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3119 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3120 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3121 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3122 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3123 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3124 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3125 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3126 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3127 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3128 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3129 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3130 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3131 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3132 "image/jpeg" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3133 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3134 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3135 "description" : "JPEG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3136 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3137 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3138 "image/png" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3139 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3140 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3141 "description" : "PNG image"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3142 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3143 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3144 "image/x-portable-arbitrarymap" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3145 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3146 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3147 "description" : "PAM image (Portable Arbitrary Map)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3148 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3149 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3150 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3151 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3152 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3153 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3154 "summary" : "Render an image",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3155 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3156 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3157 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3158 "/instances/{id}/series" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3159 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3160 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3161 "description" : "Get detailed information about the parent series of the DICOM instance whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3162 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3163 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3164 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3165 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3166 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3167 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3168 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3169 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3170 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3171 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3172 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3173 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3174 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3175 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3176 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3177 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3178 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3179 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3180 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3181 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3182 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3183 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3184 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3185 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3186 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3187 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3188 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3189 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3190 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3191 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3192 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3193 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3194 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3195 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3196 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3197 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3198 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3199 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3200 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3201 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3202 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3203 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3204 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3205 "description" : "Information about the parent DICOM series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3206 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3207 "ExpectedNumberOfInstances" : null,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3208 "ID" : "52f4cb90-29d1d1a2-2ca34edd-4b8851fc-8cb269f2",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3209 "Instances" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3210 "ccc7cee2-81566098-5531d590-57b3c148-1787d177",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3211 "af464afa-bf0c7970-02a3c666-337a8df8-1d955e27",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3212 "42616941-88cbd2a7-f30ceecb-3f53b658-c641372c",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3213 "1470f579-11b80cb9-ecf22279-041175d9-d8f3c3ef",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3214 "373622cf-43a0259b-ebf55c2a-02e5ef32-1a3115f0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3215 "72b68848-9729ad79-e8762db4-50d97dd3-f3591322",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3216 "73e2f25f-aa47b7ba-5d1c6e7b-91b98261-a195316e",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3217 "c22831de-6ddaa06c-1f877da5-400a8f03-83668321",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3218 "0c322d30-98af6f31-0bd59c19-99e07f68-317aeb3b",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3219 "dd69d888-f3065dac-a47c947c-1aed47c8-fc181d11",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3220 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3221 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3222 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3223 "LastUpdate" : "20200803T131236",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3224 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3225 "BodyPartExamined" : "CHEST",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3226 "ImageOrientationPatient" : "1\\0\\0\\0\\1\\0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3227 "Manufacturer" : "SIEMENS",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3228 "Modality" : "CT",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3229 "SeriesDate" : "20091022",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3230 "SeriesDescription" : "HEAD/NECK 2.0 B30s",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3231 "SeriesInstanceUID" : "1.3.6.1.4.1.14519.5.2.1.2193.7172.215111709746721743805035350686",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3232 "SeriesNumber" : "4",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3233 "SeriesTime" : "173151.203000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3234 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3235 "ParentStudy" : "1c379a23-9fd28bba-02b60e5b-850ff34e-4349f09b",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3236 "Status" : "Unknown",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3237 "Type" : "Series"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3238 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3239 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3240 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3241 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3242 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3243 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3244 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3245 "summary" : "Get parent series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3246 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3247 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3248 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3249 "/instances/{id}/simplified-tags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3250 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3251 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3252 "description" : "Get the DICOM tags in human-readable format (same as the `/instances/{id}/tags?simplify` route)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3253 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3254 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3255 "description" : "Also include the DICOM tags that are provided in this list, even if their associated value is long",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3256 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3257 "name" : "ignore-length",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3258 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3259 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3260 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3261 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3262 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3263 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3264 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3265 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3266 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3267 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3268 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3269 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3270 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3271 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3272 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3273 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3274 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3275 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3276 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3277 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3278 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3279 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3280 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3281 "description" : "JSON object containing the DICOM tags and their associated value",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3282 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3283 "AccessionNumber" : "0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3284 "AcquisitionDate" : "20061005",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3285 "AcquisitionNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3286 "AcquisitionTime" : "101812.967223",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3287 "BitsAllocated" : "16",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3288 "BitsStored" : "12",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3289 "BodyPartExamined" : "EXTREMITY",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3290 "Columns" : "512",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3291 "ContentDate" : "20061005",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3292 "ContentTime" : "101812.967223",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3293 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3294 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3295 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3296 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3297 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3298 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3299 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3300 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3301 "summary" : "Get human-readable tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3302 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3303 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3304 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3305 "/instances/{id}/statistics" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3306 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3307 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3308 "description" : "Get statistics about the given instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3309 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3310 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3311 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3312 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3313 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3314 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3315 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3316 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3317 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3318 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3319 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3320 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3321 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3322 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3323 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3324 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3325 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3326 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3327 "DicomDiskSize" : "526744",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3328 "DicomDiskSizeMB" : 0,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3329 "DicomUncompressedSize" : "526744",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3330 "DicomUncompressedSizeMB" : 0,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3331 "DiskSize" : "539420",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3332 "DiskSizeMB" : 0,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3333 "UncompressedSize" : "539420",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3334 "UncompressedSizeMB" : 0
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3335 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3336 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3337 "DicomDiskSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3338 "description" : "Size on the disk of the DICOM instances associated with the instance, expressed in bytes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3339 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3340 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3341 "DicomDiskSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3342 "description" : "Size on the disk of the DICOM instances associated with the instance, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3343 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3344 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3345 "DicomUncompressedSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3346 "description" : "Size on the disk of the uncompressed DICOM instances associated with the instance, expressed in bytes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3347 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3348 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3349 "DicomUncompressedSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3350 "description" : "Size on the disk of the uncompressed DICOM instances associated with the instance, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3351 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3352 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3353 "DiskSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3354 "description" : "Size of the instance on the disk in bytes, expressed as a string for 64bit compatibility with JSON",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3355 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3356 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3357 "DiskSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3358 "description" : "Size of the instance on the disk, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3359 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3360 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3361 "UncompressedSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3362 "description" : "Size of the instance after decompression in bytes, expressed as a string for 64bit compatibility with JSON",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3363 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3364 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3365 "UncompressedSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3366 "description" : "Size of the instance after decompression, expressed in megabytes (MB). This is different from `DiskSizeMB` iff `StorageCompression` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3367 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3368 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3369 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3370 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3371 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3372 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3373 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3374 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3375 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3376 "summary" : "Get instance statistics",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3377 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3378 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3379 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3380 "/instances/{id}/study" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3381 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3382 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3383 "description" : "Get detailed information about the parent study of the DICOM instance whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3384 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3385 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3386 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3387 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3388 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3389 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3390 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3391 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3392 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3393 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3394 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3395 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3396 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3397 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3398 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3399 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3400 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3401 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3402 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3403 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3404 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3405 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3406 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3407 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3408 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3409 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3410 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3411 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3412 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3413 "description" : "Orthanc identifier of the instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3414 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3415 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3416 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3417 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3418 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3419 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3420 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3421 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3422 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3423 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3424 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3425 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3426 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3427 "description" : "Information about the parent DICOM study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3428 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3429 "ID" : "1c379a23-9fd28bba-02b60e5b-850ff34e-4349f09b",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3430 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3431 "LastUpdate" : "20200803T131236",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3432 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3433 "AccessionNumber" : "2819497684894126",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3434 "ReferringPhysicianName" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3435 "StudyDate" : "20091022",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3436 "StudyDescription" : "RT^HEAD_NECK (Adult)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3437 "StudyID" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3438 "StudyInstanceUID" : "1.3.6.1.4.1.14519.5.2.1.2193.7172.847236098565581057121195872945",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3439 "StudyTime" : "172721.327000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3440 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3441 "ParentPatient" : "65ce8003-696b2eb6-03adeee7-6561ce8e-3e03f13a",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3442 "PatientMainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3443 "PatientBirthDate" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3444 "PatientID" : "HN_P001",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3445 "PatientName" : "HN_P001",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3446 "PatientSex" : "M"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3447 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3448 "Series" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3449 "9c7031b2-97909802-c35563e6-168bf0af-5cfbdce4",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3450 "1d9c4560-6480f3d9-0a4d3654-65715f38-755ad2e0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3451 "52f4cb90-29d1d1a2-2ca34edd-4b8851fc-8cb269f2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3452 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3453 "Type" : "Study"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3454 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3455 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3456 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3457 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3458 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3459 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3460 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3461 "summary" : "Get parent study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3462 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3463 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3464 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3465 "/instances/{id}/tags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3466 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3467 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3468 "description" : "Get the DICOM tags in the specified format. By default, the `full` format is used, which combines hexadecimal tags with human-readable description.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3469 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3470 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3471 "description" : "Also include the DICOM tags that are provided in this list, even if their associated value is long",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3472 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3473 "name" : "ignore-length",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3474 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3475 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3476 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3477 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3478 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3479 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3480 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3481 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3482 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3483 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3484 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3485 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3486 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3487 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3488 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3489 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3490 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3491 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3492 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3493 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3494 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3495 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3496 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3497 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3498 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3499 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3500 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3501 "description" : "Orthanc identifier of the DICOM instance of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3502 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3503 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3504 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3505 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3506 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3507 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3508 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3509 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3510 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3511 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3512 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3513 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3514 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3515 "description" : "JSON object containing the DICOM tags and their associated value",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3516 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3517 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3518 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3519 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3520 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3521 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3522 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3523 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3524 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3525 "Value" : "ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 SPI"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3526 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3527 "0008,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3528 "Name" : "SOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3529 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3530 "Value" : "1.2.840.10008.5.1.4.1.1.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3531 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3532 "0008,0018" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3533 "Name" : "SOPInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3534 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3535 "Value" : "1.3.12.2.1107.5.1.4.54693.30000006100507010800000005269"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3536 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3537 "0008,0020" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3538 "Name" : "StudyDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3539 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3540 "Value" : "20061005"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3541 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3542 "0008,0021" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3543 "Name" : "SeriesDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3544 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3545 "Value" : "20061005"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3546 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3547 "0008,0022" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3548 "Name" : "AcquisitionDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3549 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3550 "Value" : "20061005"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3551 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3552 "0008,0023" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3553 "Name" : "ContentDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3554 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3555 "Value" : "20061005"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3556 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3557 "0008,0030" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3558 "Name" : "StudyTime",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3559 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3560 "Value" : "101556.921000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3561 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3562 "0008,0031" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3563 "Name" : "SeriesTime",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3564 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3565 "Value" : "102051.046000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3566 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3567 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3568 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3569 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3570 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3571 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3572 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3573 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3574 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3575 "summary" : "Get DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3576 "tags" : [ "Instances" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3577 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3578 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3579 "/jobs" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3580 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3581 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3582 "description" : "List all the available jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3583 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3584 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3585 "description" : "If present, retrieve detailed information about the individual jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3586 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3587 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3588 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3589 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3590 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3591 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3592 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3593 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3594 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3595 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3596 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3597 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3598 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3599 "description" : "JSON array containing either the jobs identifiers, or detailed information about the reported jobs (if `expand` argument is provided)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3600 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3601 "003e5852-af2b-42af-8190-2e333b8f8bbb",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3602 "1114a97d-0a79-40de-be60-a3af5d4ba680",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3603 "1dec255c-7736-41ec-8560-e1486aa941ce",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3604 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3605 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3606 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3607 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3608 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3609 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3610 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3611 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3612 "summary" : "List jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3613 "tags" : [ "Jobs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3614 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3615 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3616 "/jobs/{id}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3617 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3618 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3619 "description" : "Retrieve detailed information about the job whose identifier is provided in the URL: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3620 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3621 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3622 "description" : "Identifier of the job of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3623 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3624 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3625 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3626 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3627 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3628 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3629 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3630 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3631 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3632 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3633 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3634 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3635 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3636 "description" : "JSON object detailing the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3637 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3638 "CompletionTime" : "20201227T161842.520129",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3639 "Content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3640 "ArchiveSizeMB" : 22,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3641 "Description" : "REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3642 "InstancesCount" : 232,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3643 "UncompressedSizeMB" : 64
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3644 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3645 "CreationTime" : "20201227T161836.428311",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3646 "EffectiveRuntime" : 6.0810000000000004,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3647 "ErrorCode" : 0,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3648 "ErrorDescription" : "Success",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3649 "ID" : "645ecb02-7c0e-4465-b767-df873222dcfb",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3650 "Priority" : 0,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3651 "Progress" : 100,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3652 "State" : "Success",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3653 "Timestamp" : "20201228T160340.253201",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3654 "Type" : "Media"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3655 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3656 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3657 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3658 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3659 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3660 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3661 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3662 "summary" : "Get job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3663 "tags" : [ "Jobs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3664 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3665 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3666 "/jobs/{id}/cancel" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3667 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3668 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3669 "description" : "Cancel the job whose identifier is provided in the URL. Check out the Orthanc Book for more information about the state machine applicable to jobs: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3670 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3671 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3672 "description" : "Identifier of the job of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3673 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3674 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3675 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3676 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3677 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3678 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3679 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3680 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3681 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3682 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3683 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3684 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3685 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3686 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3687 "description" : "Empty JSON object in the case of a success"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3688 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3689 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3690 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3691 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3692 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3693 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3694 "summary" : "Cancel job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3695 "tags" : [ "Jobs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3696 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3697 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3698 "/jobs/{id}/pause" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3699 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3700 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3701 "description" : "Pause the job whose identifier is provided in the URL. Check out the Orthanc Book for more information about the state machine applicable to jobs: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3702 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3703 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3704 "description" : "Identifier of the job of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3705 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3706 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3707 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3708 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3709 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3710 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3711 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3712 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3713 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3714 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3715 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3716 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3717 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3718 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3719 "description" : "Empty JSON object in the case of a success"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3720 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3721 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3722 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3723 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3724 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3725 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3726 "summary" : "Pause job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3727 "tags" : [ "Jobs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3728 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3729 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3730 "/jobs/{id}/resubmit" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3731 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3732 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3733 "description" : "Resubmit the job whose identifier is provided in the URL. Check out the Orthanc Book for more information about the state machine applicable to jobs: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3734 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3735 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3736 "description" : "Identifier of the job of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3737 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3738 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3739 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3740 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3741 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3742 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3743 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3744 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3745 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3746 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3747 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3748 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3749 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3750 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3751 "description" : "Empty JSON object in the case of a success"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3752 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3753 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3754 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3755 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3756 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3757 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3758 "summary" : "Resubmit job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3759 "tags" : [ "Jobs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3760 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3761 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3762 "/jobs/{id}/resume" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3763 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3764 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3765 "description" : "Resume the job whose identifier is provided in the URL. Check out the Orthanc Book for more information about the state machine applicable to jobs: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3766 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3767 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3768 "description" : "Identifier of the job of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3769 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3770 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3771 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3772 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3773 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3774 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3775 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3776 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3777 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3778 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3779 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3780 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3781 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3782 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3783 "description" : "Empty JSON object in the case of a success"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3784 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3785 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3786 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3787 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3788 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3789 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3790 "summary" : "Resume job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3791 "tags" : [ "Jobs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3792 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3793 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3794 "/jobs/{id}/{key}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3795 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3796 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3797 "description" : "Retrieve some output produced by a job. As of Orthanc 1.8.2, only the jobs that generate a DICOMDIR media or a ZIP archive provide such an output (with `key` equals to `archive`).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3798 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3799 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3800 "description" : "Identifier of the job of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3801 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3802 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3803 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3804 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3805 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3806 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3807 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3808 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3809 "description" : "Name of the output of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3810 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3811 "name" : "key",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3812 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3813 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3814 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3815 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3816 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3817 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3818 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3819 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3820 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3821 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3822 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3823 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3824 "description" : "Content of the output of the job"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3825 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3826 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3827 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3828 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3829 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3830 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3831 "summary" : "Get job output",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3832 "tags" : [ "Jobs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3833 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3834 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3835 "/modalities" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3836 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3837 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3838 "description" : "List all the DICOM modalities that are known to Orthanc. This corresponds either to the content of the `DicomModalities` configuration option, or to the information stored in the database if `DicomModalitiesInDatabase` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3839 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3840 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3841 "description" : "If present, retrieve detailed information about the individual DICOM modalities",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3842 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3843 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3844 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3845 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3846 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3847 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3848 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3849 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3850 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3851 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3852 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3853 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3854 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3855 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3856 "description" : "JSON array containing either the identifiers of the modalities, or detailed information about the modalities (if `expand` argument is provided)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3857 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3858 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3859 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3860 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3861 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3862 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3863 "summary" : "List DICOM modalities",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3864 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3865 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3866 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3867 "/modalities/{id}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3868 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3869 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3870 "description" : "Delete one DICOM modality. This change is permanent iff. `DicomModalitiesInDatabase` is `true`, otherwise it is lost at the next restart of Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3871 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3872 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3873 "description" : "Identifier of the DICOM modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3874 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3875 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3876 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3877 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3878 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3879 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3880 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3881 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3882 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3883 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3884 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3885 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3886 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3887 "summary" : "Delete DICOM modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3888 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3889 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3890 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3891 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3892 "description" : "List the operations that are available for a DICOM modality.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3893 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3894 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3895 "description" : "Identifier of the DICOM modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3896 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3897 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3898 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3899 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3900 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3901 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3902 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3903 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3904 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3905 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3906 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3907 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3908 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3909 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3910 "description" : "List of the available operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3911 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3912 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3913 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3914 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3915 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3916 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3917 "summary" : "List operations on modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3918 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3919 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3920 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3921 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3922 "description" : "Define a new DICOM modality, or update an existing one. This change is permanent iff. `DicomModalitiesInDatabase` is `true`, otherwise it is lost at the next restart of Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3923 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3924 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3925 "description" : "Identifier of the new/updated DICOM modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3926 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3927 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3928 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3929 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3930 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3931 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3932 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3933 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3934 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3935 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3936 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3937 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3938 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3939 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3940 "AET" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3941 "description" : "AET of the remote DICOM modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3942 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3943 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3944 "AllowEcho" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3945 "description" : "Whether to accept C-ECHO SCU commands issued by the remote modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3946 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3947 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3948 "AllowFind" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3949 "description" : "Whether to accept C-FIND SCU commands issued by the remote modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3950 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3951 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3952 "AllowFindWorklist" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3953 "description" : "Whether to accept C-FIND SCU commands for worklists issued by the remote modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3954 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3955 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3956 "AllowGet" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3957 "description" : "Whether to accept C-GET SCU commands issued by the remote modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3958 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3959 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3960 "AllowMove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3961 "description" : "Whether to accept C-MOVE SCU commands issued by the remote modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3962 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3963 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3964 "AllowStorageCommitment" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3965 "description" : "Whether to accept storage commitment requests issued by the remote modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3966 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3967 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3968 "AllowStore" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3969 "description" : "Whether to accept C-STORE SCU commands issued by the remote modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3970 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3971 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3972 "AllowTranscoding" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3973 "description" : "Whether to allow transcoding for operations initiated by this modality. This option applies to Orthanc C-GET SCP and to Orthanc C-STORE SCU. It only has an effect if the global option `EnableTranscoding` is set to `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3974 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3975 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3976 "Host" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3977 "description" : "Host address of the remote DICOM modality (typically, an IP address)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3978 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3979 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3980 "Manufacturer" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3981 "description" : "Manufacturer of the remote DICOM modality (check configuration option `DicomModalities` for possible values",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3982 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3983 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3984 "Port" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3985 "description" : "TCP port of the remote DICOM modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3986 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3987 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3988 "UseDicomTls" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3989 "description" : "Whether to use DICOM TLS in the SCU connection initiated by Orthanc (new in Orthanc 1.9.0)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3990 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3991 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3992 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3993 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3994 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3995 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3996 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3997 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3998 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
3999 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4000 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4001 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4002 "summary" : "Update DICOM modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4003 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4004 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4005 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4006 "/modalities/{id}/configuration" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4007 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4008 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4009 "description" : "Get detailed information about the configuration of some DICOM modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4010 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4011 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4012 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4013 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4014 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4015 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4016 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4017 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4018 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4019 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4020 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4021 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4022 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4023 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4024 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4025 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4026 "description" : "Configuration of the modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4027 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4028 "AET" : "ORTHANCTEST",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4029 "AllowEcho" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4030 "AllowEventReport" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4031 "AllowFind" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4032 "AllowFindWorklist" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4033 "AllowGet" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4034 "AllowMove" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4035 "AllowNAction" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4036 "AllowStore" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4037 "AllowTranscoding" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4038 "Host" : "127.0.1.1",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4039 "Manufacturer" : "Generic",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4040 "Port" : 5001
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4041 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4042 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4043 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4044 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4045 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4046 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4047 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4048 "summary" : "Get modality configuration",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4049 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4050 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4051 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4052 "/modalities/{id}/echo" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4053 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4054 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4055 "description" : "Trigger C-ECHO SCU command against the DICOM modality whose identifier is provided in URL: https://book.orthanc-server.com/users/rest.html#performing-c-echo",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4056 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4057 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4058 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4059 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4060 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4061 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4062 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4063 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4064 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4065 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4066 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4067 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4068 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4069 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4070 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4071 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4072 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4073 "CheckFind" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4074 "description" : "Issue a dummy C-FIND command after the C-GET SCU, in order to check whether the remote modality knows about Orthanc. This field defaults to the value of the `DicomEchoChecksFind` configuration option. New in Orthanc 1.8.1.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4075 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4076 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4077 "Timeout" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4078 "description" : "Timeout for the C-ECHO command, in seconds",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4079 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4080 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4081 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4082 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4083 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4084 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4085 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4086 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4087 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4088 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4089 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4090 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4091 "summary" : "Trigger C-ECHO SCU",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4092 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4093 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4094 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4095 "/modalities/{id}/find" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4096 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4097 "deprecated" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4098 "description" : "Trigger a sequence of C-FIND SCU commands against the DICOM modality whose identifier is provided in URL, in order to discover a hierarchy of matching patients/studies/series. Deprecated in favor of `/modalities/{id}/query`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4099 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4100 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4101 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4102 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4103 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4104 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4105 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4106 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4107 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4108 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4109 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4110 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4111 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4112 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4113 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4114 "description" : "Associative array containing the query on the values of the DICOM tags"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4115 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4116 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4117 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4118 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4119 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4120 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4121 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4122 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4123 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4124 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4125 "description" : "JSON array describing the DICOM tags of the matching patients, embedding the matching studies, then the matching series."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4126 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4127 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4128 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4129 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4130 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4131 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4132 "summary" : "Hierarchical C-FIND SCU",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4133 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4134 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4135 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4136 "/modalities/{id}/find-instance" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4137 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4138 "deprecated" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4139 "description" : "Trigger C-FIND SCU command against the DICOM modality whose identifier is provided in URL, in order to find an instance. Deprecated in favor of `/modalities/{id}/query`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4140 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4141 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4142 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4143 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4144 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4145 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4146 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4147 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4148 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4149 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4150 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4151 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4152 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4153 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4154 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4155 "description" : "Associative array containing the query on the values of the DICOM tags"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4156 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4157 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4158 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4159 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4160 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4161 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4162 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4163 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4164 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4165 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4166 "description" : "JSON array describing the DICOM tags of the matching instances"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4167 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4168 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4169 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4170 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4171 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4172 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4173 "summary" : "C-FIND SCU for instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4174 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4175 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4176 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4177 "/modalities/{id}/find-patient" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4178 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4179 "deprecated" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4180 "description" : "Trigger C-FIND SCU command against the DICOM modality whose identifier is provided in URL, in order to find a patient. Deprecated in favor of `/modalities/{id}/query`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4181 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4182 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4183 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4184 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4185 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4186 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4187 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4188 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4189 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4190 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4191 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4192 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4193 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4194 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4195 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4196 "description" : "Associative array containing the query on the values of the DICOM tags"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4197 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4198 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4199 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4200 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4201 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4202 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4203 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4204 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4205 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4206 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4207 "description" : "JSON array describing the DICOM tags of the matching patients"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4208 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4209 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4210 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4211 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4212 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4213 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4214 "summary" : "C-FIND SCU for patients",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4215 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4216 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4217 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4218 "/modalities/{id}/find-series" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4219 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4220 "deprecated" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4221 "description" : "Trigger C-FIND SCU command against the DICOM modality whose identifier is provided in URL, in order to find a series. Deprecated in favor of `/modalities/{id}/query`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4222 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4223 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4224 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4225 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4226 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4227 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4228 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4229 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4230 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4231 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4232 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4233 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4234 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4235 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4236 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4237 "description" : "Associative array containing the query on the values of the DICOM tags"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4238 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4239 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4240 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4241 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4242 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4243 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4244 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4245 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4246 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4247 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4248 "description" : "JSON array describing the DICOM tags of the matching series"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4249 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4250 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4251 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4252 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4253 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4254 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4255 "summary" : "C-FIND SCU for series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4256 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4257 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4258 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4259 "/modalities/{id}/find-study" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4260 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4261 "deprecated" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4262 "description" : "Trigger C-FIND SCU command against the DICOM modality whose identifier is provided in URL, in order to find a study. Deprecated in favor of `/modalities/{id}/query`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4263 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4264 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4265 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4266 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4267 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4268 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4269 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4270 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4271 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4272 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4273 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4274 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4275 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4276 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4277 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4278 "description" : "Associative array containing the query on the values of the DICOM tags"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4279 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4280 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4281 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4282 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4283 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4284 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4285 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4286 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4287 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4288 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4289 "description" : "JSON array describing the DICOM tags of the matching studies"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4290 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4291 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4292 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4293 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4294 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4295 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4296 "summary" : "C-FIND SCU for studies",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4297 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4298 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4299 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4300 "/modalities/{id}/find-worklist" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4301 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4302 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4303 "description" : "Trigger C-FIND SCU command against the remote worklists of the DICOM modality whose identifier is provided in URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4304 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4305 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4306 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4307 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4308 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4309 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4310 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4311 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4312 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4313 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4314 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4315 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4316 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4317 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4318 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4319 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4320 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4321 "Full" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4322 "description" : "If set to `true`, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4323 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4324 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4325 "Query" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4326 "description" : "Associative array containing the filter on the values of the DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4327 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4328 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4329 "Short" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4330 "description" : "If set to `true`, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4331 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4332 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4333 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4334 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4335 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4336 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4337 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4338 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4339 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4340 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4341 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4342 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4343 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4344 "description" : "JSON array describing the DICOM tags of the matching worklists"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4345 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4346 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4347 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4348 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4349 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4350 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4351 "summary" : "C-FIND SCU for worklist",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4352 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4353 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4354 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4355 "/modalities/{id}/move" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4356 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4357 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4358 "description" : "Start a C-MOVE SCU command as a job, in order to drive the execution of a sequence of C-STORE commands by some remote DICOM modality whose identifier is provided in the URL: https://book.orthanc-server.com/users/rest.html#performing-c-move",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4359 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4360 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4361 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4362 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4363 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4364 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4365 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4366 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4367 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4368 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4369 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4370 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4371 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4372 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4373 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4374 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4375 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4376 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4377 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4378 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4379 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4380 "Level" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4381 "description" : "Level of the query (`Patient`, `Study`, `Series` or `Instance`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4382 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4383 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4384 "LocalAet" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4385 "description" : "Local AET that is used for this commands, defaults to `DicomAet` configuration option. Ignored if `DicomModalities` already sets `LocalAet` for this modality.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4386 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4387 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4388 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4389 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4390 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4391 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4392 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4393 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4394 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4395 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4396 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4397 "description" : "List of queries identifying all the DICOM resources to be sent",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4398 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4399 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4400 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4401 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4402 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4403 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4404 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4405 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4406 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4407 "TargetAet" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4408 "description" : "Target AET that will be used by the remote DICOM modality as a target for its C-STORE SCU commands, defaults to `DicomAet` configuration option in order to do a simple query/retrieve",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4409 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4410 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4411 "Timeout" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4412 "description" : "Timeout for the C-MOVE command, in seconds",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4413 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4414 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4415 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4416 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4417 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4418 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4419 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4420 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4421 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4422 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4423 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4424 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4425 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4426 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4427 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4428 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4429 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4430 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4431 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4432 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4433 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4434 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4435 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4436 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4437 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4438 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4439 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4440 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4441 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4442 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4443 "summary" : "Trigger C-MOVE SCU",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4444 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4445 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4446 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4447 "/modalities/{id}/query" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4448 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4449 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4450 "description" : "Trigger C-FIND SCU command against the DICOM modality whose identifier is provided in URL: https://book.orthanc-server.com/users/rest.html#performing-query-retrieve-c-find-and-find-with-rest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4451 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4452 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4453 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4454 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4455 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4456 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4457 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4458 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4459 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4460 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4461 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4462 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4463 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4464 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4465 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4466 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4467 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4468 "Level" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4469 "description" : "Level of the query (`Patient`, `Study`, `Series` or `Instance`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4470 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4471 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4472 "LocalAet" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4473 "description" : "Local AET that is used for this commands, defaults to `DicomAet` configuration option. Ignored if `DicomModalities` already sets `LocalAet` for this modality.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4474 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4475 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4476 "Normalize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4477 "description" : "Whether to normalize the query, i.e. whether to wipe out from the query, the DICOM tags that are not applicable for the query-retrieve level of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4478 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4479 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4480 "Query" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4481 "description" : "Associative array containing the filter on the values of the DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4482 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4483 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4484 "Timeout" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4485 "description" : "Timeout for the C-FIND command and subsequent C-MOVE retrievals, in seconds (new in Orthanc 1.9.1)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4486 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4487 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4488 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4489 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4490 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4491 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4492 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4493 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4494 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4495 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4496 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4497 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4498 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4499 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4500 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4501 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4502 "description" : "Identifier of the query, to be used with `/queries/{id}`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4503 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4504 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4505 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4506 "description" : "Root path to the query in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4507 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4508 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4509 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4510 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4511 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4512 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4513 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4514 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4515 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4516 "summary" : "Trigger C-FIND SCU",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4517 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4518 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4519 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4520 "/modalities/{id}/storage-commitment" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4521 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4522 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4523 "description" : "Trigger a storage commitment request to some remote DICOM modality whose identifier is provided in the URL: https://book.orthanc-server.com/users/storage-commitment.html#storage-commitment-scu",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4524 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4525 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4526 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4527 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4528 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4529 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4530 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4531 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4532 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4533 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4534 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4535 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4536 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4537 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4538 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4539 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4540 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4541 "DicomInstances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4542 "description" : "List of DICOM resources that are not necessarily stored within Orthanc, but that must be checked by storage commitment. This is a list of JSON objects that must contain the `SOPClassUID` and `SOPInstanceUID` fields.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4543 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4544 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4545 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4546 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4547 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4548 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4549 "description" : "List of the Orthanc identifiers of the DICOM resources to be checked by storage commitment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4550 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4551 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4552 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4553 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4554 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4555 "Timeout" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4556 "description" : "Timeout for the storage commitment command (new in Orthanc 1.9.1)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4557 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4558 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4559 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4560 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4561 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4562 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4563 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4564 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4565 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4566 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4567 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4568 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4569 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4570 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4571 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4572 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4573 "description" : "Identifier of the storage commitment report, to be used with `/storage-commitment/{id}`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4574 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4575 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4576 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4577 "description" : "Root path to the storage commitment report in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4578 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4579 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4580 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4581 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4582 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4583 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4584 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4585 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4586 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4587 "summary" : "Trigger storage commitment request",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4588 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4589 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4590 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4591 "/modalities/{id}/store" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4592 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4593 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4594 "description" : "Start a C-STORE SCU command as a job, in order to send DICOM resources stored locally to some remote DICOM modality whose identifier is provided in the URL: https://book.orthanc-server.com/users/rest.html#rest-store-scu",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4595 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4596 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4597 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4598 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4599 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4600 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4601 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4602 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4603 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4604 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4605 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4606 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4607 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4608 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4609 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4610 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4611 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4612 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4613 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4614 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4615 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4616 "LocalAet" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4617 "description" : "Local AET that is used for this commands, defaults to `DicomAet` configuration option. Ignored if `DicomModalities` already sets `LocalAet` for this modality.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4618 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4619 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4620 "MoveOriginatorAet" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4621 "description" : "Move originator AET that is used for this commands, in order to fake a C-MOVE SCU",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4622 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4623 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4624 "MoveOriginatorID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4625 "description" : "Move originator ID that is used for this commands, in order to fake a C-MOVE SCU",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4626 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4627 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4628 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4629 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4630 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4631 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4632 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4633 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4634 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4635 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4636 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4637 "description" : "List of the Orthanc identifiers of all the DICOM resources to be sent",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4638 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4639 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4640 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4641 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4642 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4643 "StorageCommitment" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4644 "description" : "Whether to chain C-STORE with DICOM storage commitment to validate the success of the transmission: https://book.orthanc-server.com/users/storage-commitment.html#chaining-c-store-with-storage-commitment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4645 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4646 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4647 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4648 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4649 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4650 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4651 "Timeout" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4652 "description" : "Timeout for the C-STORE command, in seconds",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4653 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4654 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4655 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4656 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4657 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4658 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4659 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4660 "description" : "The Orthanc identifier of one resource to be sent"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4661 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4662 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4663 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4664 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4665 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4666 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4667 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4668 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4669 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4670 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4671 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4672 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4673 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4674 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4675 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4676 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4677 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4678 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4679 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4680 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4681 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4682 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4683 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4684 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4685 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4686 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4687 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4688 "summary" : "Trigger C-STORE SCU",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4689 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4690 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4691 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4692 "/modalities/{id}/store-straight" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4693 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4694 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4695 "description" : "Synchronously send the DICOM instance in the POST body to the remote DICOM modality whose identifier is provided in URL, without having to first store it locally within Orthanc. This is an alternative to command-line tools such as `storescu` from DCMTK or dcm4che.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4696 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4697 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4698 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4699 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4700 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4701 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4702 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4703 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4704 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4705 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4706 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4707 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4708 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4709 "application/dicom" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4710 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4711 "description" : "DICOM instance to be sent"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4712 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4713 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4714 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4715 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4716 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4717 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4718 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4719 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4720 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4721 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4722 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4723 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4724 "SOPClassUID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4725 "description" : "SOP class UID of the DICOM instance, if the C-STORE SCU has succeeded",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4726 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4727 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4728 "SOPInstanceUID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4729 "description" : "SOP instance UID of the DICOM instance, if the C-STORE SCU has succeeded",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4730 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4731 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4732 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4733 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4734 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4735 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4736 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4737 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4738 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4739 "summary" : "Straight C-STORE SCU",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4740 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4741 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4742 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4743 "/patients" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4744 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4745 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4746 "description" : "List the Orthanc identifiers of all the available DICOM patients",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4747 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4748 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4749 "description" : "If present, retrieve detailed information about the individual patients",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4750 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4751 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4752 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4753 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4754 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4755 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4756 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4757 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4758 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4759 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4760 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4761 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4762 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4763 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4764 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4765 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4766 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4767 "description" : "Limit the number of results",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4768 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4769 "name" : "limit",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4770 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4771 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4772 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4773 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4774 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4775 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4776 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4777 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4778 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4779 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4780 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4781 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4782 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4783 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4784 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4785 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4786 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4787 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4788 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4789 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4790 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4791 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4792 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4793 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4794 "description" : "Show only the resources since the provided index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4795 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4796 "name" : "since",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4797 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4798 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4799 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4800 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4801 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4802 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4803 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4804 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4805 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4806 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4807 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4808 "description" : "JSON array containing either the Orthanc identifiers, or detailed information about the reported patients (if `expand` argument is provided)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4809 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4810 "0946fcb6-cf12ab43-bad958c1-bf057ad5-0fc6f54c",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4811 "da39a3ee-5e6b4b0d-3255bfef-95601890-afd80709"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4812 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4813 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4814 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4815 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4816 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4817 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4818 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4819 "summary" : "List the available patients",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4820 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4821 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4822 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4823 "/patients/{id}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4824 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4825 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4826 "description" : "Delete the DICOM patient whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4827 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4828 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4829 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4830 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4831 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4832 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4833 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4834 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4835 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4836 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4837 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4838 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4839 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4840 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4841 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4842 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4843 "summary" : "Delete some patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4844 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4845 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4846 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4847 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4848 "description" : "Get detailed information about the DICOM patient whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4849 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4850 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4851 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4852 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4853 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4854 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4855 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4856 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4857 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4858 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4859 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4860 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4861 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4862 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4863 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4864 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4865 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4866 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4867 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4868 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4869 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4870 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4871 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4872 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4873 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4874 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4875 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4876 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4877 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4878 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4879 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4880 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4881 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4882 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4883 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4884 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4885 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4886 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4887 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4888 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4889 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4890 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4891 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4892 "description" : "Information about the DICOM patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4893 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4894 "ID" : "46e6332c-677825b6-202fcf7c-f787bc5f-7b07c382",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4895 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4896 "LastUpdate" : "20180414T091542",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4897 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4898 "PatientID" : "SOtNwu",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4899 "PatientName" : "INCISIX"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4900 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4901 "Studies" : [ "e98b9ac7-dd31ac40-ff046cb2-f0400d30-12f81d85" ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4902 "Type" : "Patient"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4903 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4904 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4905 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4906 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4907 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4908 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4909 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4910 "summary" : "Get information about some patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4911 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4912 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4913 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4914 "/patients/{id}/anonymize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4915 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4916 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4917 "description" : "Start a job that will anonymize all the DICOM instances within the patient whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new patient, whose Orthanc identifiers will be returned by the job. https://book.orthanc-server.com/users/anonymization.html#anonymization-of-patients-studies-or-series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4918 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4919 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4920 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4921 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4922 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4923 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4924 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4925 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4926 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4927 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4928 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4929 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4930 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4931 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4932 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4933 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4934 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4935 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4936 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4937 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4938 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4939 "DicomVersion" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4940 "description" : "Version of the DICOM standard to be used for anonymization. Check out configuration option `DeidentifyLogsDicomVersion` for possible values.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4941 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4942 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4943 "Force" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4944 "description" : "Allow the modification of tags related to DICOM identifiers, at the risk of breaking the DICOM model of the real world",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4945 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4946 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4947 "Keep" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4948 "description" : "List of DICOM tags whose value must not be destroyed by the anonymization. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4949 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4950 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4951 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4952 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4953 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4954 "KeepPrivateTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4955 "description" : "Keep the private tags from the DICOM instances (defaults to `false`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4956 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4957 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4958 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4959 "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4960 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4961 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4962 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4963 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4964 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4965 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4966 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4967 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4968 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4969 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4970 "PrivateCreator" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4971 "description" : "The private creator to be used for private tags in `Replace`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4972 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4973 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4974 "Remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4975 "description" : "List of additional tags to be removed from the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4976 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4977 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4978 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4979 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4980 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4981 "Replace" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4982 "description" : "Associative array to change the value of some DICOM tags in the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4983 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4984 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4985 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4986 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4987 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4988 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4989 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4990 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4991 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4992 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4993 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4994 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4995 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4996 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4997 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4998 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
4999 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5000 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5001 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5002 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5003 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5004 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5005 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5006 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5007 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5008 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5009 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5010 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5011 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5012 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5013 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5014 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5015 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5016 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5017 "summary" : "Anonymize patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5018 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5019 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5020 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5021 "/patients/{id}/archive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5022 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5023 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5024 "description" : "Synchronously create a ZIP archive containing the DICOM patient whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might *not* be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using `POST` method.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5025 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5026 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5027 "description" : "Filename to set in the \"Content-Disposition\" HTTP header (including file extension)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5028 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5029 "name" : "filename",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5030 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5031 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5032 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5033 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5034 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5035 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5036 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5037 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5038 "name" : "transcode",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5039 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5040 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5041 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5042 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5043 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5044 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5045 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5046 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5047 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5048 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5049 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5050 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5051 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5052 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5053 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5054 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5055 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5056 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5057 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5058 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5059 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5060 "description" : "ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5061 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5062 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5063 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5064 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5065 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5066 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5067 "summary" : "Create ZIP archive",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5068 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5069 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5070 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5071 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5072 "description" : "Create a ZIP archive containing the DICOM patient whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5073 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5074 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5075 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5076 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5077 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5078 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5079 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5080 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5081 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5082 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5083 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5084 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5085 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5086 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5087 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5088 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5089 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5090 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5091 "description" : "If `true`, create the archive in asynchronous mode, which means that a job is submitted to create the archive in background.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5092 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5093 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5094 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5095 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5096 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5097 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5098 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5099 "description" : "If `true`, create the archive in synchronous mode, which means that the HTTP answer will directly contain the ZIP file. This is the default, easy behavior. However, if global configuration option \"SynchronousZipStream\" is set to \"false\", asynchronous transfers should be preferred for large amount of data, as the creation of the temporary file might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5100 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5101 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5102 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5103 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5104 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5105 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5106 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5107 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5108 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5109 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5110 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5111 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5112 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5113 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5114 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5115 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5116 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5117 "description" : "In asynchronous mode, information about the job that has been submitted to generate the archive: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5118 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5119 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5120 "description" : "Identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5121 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5122 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5123 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5124 "description" : "Path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5125 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5126 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5127 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5128 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5129 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5130 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5131 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5132 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5133 "description" : "In synchronous mode, the ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5134 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5135 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5136 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5137 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5138 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5139 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5140 "summary" : "Create ZIP archive",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5141 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5142 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5143 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5144 "/patients/{id}/attachments" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5145 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5146 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5147 "description" : "Get the list of attachments that are associated with the given patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5148 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5149 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5150 "description" : "If present, retrieve the attachments list and their numerical ids",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5151 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5152 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5153 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5154 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5155 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5156 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5157 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5158 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5159 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5160 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5161 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5162 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5163 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5164 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5165 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5166 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5167 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5168 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5169 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5170 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5171 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5172 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5173 "description" : "JSON array containing the names of the attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5174 "example" : []
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5175 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5176 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5177 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5178 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5179 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5180 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5181 "summary" : "List attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5182 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5183 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5184 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5185 "/patients/{id}/attachments/{name}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5186 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5187 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5188 "description" : "Delete an attachment associated with the given DICOM patient. This call will fail if trying to delete a system attachment (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5189 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5190 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5191 "description" : "Revision of the attachment, to check if its content has not changed and can be deleted. This header is mandatory if `CheckRevisions` option is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5192 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5193 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5194 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5195 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5196 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5197 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5198 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5199 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5200 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5201 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5202 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5203 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5204 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5205 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5206 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5207 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5208 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5209 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5210 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5211 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5212 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5213 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5214 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5215 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5216 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5217 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5218 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5219 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5220 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5221 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5222 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5223 "summary" : "Delete attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5224 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5225 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5226 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5227 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5228 "description" : "Get the list of the operations that are available for attachments associated with the given patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5229 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5230 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5231 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5232 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5233 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5234 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5235 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5236 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5237 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5238 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5239 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5240 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5241 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5242 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5243 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5244 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5245 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5246 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5247 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5248 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5249 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5250 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5251 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5252 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5253 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5254 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5255 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5256 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5257 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5258 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5259 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5260 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5261 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5262 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5263 "description" : "List of the available operations",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5264 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5265 "compress",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5266 "compressed-data",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5267 "compressed-md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5268 "compressed-size",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5269 "data",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5270 "info",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5271 "is-compressed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5272 "md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5273 "size",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5274 "uncompress",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5275 "verify-md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5276 "uuid"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5277 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5278 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5279 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5280 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5281 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5282 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5283 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5284 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5285 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5286 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5287 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5288 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5289 "summary" : "List operations on attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5290 "tags" : [ "Other" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5291 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5292 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5293 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5294 "description" : "Attach a file to the given DICOM patient. This call will fail if trying to modify a system attachment (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5295 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5296 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5297 "description" : "Revision of the attachment, if this is not the first time this attachment is set.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5298 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5299 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5300 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5301 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5302 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5303 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5304 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5305 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5306 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5307 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5308 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5309 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5310 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5311 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5312 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5313 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5314 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5315 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5316 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5317 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5318 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5319 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5320 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5321 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5322 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5323 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5324 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5325 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5326 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5327 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5328 "description" : "Binary data containing the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5329 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5330 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5331 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5332 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5333 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5334 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5335 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5336 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5337 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5338 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5339 "description" : "Empty JSON object in the case of a success"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5340 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5341 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5342 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5343 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5344 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5345 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5346 "summary" : "Set attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5347 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5348 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5349 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5350 "/patients/{id}/attachments/{name}/compress" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5351 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5352 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5353 "description" : "Change the compression scheme that is used to store an attachment.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5354 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5355 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5356 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5357 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5358 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5359 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5360 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5361 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5362 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5363 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5364 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5365 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5366 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5367 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5368 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5369 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5370 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5371 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5372 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5373 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5374 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5375 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5376 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5377 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5378 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5379 "summary" : "Compress attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5380 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5381 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5382 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5383 "/patients/{id}/attachments/{name}/compressed-data" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5384 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5385 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5386 "description" : "Get the (binary) content of one attachment associated with the given patient. The attachment will not be decompressed if `StorageCompression` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5387 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5388 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5389 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5390 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5391 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5392 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5393 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5394 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5395 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5396 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5397 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5398 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5399 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5400 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5401 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5402 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5403 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5404 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5405 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5406 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5407 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5408 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5409 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5410 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5411 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5412 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5413 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5414 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5415 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5416 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5417 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5418 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5419 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5420 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5421 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5422 "description" : "The attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5423 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5424 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5425 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5426 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5427 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5428 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5429 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5430 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5431 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5432 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5433 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5434 "summary" : "Get attachment (no decompression)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5435 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5436 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5437 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5438 "/patients/{id}/attachments/{name}/compressed-md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5439 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5440 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5441 "description" : "Get the MD5 hash of one attachment associated with the given patient, as stored on the disk. This is different from `.../md5` iff `EnableStorage` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5442 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5443 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5444 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5445 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5446 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5447 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5448 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5449 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5450 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5451 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5452 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5453 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5454 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5455 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5456 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5457 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5458 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5459 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5460 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5461 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5462 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5463 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5464 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5465 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5466 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5467 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5468 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5469 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5470 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5471 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5472 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5473 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5474 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5475 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5476 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5477 "description" : "The MD5 of the attachment, as stored on the disk"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5478 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5479 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5480 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5481 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5482 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5483 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5484 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5485 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5486 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5487 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5488 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5489 "summary" : "Get MD5 of attachment on disk",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5490 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5491 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5492 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5493 "/patients/{id}/attachments/{name}/compressed-size" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5494 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5495 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5496 "description" : "Get the size of one attachment associated with the given patient, as stored on the disk. This is different from `.../size` iff `EnableStorage` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5497 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5498 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5499 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5500 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5501 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5502 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5503 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5504 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5505 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5506 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5507 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5508 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5509 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5510 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5511 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5512 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5513 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5514 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5515 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5516 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5517 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5518 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5519 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5520 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5521 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5522 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5523 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5524 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5525 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5526 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5527 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5528 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5529 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5530 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5531 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5532 "description" : "The size of the attachment, as stored on the disk"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5533 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5534 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5535 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5536 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5537 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5538 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5539 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5540 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5541 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5542 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5543 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5544 "summary" : "Get size of attachment on disk",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5545 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5546 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5547 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5548 "/patients/{id}/attachments/{name}/data" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5549 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5550 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5551 "description" : "Get the (binary) content of one attachment associated with the given patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5552 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5553 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5554 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5555 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5556 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5557 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5558 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5559 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5560 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5561 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5562 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5563 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5564 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5565 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5566 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5567 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5568 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5569 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5570 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5571 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5572 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5573 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5574 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5575 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5576 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5577 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5578 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5579 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5580 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5581 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5582 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5583 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5584 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5585 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5586 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5587 "description" : "The attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5588 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5589 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5590 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5591 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5592 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5593 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5594 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5595 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5596 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5597 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5598 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5599 "summary" : "Get attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5600 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5601 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5602 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5603 "/patients/{id}/attachments/{name}/info" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5604 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5605 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5606 "description" : "Get all the information about the attachment associated with the given patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5607 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5608 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5609 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5610 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5611 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5612 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5613 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5614 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5615 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5616 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5617 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5618 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5619 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5620 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5621 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5622 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5623 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5624 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5625 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5626 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5627 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5628 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5629 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5630 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5631 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5632 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5633 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5634 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5635 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5636 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5637 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5638 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5639 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5640 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5641 "description" : "JSON object containing the information about the attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5642 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5643 "CompressedMD5" : "26f3fad6ca0c355f02d57c7fa6770248",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5644 "CompressedSize" : 526970,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5645 "ContentType" : 1,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5646 "UncompressedMD5" : "26f3fad6ca0c355f02d57c7fa6770248",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5647 "UncompressedSize" : 526970,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5648 "Uuid" : "b7c99eb7-229f-464e-8f46-6878c8e79e5c"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5649 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5650 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5651 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5652 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5653 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5654 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5655 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5656 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5657 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5658 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5659 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5660 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5661 "summary" : "Get info about the attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5662 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5663 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5664 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5665 "/patients/{id}/attachments/{name}/is-compressed" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5666 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5667 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5668 "description" : "Test whether the attachment has been stored as a compressed file on the disk.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5669 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5670 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5671 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5672 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5673 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5674 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5675 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5676 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5677 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5678 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5679 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5680 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5681 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5682 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5683 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5684 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5685 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5686 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5687 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5688 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5689 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5690 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5691 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5692 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5693 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5694 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5695 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5696 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5697 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5698 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5699 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5700 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5701 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5702 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5703 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5704 "description" : "`0` if the attachment was stored uncompressed, `1` if it was compressed"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5705 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5706 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5707 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5708 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5709 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5710 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5711 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5712 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5713 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5714 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5715 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5716 "summary" : "Is attachment compressed?",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5717 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5718 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5719 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5720 "/patients/{id}/attachments/{name}/md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5721 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5722 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5723 "description" : "Get the MD5 hash of one attachment associated with the given patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5724 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5725 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5726 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5727 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5728 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5729 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5730 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5731 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5732 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5733 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5734 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5735 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5736 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5737 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5738 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5739 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5740 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5741 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5742 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5743 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5744 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5745 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5746 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5747 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5748 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5749 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5750 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5751 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5752 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5753 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5754 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5755 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5756 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5757 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5758 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5759 "description" : "The MD5 of the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5760 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5761 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5762 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5763 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5764 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5765 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5766 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5767 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5768 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5769 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5770 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5771 "summary" : "Get MD5 of attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5772 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5773 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5774 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5775 "/patients/{id}/attachments/{name}/size" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5776 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5777 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5778 "description" : "Get the size of one attachment associated with the given patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5779 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5780 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5781 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5782 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5783 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5784 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5785 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5786 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5787 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5788 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5789 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5790 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5791 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5792 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5793 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5794 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5795 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5796 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5797 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5798 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5799 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5800 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5801 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5802 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5803 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5804 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5805 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5806 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5807 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5808 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5809 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5810 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5811 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5812 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5813 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5814 "description" : "The size of the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5815 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5816 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5817 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5818 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5819 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5820 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5821 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5822 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5823 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5824 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5825 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5826 "summary" : "Get size of attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5827 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5828 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5829 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5830 "/patients/{id}/attachments/{name}/uncompress" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5831 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5832 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5833 "description" : "Change the compression scheme that is used to store an attachment.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5834 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5835 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5836 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5837 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5838 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5839 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5840 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5841 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5842 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5843 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5844 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5845 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5846 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5847 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5848 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5849 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5850 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5851 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5852 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5853 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5854 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5855 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5856 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5857 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5858 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5859 "summary" : "Uncompress attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5860 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5861 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5862 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5863 "/patients/{id}/attachments/{name}/verify-md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5864 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5865 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5866 "description" : "Verify that the attachment is not corrupted, by validating its MD5 hash",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5867 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5868 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5869 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5870 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5871 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5872 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5873 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5874 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5875 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5876 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5877 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5878 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5879 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5880 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5881 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5882 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5883 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5884 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5885 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5886 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5887 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5888 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5889 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5890 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5891 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5892 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5893 "description" : "On success, a valid JSON object is returned"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5894 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5895 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5896 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5897 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5898 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5899 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5900 "summary" : "Verify attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5901 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5902 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5903 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5904 "/patients/{id}/instances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5905 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5906 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5907 "description" : "Get detailed information about the child instances of the DICOM patient whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5908 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5909 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5910 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5911 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5912 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5913 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5914 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5915 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5916 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5917 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5918 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5919 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5920 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5921 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5922 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5923 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5924 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5925 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5926 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5927 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5928 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5929 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5930 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5931 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5932 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5933 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5934 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5935 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5936 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5937 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5938 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5939 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5940 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5941 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5942 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5943 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5944 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5945 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5946 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5947 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5948 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5949 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5950 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5951 "description" : "JSON array containing information about the child DICOM instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5952 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5953 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5954 "FileSize" : 526866,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5955 "FileUuid" : "c14b2b87-53e2-420b-baf9-020cae34fedf",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5956 "ID" : "e3dfd688-80e4743a-29c45f90-371ec4a4-04d18ae5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5957 "IndexInSeries" : 137,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5958 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5959 "AcquisitionNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5960 "ImagePositionPatient" : "-96.3193359375\\-249.3193359375\\62",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5961 "InstanceNumber" : "137",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5962 "SOPInstanceUID" : "1.3.12.2.1107.5.1.4.54693.30000006053107175587500014881"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5963 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5964 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5965 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5966 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5967 "FileSize" : 526870,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5968 "FileUuid" : "27cdb02f-500f-4b37-9ca1-058d8d4f649a",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5969 "ID" : "4fecddf1-518346e4-4f30176b-c453b3d8-65899230",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5970 "IndexInSeries" : 114,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5971 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5972 "AcquisitionNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5973 "ImagePositionPatient" : "-96.3193359375\\-249.3193359375\\73.5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5974 "InstanceNumber" : "114",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5975 "SOPInstanceUID" : "1.3.12.2.1107.5.1.4.54693.30000006053107175587500014858"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5976 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5977 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5978 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5979 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5980 "FileSize" : 526868,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5981 "FileUuid" : "5a6334a8-e050-47e5-8832-531ee62aa9a7",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5982 "ID" : "c9a55bc1-9e98ba4b-bc455dc3-24c4c525-1b171b6c",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5983 "IndexInSeries" : 66,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5984 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5985 "AcquisitionNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5986 "ImagePositionPatient" : "-96.3193359375\\-249.3193359375\\97.5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5987 "InstanceNumber" : "66",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5988 "SOPInstanceUID" : "1.3.12.2.1107.5.1.4.54693.30000006053107175587500014810"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5989 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5990 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5991 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5992 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5993 "FileSize" : 526866,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5994 "FileUuid" : "e6c09e08-8284-4416-a90f-67a7dc9f68f0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5995 "ID" : "135cca6f-4c099fdd-afc99251-f58a819b-5a0222eb",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5996 "IndexInSeries" : 161,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5997 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5998 "AcquisitionNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
5999 "ImagePositionPatient" : "-96.3193359375\\-249.3193359375\\50",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6000 "InstanceNumber" : "161",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6001 "SOPInstanceUID" : "1.3.12.2.1107.5.1.4.54693.30000006053107175587500014905"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6002 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6003 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6004 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6005 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6006 "FileSize" : 526866,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6007 "FileUuid" : "9eb33412-d1e9-4bb0-879b-5501db81d574",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6008 "ID" : "719d58b1-2a259486-7cc5919d-68a2bd30-da2cd290",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6009 "IndexInSeries" : 61,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6010 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6011 "AcquisitionNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6012 "ImagePositionPatient" : "-96.3193359375\\-249.3193359375\\100",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6013 "InstanceNumber" : "61",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6014 "SOPInstanceUID" : "1.3.12.2.1107.5.1.4.54693.30000006053107175587500014805"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6015 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6016 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6017 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6018 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6019 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6020 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6021 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6022 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6023 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6024 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6025 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6026 "summary" : "Get child instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6027 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6028 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6029 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6030 "/patients/{id}/instances-tags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6031 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6032 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6033 "description" : "Get the tags of all the child instances of the DICOM patient whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6034 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6035 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6036 "description" : "Also include the DICOM tags that are provided in this list, even if their associated value is long",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6037 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6038 "name" : "ignore-length",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6039 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6040 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6041 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6042 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6043 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6044 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6045 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6046 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6047 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6048 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6049 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6050 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6051 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6052 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6053 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6054 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6055 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6056 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6057 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6058 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6059 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6060 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6061 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6062 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6063 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6064 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6065 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6066 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6067 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6068 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6069 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6070 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6071 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6072 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6073 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6074 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6075 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6076 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6077 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6078 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6079 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6080 "description" : "JSON object associating the Orthanc identifiers of the instances, with the values of their DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6081 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6082 "011ead8d-f2508edd-da315604-80b002df-e678b796" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6083 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6084 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6085 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6086 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6087 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6088 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6089 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6090 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6091 "Value" : "ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 SPI"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6092 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6093 "0008,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6094 "Name" : "SOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6095 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6096 "Value" : "1.2.840.10008.5.1.4.1.1.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6097 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6098 "0008,0018" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6099 "Name" : "SOPInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6100 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6101 "Value" : "1.3.12.2.1107.5.1.4.54693.30000006053107175587500014840"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6102 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6103 "0008,0020" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6104 "Name" : "StudyDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6105 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6106 "Value" : "20060531"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6107 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6108 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6109 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6110 "01252811-30d1c47b-a8c03da5-73177742-48495192" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6111 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6112 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6113 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6114 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6115 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6116 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6117 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6118 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6119 "Value" : "ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 SPI"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6120 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6121 "0008,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6122 "Name" : "SOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6123 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6124 "Value" : "1.2.840.10008.5.1.4.1.1.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6125 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6126 "0008,0018" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6127 "Name" : "SOPInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6128 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6129 "Value" : "1.3.12.2.1107.5.1.4.54693.30000006053107175587500014790"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6130 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6131 "0008,0020" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6132 "Name" : "StudyDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6133 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6134 "Value" : "20060531"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6135 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6136 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6137 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6138 "04a30982-835a4b0a-3082b997-060f01f5-071a0f8d" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6139 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6140 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6141 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6142 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6143 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6144 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6145 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6146 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6147 "Value" : "ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 SPI"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6148 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6149 "0008,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6150 "Name" : "SOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6151 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6152 "Value" : "1.2.840.10008.5.1.4.1.1.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6153 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6154 "0008,0018" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6155 "Name" : "SOPInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6156 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6157 "Value" : "1.3.12.2.1107.5.1.4.54693.30000006053107175587500014760"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6158 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6159 "0008,0020" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6160 "Name" : "StudyDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6161 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6162 "Value" : "20060531"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6163 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6164 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6165 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6166 "04efd8b9-2ae1f3db-deb0f226-e3267002-6cd8fa3c" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6167 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6168 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6169 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6170 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6171 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6172 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6173 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6174 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6175 "Value" : "ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 SPI"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6176 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6177 "0008,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6178 "Name" : "SOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6179 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6180 "Value" : "1.2.840.10008.5.1.4.1.1.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6181 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6182 "0008,0018" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6183 "Name" : "SOPInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6184 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6185 "Value" : "1.3.12.2.1107.5.1.4.54693.30000006053107175587500014832"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6186 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6187 "0008,0020" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6188 "Name" : "StudyDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6189 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6190 "Value" : "20060531"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6191 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6192 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6193 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6194 "0df992f4-0a841d5c-aeb8cdda-9c1a0573-dbd49c3f" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6195 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6196 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6197 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6198 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6199 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6200 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6201 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6202 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6203 "Value" : "ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 SPI"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6204 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6205 "0008,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6206 "Name" : "SOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6207 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6208 "Value" : "1.2.840.10008.5.1.4.1.1.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6209 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6210 "0008,0018" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6211 "Name" : "SOPInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6212 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6213 "Value" : "1.3.12.2.1107.5.1.4.54693.30000006053107175587500014882"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6214 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6215 "0008,0020" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6216 "Name" : "StudyDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6217 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6218 "Value" : "20060531"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6219 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6220 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6221 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6222 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6223 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6224 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6225 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6226 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6227 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6228 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6229 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6230 "summary" : "Get tags of instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6231 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6232 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6233 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6234 "/patients/{id}/media" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6235 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6236 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6237 "description" : "Synchronously create a DICOMDIR media containing the DICOM patient whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might *not* be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using `POST` method.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6238 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6239 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6240 "description" : "If present, will include additional tags such as `SeriesDescription`, leading to a so-called *extended DICOMDIR*",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6241 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6242 "name" : "extended",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6243 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6244 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6245 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6246 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6247 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6248 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6249 "description" : "Filename to set in the \"Content-Disposition\" HTTP header (including file extension)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6250 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6251 "name" : "filename",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6252 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6253 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6254 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6255 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6256 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6257 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6258 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6259 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6260 "name" : "transcode",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6261 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6262 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6263 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6264 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6265 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6266 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6267 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6268 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6269 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6270 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6271 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6272 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6273 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6274 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6275 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6276 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6277 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6278 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6279 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6280 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6281 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6282 "description" : "ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6283 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6284 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6285 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6286 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6287 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6288 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6289 "summary" : "Create DICOMDIR media",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6290 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6291 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6292 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6293 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6294 "description" : "Create a DICOMDIR media containing the DICOM patient whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6295 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6296 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6297 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6298 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6299 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6300 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6301 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6302 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6303 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6304 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6305 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6306 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6307 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6308 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6309 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6310 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6311 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6312 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6313 "description" : "If `true`, create the archive in asynchronous mode, which means that a job is submitted to create the archive in background.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6314 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6315 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6316 "Extended" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6317 "description" : "If `true`, will include additional tags such as `SeriesDescription`, leading to a so-called *extended DICOMDIR*. Default value is `false`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6318 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6319 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6320 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6321 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6322 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6323 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6324 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6325 "description" : "If `true`, create the archive in synchronous mode, which means that the HTTP answer will directly contain the ZIP file. This is the default, easy behavior. However, if global configuration option \"SynchronousZipStream\" is set to \"false\", asynchronous transfers should be preferred for large amount of data, as the creation of the temporary file might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6326 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6327 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6328 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6329 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6330 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6331 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6332 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6333 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6334 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6335 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6336 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6337 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6338 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6339 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6340 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6341 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6342 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6343 "description" : "In asynchronous mode, information about the job that has been submitted to generate the archive: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6344 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6345 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6346 "description" : "Identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6347 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6348 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6349 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6350 "description" : "Path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6351 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6352 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6353 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6354 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6355 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6356 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6357 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6358 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6359 "description" : "In synchronous mode, the ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6360 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6361 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6362 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6363 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6364 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6365 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6366 "summary" : "Create DICOMDIR media",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6367 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6368 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6369 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6370 "/patients/{id}/metadata" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6371 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6372 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6373 "description" : "Get the list of metadata that are associated with the given patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6374 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6375 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6376 "description" : "If present, also retrieve the value of the individual metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6377 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6378 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6379 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6380 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6381 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6382 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6383 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6384 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6385 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6386 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6387 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6388 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6389 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6390 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6391 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6392 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6393 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6394 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6395 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6396 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6397 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6398 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6399 "description" : "JSON array containing the names of the available metadata, or JSON associative array mapping metadata to their values (if `expand` argument is provided)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6400 "example" : [ "LastUpdate" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6401 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6402 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6403 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6404 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6405 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6406 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6407 "summary" : "List metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6408 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6409 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6410 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6411 "/patients/{id}/metadata/{name}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6412 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6413 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6414 "description" : "Delete some metadata associated with the given DICOM patient. This call will fail if trying to delete a system metadata (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6415 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6416 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6417 "description" : "Revision of the metadata, to check if its content has not changed and can be deleted. This header is mandatory if `CheckRevisions` option is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6418 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6419 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6420 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6421 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6422 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6423 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6424 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6425 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6426 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6427 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6428 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6429 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6430 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6431 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6432 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6433 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6434 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6435 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6436 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6437 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6438 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6439 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6440 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6441 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6442 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6443 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6444 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6445 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6446 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6447 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6448 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6449 "summary" : "Delete metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6450 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6451 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6452 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6453 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6454 "description" : "Get the value of a metadata that is associated with the given patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6455 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6456 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6457 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6458 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6459 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6460 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6461 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6462 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6463 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6464 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6465 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6466 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6467 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6468 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6469 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6470 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6471 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6472 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6473 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6474 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6475 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6476 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6477 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6478 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6479 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6480 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6481 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6482 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6483 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6484 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6485 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6486 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6487 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6488 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6489 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6490 "description" : "Value of the metadata"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6491 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6492 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6493 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6494 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6495 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6496 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6497 "description" : "Revision of the metadata, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6498 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6499 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6500 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6501 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6502 "summary" : "Get metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6503 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6504 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6505 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6506 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6507 "description" : "Set the value of some metadata in the given DICOM patient. This call will fail if trying to modify a system metadata (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6508 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6509 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6510 "description" : "Revision of the metadata, if this is not the first time this metadata is set.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6511 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6512 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6513 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6514 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6515 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6516 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6517 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6518 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6519 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6520 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6521 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6522 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6523 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6524 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6525 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6526 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6527 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6528 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6529 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6530 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6531 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6532 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6533 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6534 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6535 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6536 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6537 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6538 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6539 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6540 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6541 "description" : "String value of the metadata"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6542 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6543 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6544 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6545 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6546 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6547 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6548 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6549 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6550 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6551 "summary" : "Set metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6552 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6553 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6554 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6555 "/patients/{id}/modify" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6556 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6557 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6558 "description" : "Start a job that will modify all the DICOM instances within the patient whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new patient, whose Orthanc identifiers will be returned by the job. https://book.orthanc-server.com/users/anonymization.html#modification-of-studies-or-series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6559 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6560 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6561 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6562 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6563 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6564 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6565 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6566 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6567 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6568 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6569 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6570 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6571 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6572 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6573 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6574 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6575 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6576 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6577 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6578 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6579 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6580 "Force" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6581 "description" : "Allow the modification of tags related to DICOM identifiers, at the risk of breaking the DICOM model of the real world",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6582 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6583 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6584 "Keep" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6585 "description" : "Keep the original value of the specified tags, to be chosen among the `StudyInstanceUID`, `SeriesInstanceUID` and `SOPInstanceUID` tags. Avoid this feature as much as possible, as this breaks the DICOM model of the real world.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6586 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6587 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6588 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6589 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6590 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6591 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6592 "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6593 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6594 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6595 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6596 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6597 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6598 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6599 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6600 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6601 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6602 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6603 "PrivateCreator" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6604 "description" : "The private creator to be used for private tags in `Replace`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6605 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6606 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6607 "Remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6608 "description" : "List of tags that must be removed from the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6609 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6610 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6611 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6612 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6613 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6614 "RemovePrivateTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6615 "description" : "Remove the private tags from the DICOM instances (defaults to `false`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6616 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6617 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6618 "Replace" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6619 "description" : "Associative array to change the value of some DICOM tags in the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6620 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6621 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6622 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6623 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6624 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6625 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6626 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6627 "description" : "Transcode the DICOM instances to the provided DICOM transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6628 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6629 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6630 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6631 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6632 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6633 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6634 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6635 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6636 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6637 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6638 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6639 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6640 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6641 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6642 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6643 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6644 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6645 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6646 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6647 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6648 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6649 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6650 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6651 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6652 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6653 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6654 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6655 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6656 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6657 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6658 "summary" : "Modify patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6659 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6660 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6661 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6662 "/patients/{id}/module" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6663 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6664 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6665 "description" : "Get the patient module of the DICOM patient whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6666 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6667 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6668 "description" : "Also include the DICOM tags that are provided in this list, even if their associated value is long",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6669 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6670 "name" : "ignore-length",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6671 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6672 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6673 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6674 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6675 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6676 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6677 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6678 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6679 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6680 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6681 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6682 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6683 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6684 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6685 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6686 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6687 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6688 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6689 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6690 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6691 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6692 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6693 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6694 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6695 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6696 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6697 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6698 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6699 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6700 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6701 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6702 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6703 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6704 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6705 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6706 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6707 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6708 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6709 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6710 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6711 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6712 "description" : "Information about the DICOM patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6713 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6714 "0010,0010" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6715 "Name" : "PatientName",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6716 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6717 "Value" : "INCISIX"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6718 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6719 "0010,0020" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6720 "Name" : "PatientID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6721 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6722 "Value" : "SOtNwu"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6723 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6724 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6725 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6726 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6727 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6728 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6729 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6730 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6731 "summary" : "Get patient module",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6732 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6733 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6734 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6735 "/patients/{id}/protected" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6736 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6737 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6738 "description" : "Is the patient protected against recycling?",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6739 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6740 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6741 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6742 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6743 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6744 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6745 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6746 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6747 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6748 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6749 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6750 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6751 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6752 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6753 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6754 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6755 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6756 "description" : "`1` if protected, `0` if not protected"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6757 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6758 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6759 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6760 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6761 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6762 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6763 "summary" : "Is the patient protected against recycling?",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6764 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6765 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6766 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6767 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6768 "description" : "Check out configuration options `MaximumStorageSize` and `MaximumPatientCount`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6769 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6770 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6771 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6772 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6773 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6774 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6775 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6776 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6777 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6778 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6779 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6780 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6781 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6782 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6783 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6784 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6785 "summary" : "Protect one patient against recycling",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6786 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6787 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6788 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6789 "/patients/{id}/reconstruct" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6790 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6791 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6792 "description" : "Reconstruct the main DICOM tags in DB of the patient whose Orthanc identifier is provided in the URL. This is useful if child studies/series/instances have inconsistent values for higher-level tags, in order to force Orthanc to use the value from the resource of interest. Beware that this is a time-consuming operation, as all the children DICOM instances will be parsed again, and the Orthanc index will be updated accordingly.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6793 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6794 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6795 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6796 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6797 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6798 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6799 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6800 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6801 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6802 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6803 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6804 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6805 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6806 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6807 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6808 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6809 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6810 "ReconstructFiles" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6811 "description" : "Also reconstruct the files of the resources (e.g: apply IngestTranscoding, StorageCompression). 'false' by default. (New in Orthanc 1.11.0)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6812 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6813 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6814 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6815 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6816 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6817 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6818 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6819 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6820 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6821 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6822 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6823 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6824 "summary" : "Reconstruct tags & optionally files of patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6825 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6826 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6827 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6828 "/patients/{id}/series" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6829 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6830 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6831 "description" : "Get detailed information about the child series of the DICOM patient whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6832 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6833 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6834 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6835 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6836 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6837 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6838 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6839 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6840 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6841 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6842 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6843 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6844 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6845 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6846 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6847 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6848 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6849 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6850 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6851 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6852 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6853 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6854 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6855 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6856 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6857 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6858 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6859 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6860 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6861 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6862 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6863 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6864 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6865 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6866 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6867 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6868 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6869 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6870 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6871 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6872 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6873 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6874 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6875 "description" : "JSON array containing information about the child DICOM series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6876 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6877 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6878 "ExpectedNumberOfInstances" : null,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6879 "ID" : "52cc572c-3ee31930-c4b6d5e7-16c786dc-97bc209b",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6880 "Instances" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6881 "e3dfd688-80e4743a-29c45f90-371ec4a4-04d18ae5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6882 "4fecddf1-518346e4-4f30176b-c453b3d8-65899230",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6883 "c9a55bc1-9e98ba4b-bc455dc3-24c4c525-1b171b6c",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6884 "135cca6f-4c099fdd-afc99251-f58a819b-5a0222eb",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6885 "719d58b1-2a259486-7cc5919d-68a2bd30-da2cd290",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6886 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6887 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6888 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6889 "LastUpdate" : "20180414T091542",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6890 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6891 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6892 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6893 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6894 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6895 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6896 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6897 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6898 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6899 "summary" : "Get child series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6900 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6901 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6902 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6903 "/patients/{id}/shared-tags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6904 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6905 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6906 "description" : "Extract the DICOM tags whose value is constant across all the child instances of the DICOM patient whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6907 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6908 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6909 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6910 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6911 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6912 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6913 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6914 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6915 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6916 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6917 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6918 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6919 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6920 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6921 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6922 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6923 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6924 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6925 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6926 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6927 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6928 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6929 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6930 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6931 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6932 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6933 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6934 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6935 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6936 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6937 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6938 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6939 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6940 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6941 "description" : "JSON object containing the values of the DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6942 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6943 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6944 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6945 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6946 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6947 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6948 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6949 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6950 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6951 "Value" : "ORIGINAL\\PRIMARY\\AXIAL\\CT_SOM5 SPI"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6952 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6953 "0008,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6954 "Name" : "SOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6955 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6956 "Value" : "1.2.840.10008.5.1.4.1.1.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6957 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6958 "0008,0020" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6959 "Name" : "StudyDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6960 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6961 "Value" : "20060531"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6962 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6963 "0008,0021" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6964 "Name" : "SeriesDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6965 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6966 "Value" : "20060531"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6967 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6968 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6969 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6970 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6971 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6972 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6973 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6974 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6975 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6976 "summary" : "Get shared tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6977 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6978 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6979 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6980 "/patients/{id}/statistics" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6981 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6982 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6983 "description" : "Get statistics about the given patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6984 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6985 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6986 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6987 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6988 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6989 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6990 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6991 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6992 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6993 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6994 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6995 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6996 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6997 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6998 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
6999 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7000 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7001 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7002 "CountInstances" : 166,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7003 "CountSeries" : 1,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7004 "CountStudies" : 1,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7005 "DicomDiskSize" : "87460012",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7006 "DicomDiskSizeMB" : 83,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7007 "DicomUncompressedSize" : "87460012",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7008 "DicomUncompressedSizeMB" : 83,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7009 "DiskSize" : "89640436",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7010 "DiskSizeMB" : 85,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7011 "UncompressedSize" : "89640436",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7012 "UncompressedSizeMB" : 85
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7013 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7014 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7015 "CountInstances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7016 "description" : "Number of child instances within this patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7017 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7018 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7019 "CountSeries" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7020 "description" : "Number of child series within this patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7021 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7022 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7023 "CountStudies" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7024 "description" : "Number of child studies within this patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7025 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7026 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7027 "DicomDiskSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7028 "description" : "Size on the disk of the DICOM instances associated with the patient, expressed in bytes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7029 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7030 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7031 "DicomDiskSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7032 "description" : "Size on the disk of the DICOM instances associated with the patient, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7033 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7034 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7035 "DicomUncompressedSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7036 "description" : "Size on the disk of the uncompressed DICOM instances associated with the patient, expressed in bytes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7037 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7038 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7039 "DicomUncompressedSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7040 "description" : "Size on the disk of the uncompressed DICOM instances associated with the patient, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7041 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7042 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7043 "DiskSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7044 "description" : "Size of the patient on the disk in bytes, expressed as a string for 64bit compatibility with JSON",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7045 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7046 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7047 "DiskSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7048 "description" : "Size of the patient on the disk, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7049 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7050 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7051 "UncompressedSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7052 "description" : "Size of the patient after decompression in bytes, expressed as a string for 64bit compatibility with JSON",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7053 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7054 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7055 "UncompressedSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7056 "description" : "Size of the patient after decompression, expressed in megabytes (MB). This is different from `DiskSizeMB` iff `StorageCompression` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7057 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7058 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7059 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7060 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7061 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7062 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7063 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7064 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7065 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7066 "summary" : "Get patient statistics",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7067 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7068 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7069 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7070 "/patients/{id}/studies" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7071 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7072 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7073 "description" : "Get detailed information about the child studies of the DICOM patient whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7074 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7075 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7076 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7077 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7078 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7079 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7080 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7081 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7082 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7083 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7084 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7085 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7086 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7087 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7088 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7089 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7090 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7091 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7092 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7093 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7094 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7095 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7096 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7097 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7098 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7099 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7100 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7101 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7102 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7103 "description" : "Orthanc identifier of the patient of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7104 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7105 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7106 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7107 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7108 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7109 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7110 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7111 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7112 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7113 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7114 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7115 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7116 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7117 "description" : "JSON array containing information about the child DICOM studies",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7118 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7119 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7120 "ID" : "e98b9ac7-dd31ac40-ff046cb2-f0400d30-12f81d85",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7121 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7122 "LastUpdate" : "20180414T091542",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7123 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7124 "AccessionNumber" : "0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7125 "InstitutionName" : "dPJ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7126 "ReferringPhysicianName" : "YzTEkpkak0p0Tk5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7127 "RequestedProcedureDescription" : "CT2 tête, face, sinus",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7128 "StudyDate" : "20060531",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7129 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7130 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7131 "ParentPatient" : "46e6332c-677825b6-202fcf7c-f787bc5f-7b07c382",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7132 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7133 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7134 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7135 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7136 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7137 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7138 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7139 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7140 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7141 "summary" : "Get child studies",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7142 "tags" : [ "Patients" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7143 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7144 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7145 "/peers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7146 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7147 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7148 "description" : "List all the Orthanc peers that are known to Orthanc. This corresponds either to the content of the `OrthancPeers` configuration option, or to the information stored in the database if `OrthancPeersInDatabase` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7149 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7150 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7151 "description" : "If present, retrieve detailed information about the individual Orthanc peers",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7152 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7153 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7154 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7155 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7156 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7157 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7158 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7159 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7160 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7161 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7162 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7163 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7164 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7165 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7166 "description" : "JSON array containing either the identifiers of the peers, or detailed information about the peers (if `expand` argument is provided)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7167 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7168 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7169 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7170 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7171 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7172 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7173 "summary" : "List Orthanc peers",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7174 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7175 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7176 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7177 "/peers/{id}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7178 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7179 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7180 "description" : "Delete one Orthanc peer. This change is permanent iff. `OrthancPeersInDatabase` is `true`, otherwise it is lost at the next restart of Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7181 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7182 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7183 "description" : "Identifier of the Orthanc peer of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7184 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7185 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7186 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7187 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7188 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7189 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7190 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7191 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7192 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7193 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7194 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7195 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7196 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7197 "summary" : "Delete Orthanc peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7198 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7199 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7200 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7201 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7202 "description" : "List the operations that are available for an Orthanc peer.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7203 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7204 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7205 "description" : "Identifier of the peer of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7206 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7207 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7208 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7209 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7210 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7211 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7212 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7213 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7214 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7215 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7216 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7217 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7218 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7219 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7220 "description" : "List of the available operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7221 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7222 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7223 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7224 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7225 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7226 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7227 "summary" : "List operations on peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7228 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7229 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7230 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7231 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7232 "description" : "Define a new Orthanc peer, or update an existing one. This change is permanent iff. `OrthancPeersInDatabase` is `true`, otherwise it is lost at the next restart of Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7233 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7234 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7235 "description" : "Identifier of the new/updated Orthanc peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7236 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7237 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7238 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7239 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7240 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7241 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7242 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7243 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7244 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7245 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7246 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7247 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7248 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7249 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7250 "CertificateFile" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7251 "description" : "SSL certificate for the HTTPS connections",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7252 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7253 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7254 "CertificateKeyFile" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7255 "description" : "Key file for the SSL certificate for the HTTPS connections",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7256 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7257 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7258 "CertificateKeyPassword" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7259 "description" : "Key password for the SSL certificate for the HTTPS connections",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7260 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7261 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7262 "HttpHeaders" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7263 "description" : "HTTP headers to be used for the connections to the remote peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7264 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7265 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7266 "Password" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7267 "description" : "Password for the credentials",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7268 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7269 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7270 "URL" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7271 "description" : "URL of the root of the REST API of the remote Orthanc peer, for instance `http://localhost:8042/`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7272 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7273 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7274 "Username" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7275 "description" : "Username for the credentials",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7276 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7277 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7278 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7279 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7280 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7281 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7282 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7283 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7284 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7285 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7286 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7287 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7288 "summary" : "Update Orthanc peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7289 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7290 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7291 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7292 "/peers/{id}/configuration" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7293 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7294 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7295 "description" : "Get detailed information about the configuration of some Orthanc peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7296 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7297 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7298 "description" : "Identifier of the peer of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7299 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7300 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7301 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7302 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7303 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7304 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7305 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7306 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7307 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7308 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7309 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7310 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7311 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7312 "description" : "Configuration of the peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7313 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7314 "HttpHeaders" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7315 "Password" : null,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7316 "Pkcs11" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7317 "Url" : "http://127.0.1.1:5000/",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7318 "Username" : "alice"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7319 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7320 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7321 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7322 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7323 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7324 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7325 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7326 "summary" : "Get peer configuration",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7327 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7328 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7329 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7330 "/peers/{id}/store" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7331 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7332 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7333 "description" : "Send DICOM resources stored locally to some remote Orthanc peer whose identifier is provided in the URL: https://book.orthanc-server.com/users/rest.html#sending-one-resource",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7334 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7335 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7336 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7337 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7338 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7339 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7340 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7341 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7342 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7343 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7344 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7345 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7346 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7347 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7348 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7349 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7350 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7351 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7352 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7353 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7354 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7355 "Compress" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7356 "description" : "Whether to compress the DICOM instances using gzip before the actual sending",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7357 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7358 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7359 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7360 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7361 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7362 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7363 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7364 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7365 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7366 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7367 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7368 "description" : "List of the Orthanc identifiers of all the DICOM resources to be sent",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7369 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7370 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7371 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7372 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7373 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7374 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7375 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7376 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7377 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7378 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7379 "description" : "Transcode to the provided DICOM transfer syntax before the actual sending",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7380 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7381 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7382 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7383 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7384 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7385 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7386 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7387 "description" : "The Orthanc identifier of one resource to be sent"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7388 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7389 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7390 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7391 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7392 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7393 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7394 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7395 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7396 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7397 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7398 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7399 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7400 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7401 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7402 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7403 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7404 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7405 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7406 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7407 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7408 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7409 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7410 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7411 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7412 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7413 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7414 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7415 "summary" : "Send to Orthanc peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7416 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7417 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7418 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7419 "/peers/{id}/store-straight" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7420 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7421 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7422 "description" : "Synchronously send the DICOM instance in the POST body to the Orthanc peer whose identifier is provided in URL, without having to first store it locally within Orthanc. This is an alternative to command-line tools such as `curl`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7423 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7424 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7425 "description" : "Identifier of the modality of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7426 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7427 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7428 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7429 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7430 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7431 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7432 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7433 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7434 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7435 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7436 "application/dicom" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7437 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7438 "description" : "DICOM instance to be sent"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7439 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7440 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7441 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7442 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7443 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7444 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7445 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7446 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7447 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7448 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7449 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7450 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7451 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7452 "description" : "Orthanc identifier of the DICOM instance in the remote Orthanc peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7453 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7454 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7455 "ParentPatient" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7456 "description" : "Orthanc identifier of the parent patient in the remote Orthanc peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7457 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7458 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7459 "ParentSeries" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7460 "description" : "Orthanc identifier of the parent series in the remote Orthanc peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7461 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7462 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7463 "ParentStudy" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7464 "description" : "Orthanc identifier of the parent study in the remote Orthanc peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7465 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7466 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7467 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7468 "description" : "Path to the DICOM instance in the remote Orthanc server",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7469 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7470 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7471 "Status" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7472 "description" : "Status of the store operation",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7473 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7474 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7475 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7476 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7477 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7478 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7479 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7480 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7481 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7482 "summary" : "Straight store to peer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7483 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7484 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7485 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7486 "/peers/{id}/system" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7487 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7488 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7489 "description" : "Get system information about some Orthanc peer. This corresponds to doing a `GET` request against the `/system` URI of the remote peer. This route can be used to test connectivity.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7490 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7491 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7492 "description" : "Identifier of the peer of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7493 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7494 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7495 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7496 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7497 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7498 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7499 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7500 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7501 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7502 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7503 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7504 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7505 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7506 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7507 "description" : "System information about the peer"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7508 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7509 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7510 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7511 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7512 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7513 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7514 "summary" : "Get peer system information",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7515 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7516 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7517 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7518 "/plugins" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7519 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7520 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7521 "description" : "List all the installed plugins",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7522 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7523 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7524 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7525 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7526 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7527 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7528 "description" : "JSON array containing the identifiers of the installed plugins",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7529 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7530 "explorer.js",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7531 "authorization",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7532 "connectivity-checks",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7533 "dicom-web",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7534 "gdcm",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7535 "indexer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7536 "mysql-index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7537 "mysql-storage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7538 "neuro",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7539 "odbc-index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7540 "odbc-storage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7541 "postgresql-index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7542 "postgresql-storage",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7543 "serve-folders",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7544 "stone-rtviewer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7545 "stone-webviewer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7546 "tcia",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7547 "transfers",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7548 "web-viewer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7549 "worklists",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7550 "wsi"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7551 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7552 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7553 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7554 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7555 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7556 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7557 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7558 "summary" : "List plugins",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7559 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7560 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7561 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7562 "/plugins/explorer.js" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7563 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7564 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7565 "description" : "Get the JavaScript extensions that are installed by all the plugins using the `OrthancPluginExtendOrthancExplorer()` function of the plugin SDK. This route is for internal use of Orthanc Explorer.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7566 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7567 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7568 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7569 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7570 "application/javascript" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7571 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7572 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7573 "description" : "The JavaScript extensions"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7574 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7575 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7576 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7577 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7578 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7579 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7580 "summary" : "JavaScript extensions to Orthanc Explorer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7581 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7582 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7583 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7584 "/plugins/{id}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7585 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7586 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7587 "description" : "Get system information about the plugin whose identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7588 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7589 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7590 "description" : "Identifier of the job of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7591 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7592 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7593 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7594 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7595 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7596 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7597 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7598 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7599 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7600 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7601 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7602 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7603 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7604 "description" : "JSON object containing information about the plugin",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7605 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7606 "Description" : "Implementation of DICOMweb (QIDO-RS, STOW-RS and WADO-RS) and WADO-URI.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7607 "ExtendsOrthancExplorer" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7608 "ID" : "dicom-web",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7609 "RootUri" : "../dicom-web/app/client/index.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7610 "Version" : "1.7"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7611 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7612 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7613 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7614 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7615 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7616 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7617 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7618 "summary" : "Get plugin",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7619 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7620 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7621 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7622 "/queries" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7623 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7624 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7625 "description" : "List the identifiers of all the query/retrieve operations on DICOM modalities, as initiated by calls to `/modalities/{id}/query`. The length of this list is bounded by the `QueryRetrieveSize` configuration option of Orthanc. https://book.orthanc-server.com/users/rest.html#performing-query-retrieve-c-find-and-find-with-rest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7626 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7627 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7628 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7629 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7630 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7631 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7632 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7633 "description" : "JSON array containing the identifiers"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7634 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7635 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7636 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7637 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7638 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7639 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7640 "summary" : "List query/retrieve operations",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7641 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7642 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7643 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7644 "/queries/{id}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7645 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7646 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7647 "description" : "Delete the query/retrieve operation whose identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7648 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7649 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7650 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7651 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7652 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7653 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7654 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7655 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7656 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7657 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7658 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7659 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7660 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7661 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7662 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7663 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7664 "summary" : "Delete a query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7665 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7666 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7667 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7668 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7669 "description" : "List the available operations for the query/retrieve operation whose identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7670 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7671 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7672 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7673 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7674 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7675 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7676 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7677 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7678 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7679 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7680 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7681 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7682 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7683 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7684 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7685 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7686 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7687 "description" : "JSON array containing the list of operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7688 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7689 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7690 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7691 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7692 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7693 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7694 "summary" : "List operations on a query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7695 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7696 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7697 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7698 "/queries/{id}/answers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7699 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7700 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7701 "description" : "List the indices of all the available answers resulting from a query/retrieve operation on some DICOM modality, whose identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7702 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7703 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7704 "description" : "If present, retrieve detailed information about the individual answers",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7705 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7706 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7707 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7708 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7709 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7710 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7711 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7712 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7713 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7714 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7715 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7716 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7717 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7718 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7719 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7720 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7721 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7722 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7723 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7724 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7725 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7726 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7727 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7728 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7729 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7730 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7731 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7732 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7733 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7734 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7735 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7736 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7737 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7738 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7739 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7740 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7741 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7742 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7743 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7744 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7745 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7746 "description" : "JSON array containing the indices of the answers, or detailed information about the reported answers (if `expand` argument is provided)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7747 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7748 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7749 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7750 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7751 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7752 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7753 "summary" : "List answers to a query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7754 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7755 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7756 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7757 "/queries/{id}/answers/{index}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7758 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7759 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7760 "description" : "List the available operations on an answer associated with the query/retrieve operation whose identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7761 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7762 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7763 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7764 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7765 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7766 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7767 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7768 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7769 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7770 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7771 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7772 "description" : "Index of the answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7773 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7774 "name" : "index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7775 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7776 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7777 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7778 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7779 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7780 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7781 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7782 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7783 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7784 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7785 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7786 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7787 "description" : "JSON array containing the list of operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7788 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7789 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7790 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7791 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7792 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7793 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7794 "summary" : "List operations on an answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7795 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7796 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7797 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7798 "/queries/{id}/answers/{index}/content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7799 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7800 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7801 "description" : "Get the content (DICOM tags) of one answer associated with the query/retrieve operation whose identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7802 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7803 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7804 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7805 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7806 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7807 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7808 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7809 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7810 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7811 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7812 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7813 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7814 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7815 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7816 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7817 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7818 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7819 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7820 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7821 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7822 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7823 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7824 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7825 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7826 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7827 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7828 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7829 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7830 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7831 "description" : "Index of the answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7832 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7833 "name" : "index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7834 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7835 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7836 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7837 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7838 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7839 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7840 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7841 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7842 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7843 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7844 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7845 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7846 "description" : "JSON object containing the DICOM tags of the answer"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7847 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7848 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7849 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7850 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7851 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7852 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7853 "summary" : "Get one answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7854 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7855 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7856 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7857 "/queries/{id}/answers/{index}/query-instances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7858 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7859 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7860 "description" : "Issue a second DICOM C-FIND operation, in order to query the child instances associated with one answer to some query/retrieve operation whose identifiers are provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7861 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7862 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7863 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7864 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7865 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7866 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7867 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7868 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7869 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7870 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7871 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7872 "description" : "Index of the answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7873 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7874 "name" : "index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7875 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7876 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7877 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7878 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7879 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7880 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7881 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7882 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7883 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7884 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7885 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7886 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7887 "Query" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7888 "description" : "Associative array containing the filter on the values of the DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7889 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7890 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7891 "Timeout" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7892 "description" : "Timeout for the C-FIND command, in seconds (new in Orthanc 1.9.1)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7893 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7894 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7895 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7896 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7897 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7898 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7899 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7900 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7901 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7902 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7903 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7904 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7905 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7906 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7907 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7908 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7909 "description" : "Identifier of the query, to be used with `/queries/{id}`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7910 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7911 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7912 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7913 "description" : "Root path to the query in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7914 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7915 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7916 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7917 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7918 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7919 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7920 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7921 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7922 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7923 "summary" : "Query the child instances of an answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7924 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7925 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7926 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7927 "/queries/{id}/answers/{index}/query-series" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7928 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7929 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7930 "description" : "Issue a second DICOM C-FIND operation, in order to query the child series associated with one answer to some query/retrieve operation whose identifiers are provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7931 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7932 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7933 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7934 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7935 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7936 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7937 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7938 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7939 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7940 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7941 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7942 "description" : "Index of the answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7943 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7944 "name" : "index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7945 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7946 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7947 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7948 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7949 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7950 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7951 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7952 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7953 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7954 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7955 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7956 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7957 "Query" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7958 "description" : "Associative array containing the filter on the values of the DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7959 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7960 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7961 "Timeout" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7962 "description" : "Timeout for the C-FIND command, in seconds (new in Orthanc 1.9.1)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7963 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7964 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7965 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7966 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7967 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7968 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7969 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7970 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7971 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7972 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7973 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7974 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7975 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7976 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7977 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7978 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7979 "description" : "Identifier of the query, to be used with `/queries/{id}`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7980 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7981 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7982 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7983 "description" : "Root path to the query in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7984 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7985 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7986 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7987 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7988 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7989 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7990 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7991 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7992 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7993 "summary" : "Query the child series of an answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7994 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7995 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7996 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7997 "/queries/{id}/answers/{index}/query-studies" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7998 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
7999 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8000 "description" : "Issue a second DICOM C-FIND operation, in order to query the child studies associated with one answer to some query/retrieve operation whose identifiers are provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8001 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8002 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8003 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8004 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8005 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8006 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8007 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8008 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8009 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8010 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8011 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8012 "description" : "Index of the answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8013 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8014 "name" : "index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8015 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8016 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8017 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8018 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8019 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8020 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8021 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8022 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8023 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8024 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8025 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8026 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8027 "Query" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8028 "description" : "Associative array containing the filter on the values of the DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8029 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8030 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8031 "Timeout" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8032 "description" : "Timeout for the C-FIND command, in seconds (new in Orthanc 1.9.1)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8033 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8034 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8035 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8036 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8037 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8038 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8039 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8040 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8041 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8042 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8043 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8044 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8045 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8046 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8047 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8048 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8049 "description" : "Identifier of the query, to be used with `/queries/{id}`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8050 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8051 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8052 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8053 "description" : "Root path to the query in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8054 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8055 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8056 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8057 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8058 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8059 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8060 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8061 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8062 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8063 "summary" : "Query the child studies of an answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8064 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8065 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8066 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8067 "/queries/{id}/answers/{index}/retrieve" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8068 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8069 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8070 "description" : "Start a C-MOVE SCU command as a job, in order to retrieve one answer associated with the query/retrieve operation whose identifiers are provided in the URL: https://book.orthanc-server.com/users/rest.html#performing-retrieve-c-move",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8071 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8072 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8073 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8074 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8075 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8076 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8077 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8078 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8079 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8080 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8081 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8082 "description" : "Index of the answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8083 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8084 "name" : "index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8085 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8086 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8087 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8088 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8089 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8090 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8091 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8092 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8093 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8094 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8095 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8096 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8097 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8098 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8099 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8100 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8101 "Full" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8102 "description" : "If set to `true`, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8103 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8104 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8105 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8106 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8107 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8108 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8109 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8110 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8111 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8112 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8113 "Simplify" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8114 "description" : "If set to `true`, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8115 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8116 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8117 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8118 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8119 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8120 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8121 "TargetAet" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8122 "description" : "AET of the target modality. By default, the AET of Orthanc is used, as defined in the `DicomAet` configuration option.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8123 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8124 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8125 "Timeout" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8126 "description" : "Timeout for the C-MOVE command, in seconds",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8127 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8128 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8129 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8130 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8131 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8132 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8133 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8134 "description" : "AET of the target modality"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8135 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8136 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8137 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8138 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8139 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8140 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8141 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8142 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8143 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8144 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8145 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8146 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8147 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8148 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8149 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8150 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8151 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8152 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8153 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8154 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8155 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8156 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8157 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8158 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8159 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8160 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8161 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8162 "summary" : "Retrieve one answer",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8163 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8164 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8165 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8166 "/queries/{id}/level" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8167 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8168 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8169 "description" : "Get the query level (value of the `QueryRetrieveLevel` tag) of the query/retrieve operation whose identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8170 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8171 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8172 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8173 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8174 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8175 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8176 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8177 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8178 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8179 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8180 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8181 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8182 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8183 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8184 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8185 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8186 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8187 "description" : "The level"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8188 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8189 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8190 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8191 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8192 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8193 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8194 "summary" : "Get level of original query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8195 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8196 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8197 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8198 "/queries/{id}/modality" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8199 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8200 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8201 "description" : "Get the identifier of the DICOM modality that was targeted by the query/retrieve operation whose identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8202 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8203 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8204 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8205 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8206 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8207 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8208 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8209 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8210 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8211 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8212 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8213 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8214 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8215 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8216 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8217 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8218 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8219 "description" : "The identifier of the DICOM modality"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8220 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8221 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8222 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8223 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8224 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8225 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8226 "summary" : "Get modality of original query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8227 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8228 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8229 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8230 "/queries/{id}/query" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8231 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8232 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8233 "description" : "Get the original DICOM filter associated with the query/retrieve operation whose identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8234 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8235 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8236 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8237 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8238 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8239 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8240 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8241 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8242 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8243 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8244 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8245 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8246 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8247 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8248 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8249 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8250 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8251 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8252 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8253 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8254 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8255 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8256 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8257 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8258 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8259 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8260 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8261 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8262 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8263 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8264 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8265 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8266 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8267 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8268 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8269 "description" : "Content of the original query"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8270 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8271 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8272 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8273 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8274 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8275 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8276 "summary" : "Get original query arguments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8277 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8278 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8279 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8280 "/queries/{id}/retrieve" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8281 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8282 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8283 "description" : "Start a C-MOVE SCU command as a job, in order to retrieve all the answers associated with the query/retrieve operation whose identifier is provided in the URL: https://book.orthanc-server.com/users/rest.html#performing-retrieve-c-move",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8284 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8285 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8286 "description" : "Identifier of the query of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8287 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8288 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8289 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8290 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8291 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8292 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8293 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8294 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8295 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8296 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8297 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8298 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8299 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8300 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8301 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8302 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8303 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8304 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8305 "Full" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8306 "description" : "If set to `true`, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8307 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8308 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8309 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8310 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8311 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8312 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8313 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8314 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8315 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8316 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8317 "Simplify" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8318 "description" : "If set to `true`, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8319 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8320 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8321 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8322 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8323 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8324 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8325 "TargetAet" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8326 "description" : "AET of the target modality. By default, the AET of Orthanc is used, as defined in the `DicomAet` configuration option.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8327 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8328 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8329 "Timeout" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8330 "description" : "Timeout for the C-MOVE command, in seconds",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8331 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8332 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8333 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8334 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8335 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8336 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8337 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8338 "description" : "AET of the target modality"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8339 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8340 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8341 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8342 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8343 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8344 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8345 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8346 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8347 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8348 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8349 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8350 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8351 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8352 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8353 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8354 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8355 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8356 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8357 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8358 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8359 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8360 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8361 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8362 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8363 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8364 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8365 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8366 "summary" : "Retrieve all answers",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8367 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8368 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8369 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8370 "/series" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8371 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8372 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8373 "description" : "List the Orthanc identifiers of all the available DICOM series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8374 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8375 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8376 "description" : "If present, retrieve detailed information about the individual series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8377 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8378 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8379 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8380 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8381 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8382 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8383 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8384 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8385 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8386 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8387 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8388 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8389 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8390 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8391 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8392 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8393 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8394 "description" : "Limit the number of results",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8395 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8396 "name" : "limit",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8397 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8398 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8399 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8400 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8401 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8402 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8403 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8404 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8405 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8406 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8407 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8408 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8409 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8410 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8411 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8412 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8413 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8414 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8415 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8416 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8417 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8418 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8419 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8420 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8421 "description" : "Show only the resources since the provided index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8422 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8423 "name" : "since",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8424 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8425 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8426 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8427 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8428 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8429 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8430 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8431 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8432 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8433 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8434 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8435 "description" : "JSON array containing either the Orthanc identifiers, or detailed information about the reported series (if `expand` argument is provided)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8436 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8437 "318603c5-03e8cffc-a82b6ee1-3ccd3c1e-18d7e3bb",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8438 "7124dba7-09803f33-98b73826-33f14632-ea842d29"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8439 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8440 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8441 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8442 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8443 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8444 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8445 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8446 "summary" : "List the available series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8447 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8448 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8449 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8450 "/series/{id}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8451 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8452 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8453 "description" : "Delete the DICOM series whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8454 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8455 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8456 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8457 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8458 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8459 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8460 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8461 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8462 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8463 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8464 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8465 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8466 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8467 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8468 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8469 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8470 "summary" : "Delete some series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8471 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8472 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8473 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8474 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8475 "description" : "Get detailed information about the DICOM series whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8476 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8477 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8478 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8479 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8480 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8481 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8482 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8483 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8484 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8485 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8486 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8487 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8488 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8489 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8490 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8491 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8492 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8493 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8494 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8495 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8496 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8497 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8498 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8499 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8500 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8501 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8502 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8503 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8504 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8505 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8506 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8507 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8508 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8509 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8510 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8511 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8512 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8513 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8514 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8515 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8516 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8517 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8518 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8519 "description" : "Information about the DICOM series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8520 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8521 "ExpectedNumberOfInstances" : null,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8522 "ID" : "37836232-d13a2350-fa1dedc5-962b31aa-010f8e52",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8523 "Instances" : [ "6582b1c0-292ad5ab-ba0f088f-f7a1766f-9a29a54f" ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8524 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8525 "LastUpdate" : "20180414T091542",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8526 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8527 "ImageOrientationPatient" : "0\\1\\0\\0\\0\\-1",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8528 "Manufacturer" : "Philips",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8529 "Modality" : "CT",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8530 "PerformedProcedureStepDescription" : "CT2 tête, face, sinus",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8531 "ProtocolName" : "COU 2 mm/Neck/Sv",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8532 "SeriesInstanceUID" : "1.2.840.113704.1.111.5692.1127828999.2",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8533 "SeriesNumber" : "2276",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8534 "StationName" : "ctrad"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8535 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8536 "ParentStudy" : "49974143-ec23cb52-6b2a1c46-14d5daa0-0822ce1a",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8537 "Status" : "Unknown",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8538 "Type" : "Series"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8539 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8540 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8541 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8542 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8543 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8544 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8545 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8546 "summary" : "Get information about some series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8547 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8548 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8549 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8550 "/series/{id}/anonymize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8551 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8552 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8553 "description" : "Start a job that will anonymize all the DICOM instances within the series whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new series, whose Orthanc identifiers will be returned by the job. https://book.orthanc-server.com/users/anonymization.html#anonymization-of-patients-studies-or-series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8554 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8555 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8556 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8557 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8558 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8559 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8560 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8561 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8562 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8563 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8564 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8565 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8566 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8567 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8568 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8569 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8570 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8571 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8572 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8573 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8574 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8575 "DicomVersion" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8576 "description" : "Version of the DICOM standard to be used for anonymization. Check out configuration option `DeidentifyLogsDicomVersion` for possible values.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8577 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8578 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8579 "Force" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8580 "description" : "Allow the modification of tags related to DICOM identifiers, at the risk of breaking the DICOM model of the real world",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8581 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8582 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8583 "Keep" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8584 "description" : "List of DICOM tags whose value must not be destroyed by the anonymization. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8585 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8586 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8587 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8588 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8589 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8590 "KeepPrivateTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8591 "description" : "Keep the private tags from the DICOM instances (defaults to `false`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8592 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8593 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8594 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8595 "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8596 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8597 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8598 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8599 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8600 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8601 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8602 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8603 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8604 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8605 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8606 "PrivateCreator" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8607 "description" : "The private creator to be used for private tags in `Replace`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8608 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8609 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8610 "Remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8611 "description" : "List of additional tags to be removed from the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8612 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8613 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8614 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8615 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8616 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8617 "Replace" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8618 "description" : "Associative array to change the value of some DICOM tags in the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8619 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8620 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8621 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8622 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8623 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8624 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8625 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8626 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8627 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8628 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8629 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8630 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8631 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8632 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8633 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8634 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8635 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8636 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8637 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8638 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8639 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8640 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8641 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8642 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8643 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8644 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8645 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8646 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8647 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8648 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8649 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8650 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8651 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8652 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8653 "summary" : "Anonymize series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8654 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8655 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8656 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8657 "/series/{id}/archive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8658 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8659 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8660 "description" : "Synchronously create a ZIP archive containing the DICOM series whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might *not* be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using `POST` method.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8661 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8662 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8663 "description" : "Filename to set in the \"Content-Disposition\" HTTP header (including file extension)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8664 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8665 "name" : "filename",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8666 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8667 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8668 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8669 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8670 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8671 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8672 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8673 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8674 "name" : "transcode",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8675 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8676 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8677 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8678 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8679 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8680 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8681 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8682 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8683 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8684 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8685 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8686 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8687 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8688 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8689 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8690 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8691 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8692 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8693 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8694 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8695 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8696 "description" : "ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8697 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8698 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8699 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8700 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8701 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8702 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8703 "summary" : "Create ZIP archive",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8704 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8705 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8706 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8707 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8708 "description" : "Create a ZIP archive containing the DICOM series whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8709 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8710 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8711 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8712 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8713 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8714 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8715 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8716 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8717 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8718 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8719 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8720 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8721 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8722 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8723 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8724 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8725 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8726 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8727 "description" : "If `true`, create the archive in asynchronous mode, which means that a job is submitted to create the archive in background.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8728 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8729 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8730 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8731 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8732 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8733 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8734 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8735 "description" : "If `true`, create the archive in synchronous mode, which means that the HTTP answer will directly contain the ZIP file. This is the default, easy behavior. However, if global configuration option \"SynchronousZipStream\" is set to \"false\", asynchronous transfers should be preferred for large amount of data, as the creation of the temporary file might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8736 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8737 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8738 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8739 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8740 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8741 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8742 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8743 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8744 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8745 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8746 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8747 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8748 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8749 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8750 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8751 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8752 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8753 "description" : "In asynchronous mode, information about the job that has been submitted to generate the archive: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8754 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8755 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8756 "description" : "Identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8757 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8758 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8759 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8760 "description" : "Path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8761 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8762 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8763 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8764 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8765 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8766 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8767 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8768 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8769 "description" : "In synchronous mode, the ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8770 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8771 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8772 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8773 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8774 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8775 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8776 "summary" : "Create ZIP archive",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8777 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8778 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8779 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8780 "/series/{id}/attachments" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8781 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8782 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8783 "description" : "Get the list of attachments that are associated with the given series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8784 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8785 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8786 "description" : "If present, retrieve the attachments list and their numerical ids",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8787 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8788 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8789 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8790 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8791 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8792 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8793 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8794 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8795 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8796 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8797 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8798 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8799 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8800 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8801 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8802 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8803 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8804 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8805 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8806 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8807 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8808 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8809 "description" : "JSON array containing the names of the attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8810 "example" : []
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8811 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8812 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8813 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8814 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8815 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8816 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8817 "summary" : "List attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8818 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8819 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8820 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8821 "/series/{id}/attachments/{name}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8822 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8823 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8824 "description" : "Delete an attachment associated with the given DICOM series. This call will fail if trying to delete a system attachment (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8825 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8826 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8827 "description" : "Revision of the attachment, to check if its content has not changed and can be deleted. This header is mandatory if `CheckRevisions` option is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8828 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8829 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8830 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8831 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8832 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8833 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8834 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8835 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8836 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8837 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8838 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8839 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8840 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8841 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8842 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8843 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8844 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8845 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8846 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8847 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8848 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8849 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8850 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8851 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8852 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8853 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8854 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8855 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8856 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8857 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8858 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8859 "summary" : "Delete attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8860 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8861 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8862 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8863 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8864 "description" : "Get the list of the operations that are available for attachments associated with the given series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8865 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8866 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8867 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8868 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8869 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8870 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8871 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8872 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8873 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8874 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8875 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8876 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8877 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8878 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8879 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8880 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8881 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8882 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8883 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8884 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8885 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8886 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8887 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8888 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8889 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8890 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8891 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8892 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8893 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8894 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8895 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8896 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8897 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8898 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8899 "description" : "List of the available operations",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8900 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8901 "compress",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8902 "compressed-data",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8903 "compressed-md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8904 "compressed-size",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8905 "data",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8906 "info",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8907 "is-compressed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8908 "md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8909 "size",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8910 "uncompress",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8911 "verify-md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8912 "uuid"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8913 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8914 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8915 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8916 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8917 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8918 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8919 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8920 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8921 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8922 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8923 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8924 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8925 "summary" : "List operations on attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8926 "tags" : [ "Other" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8927 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8928 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8929 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8930 "description" : "Attach a file to the given DICOM series. This call will fail if trying to modify a system attachment (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8931 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8932 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8933 "description" : "Revision of the attachment, if this is not the first time this attachment is set.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8934 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8935 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8936 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8937 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8938 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8939 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8940 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8941 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8942 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8943 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8944 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8945 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8946 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8947 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8948 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8949 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8950 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8951 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8952 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8953 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8954 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8955 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8956 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8957 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8958 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8959 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8960 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8961 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8962 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8963 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8964 "description" : "Binary data containing the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8965 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8966 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8967 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8968 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8969 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8970 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8971 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8972 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8973 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8974 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8975 "description" : "Empty JSON object in the case of a success"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8976 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8977 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8978 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8979 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8980 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8981 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8982 "summary" : "Set attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8983 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8984 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8985 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8986 "/series/{id}/attachments/{name}/compress" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8987 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8988 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8989 "description" : "Change the compression scheme that is used to store an attachment.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8990 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8991 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8992 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8993 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8994 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8995 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8996 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8997 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8998 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
8999 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9000 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9001 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9002 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9003 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9004 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9005 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9006 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9007 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9008 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9009 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9010 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9011 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9012 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9013 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9014 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9015 "summary" : "Compress attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9016 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9017 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9018 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9019 "/series/{id}/attachments/{name}/compressed-data" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9020 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9021 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9022 "description" : "Get the (binary) content of one attachment associated with the given series. The attachment will not be decompressed if `StorageCompression` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9023 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9024 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9025 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9026 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9027 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9028 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9029 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9030 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9031 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9032 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9033 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9034 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9035 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9036 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9037 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9038 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9039 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9040 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9041 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9042 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9043 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9044 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9045 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9046 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9047 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9048 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9049 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9050 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9051 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9052 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9053 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9054 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9055 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9056 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9057 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9058 "description" : "The attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9059 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9060 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9061 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9062 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9063 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9064 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9065 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9066 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9067 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9068 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9069 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9070 "summary" : "Get attachment (no decompression)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9071 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9072 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9073 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9074 "/series/{id}/attachments/{name}/compressed-md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9075 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9076 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9077 "description" : "Get the MD5 hash of one attachment associated with the given series, as stored on the disk. This is different from `.../md5` iff `EnableStorage` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9078 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9079 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9080 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9081 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9082 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9083 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9084 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9085 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9086 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9087 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9088 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9089 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9090 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9091 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9092 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9093 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9094 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9095 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9096 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9097 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9098 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9099 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9100 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9101 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9102 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9103 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9104 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9105 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9106 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9107 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9108 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9109 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9110 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9111 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9112 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9113 "description" : "The MD5 of the attachment, as stored on the disk"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9114 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9115 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9116 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9117 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9118 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9119 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9120 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9121 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9122 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9123 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9124 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9125 "summary" : "Get MD5 of attachment on disk",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9126 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9127 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9128 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9129 "/series/{id}/attachments/{name}/compressed-size" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9130 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9131 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9132 "description" : "Get the size of one attachment associated with the given series, as stored on the disk. This is different from `.../size` iff `EnableStorage` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9133 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9134 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9135 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9136 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9137 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9138 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9139 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9140 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9141 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9142 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9143 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9144 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9145 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9146 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9147 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9148 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9149 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9150 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9151 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9152 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9153 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9154 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9155 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9156 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9157 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9158 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9159 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9160 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9161 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9162 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9163 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9164 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9165 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9166 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9167 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9168 "description" : "The size of the attachment, as stored on the disk"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9169 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9170 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9171 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9172 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9173 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9174 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9175 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9176 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9177 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9178 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9179 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9180 "summary" : "Get size of attachment on disk",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9181 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9182 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9183 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9184 "/series/{id}/attachments/{name}/data" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9185 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9186 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9187 "description" : "Get the (binary) content of one attachment associated with the given series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9188 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9189 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9190 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9191 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9192 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9193 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9194 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9195 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9196 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9197 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9198 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9199 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9200 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9201 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9202 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9203 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9204 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9205 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9206 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9207 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9208 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9209 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9210 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9211 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9212 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9213 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9214 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9215 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9216 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9217 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9218 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9219 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9220 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9221 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9222 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9223 "description" : "The attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9224 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9225 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9226 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9227 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9228 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9229 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9230 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9231 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9232 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9233 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9234 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9235 "summary" : "Get attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9236 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9237 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9238 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9239 "/series/{id}/attachments/{name}/info" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9240 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9241 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9242 "description" : "Get all the information about the attachment associated with the given series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9243 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9244 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9245 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9246 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9247 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9248 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9249 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9250 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9251 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9252 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9253 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9254 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9255 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9256 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9257 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9258 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9259 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9260 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9261 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9262 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9263 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9264 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9265 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9266 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9267 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9268 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9269 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9270 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9271 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9272 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9273 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9274 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9275 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9276 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9277 "description" : "JSON object containing the information about the attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9278 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9279 "CompressedMD5" : "26f3fad6ca0c355f02d57c7fa6770248",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9280 "CompressedSize" : 526970,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9281 "ContentType" : 1,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9282 "UncompressedMD5" : "26f3fad6ca0c355f02d57c7fa6770248",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9283 "UncompressedSize" : 526970,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9284 "Uuid" : "b7c99eb7-229f-464e-8f46-6878c8e79e5c"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9285 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9286 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9287 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9288 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9289 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9290 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9291 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9292 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9293 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9294 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9295 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9296 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9297 "summary" : "Get info about the attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9298 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9299 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9300 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9301 "/series/{id}/attachments/{name}/is-compressed" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9302 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9303 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9304 "description" : "Test whether the attachment has been stored as a compressed file on the disk.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9305 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9306 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9307 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9308 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9309 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9310 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9311 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9312 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9313 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9314 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9315 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9316 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9317 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9318 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9319 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9320 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9321 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9322 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9323 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9324 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9325 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9326 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9327 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9328 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9329 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9330 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9331 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9332 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9333 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9334 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9335 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9336 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9337 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9338 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9339 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9340 "description" : "`0` if the attachment was stored uncompressed, `1` if it was compressed"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9341 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9342 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9343 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9344 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9345 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9346 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9347 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9348 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9349 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9350 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9351 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9352 "summary" : "Is attachment compressed?",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9353 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9354 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9355 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9356 "/series/{id}/attachments/{name}/md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9357 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9358 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9359 "description" : "Get the MD5 hash of one attachment associated with the given series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9360 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9361 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9362 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9363 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9364 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9365 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9366 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9367 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9368 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9369 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9370 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9371 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9372 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9373 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9374 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9375 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9376 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9377 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9378 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9379 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9380 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9381 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9382 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9383 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9384 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9385 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9386 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9387 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9388 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9389 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9390 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9391 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9392 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9393 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9394 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9395 "description" : "The MD5 of the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9396 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9397 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9398 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9399 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9400 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9401 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9402 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9403 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9404 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9405 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9406 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9407 "summary" : "Get MD5 of attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9408 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9409 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9410 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9411 "/series/{id}/attachments/{name}/size" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9412 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9413 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9414 "description" : "Get the size of one attachment associated with the given series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9415 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9416 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9417 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9418 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9419 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9420 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9421 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9422 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9423 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9424 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9425 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9426 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9427 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9428 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9429 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9430 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9431 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9432 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9433 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9434 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9435 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9436 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9437 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9438 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9439 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9440 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9441 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9442 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9443 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9444 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9445 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9446 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9447 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9448 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9449 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9450 "description" : "The size of the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9451 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9452 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9453 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9454 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9455 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9456 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9457 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9458 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9459 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9460 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9461 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9462 "summary" : "Get size of attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9463 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9464 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9465 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9466 "/series/{id}/attachments/{name}/uncompress" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9467 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9468 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9469 "description" : "Change the compression scheme that is used to store an attachment.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9470 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9471 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9472 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9473 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9474 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9475 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9476 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9477 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9478 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9479 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9480 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9481 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9482 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9483 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9484 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9485 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9486 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9487 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9488 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9489 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9490 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9491 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9492 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9493 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9494 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9495 "summary" : "Uncompress attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9496 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9497 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9498 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9499 "/series/{id}/attachments/{name}/verify-md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9500 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9501 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9502 "description" : "Verify that the attachment is not corrupted, by validating its MD5 hash",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9503 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9504 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9505 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9506 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9507 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9508 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9509 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9510 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9511 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9512 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9513 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9514 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9515 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9516 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9517 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9518 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9519 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9520 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9521 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9522 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9523 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9524 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9525 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9526 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9527 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9528 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9529 "description" : "On success, a valid JSON object is returned"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9530 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9531 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9532 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9533 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9534 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9535 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9536 "summary" : "Verify attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9537 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9538 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9539 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9540 "/series/{id}/instances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9541 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9542 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9543 "description" : "Get detailed information about the child instances of the DICOM series whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9544 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9545 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9546 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9547 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9548 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9549 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9550 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9551 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9552 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9553 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9554 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9555 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9556 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9557 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9558 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9559 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9560 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9561 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9562 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9563 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9564 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9565 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9566 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9567 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9568 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9569 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9570 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9571 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9572 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9573 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9574 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9575 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9576 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9577 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9578 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9579 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9580 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9581 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9582 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9583 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9584 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9585 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9586 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9587 "description" : "JSON array containing information about the child DICOM instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9588 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9589 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9590 "FileSize" : 368852,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9591 "FileUuid" : "9016272a-ee8c-41b2-afc6-dcfe06dd3be8",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9592 "ID" : "6582b1c0-292ad5ab-ba0f088f-f7a1766f-9a29a54f",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9593 "IndexInSeries" : 1,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9594 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9595 "ImagePositionPatient" : "0\\-159\\-425.915649",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9596 "InstanceCreationDate" : "20050927",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9597 "InstanceCreationTime" : "155030.000000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9598 "InstanceNumber" : "1",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9599 "SOPInstanceUID" : "1.2.840.113704.7.1.1.6632.1127829031.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9600 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9601 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9602 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9603 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9604 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9605 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9606 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9607 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9608 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9609 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9610 "summary" : "Get child instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9611 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9612 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9613 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9614 "/series/{id}/instances-tags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9615 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9616 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9617 "description" : "Get the tags of all the child instances of the DICOM series whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9618 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9619 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9620 "description" : "Also include the DICOM tags that are provided in this list, even if their associated value is long",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9621 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9622 "name" : "ignore-length",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9623 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9624 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9625 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9626 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9627 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9628 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9629 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9630 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9631 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9632 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9633 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9634 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9635 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9636 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9637 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9638 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9639 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9640 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9641 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9642 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9643 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9644 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9645 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9646 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9647 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9648 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9649 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9650 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9651 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9652 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9653 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9654 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9655 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9656 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9657 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9658 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9659 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9660 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9661 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9662 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9663 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9664 "description" : "JSON object associating the Orthanc identifiers of the instances, with the values of their DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9665 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9666 "6582b1c0-292ad5ab-ba0f088f-f7a1766f-9a29a54f" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9667 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9668 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9669 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9670 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9671 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9672 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9673 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9674 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9675 "Value" : "ORIGINAL\\PRIMARY\\LOCALIZER\\ES"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9676 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9677 "0008,0012" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9678 "Name" : "InstanceCreationDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9679 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9680 "Value" : "20050927"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9681 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9682 "0008,0013" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9683 "Name" : "InstanceCreationTime",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9684 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9685 "Value" : "155030.000000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9686 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9687 "0008,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9688 "Name" : "SOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9689 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9690 "Value" : "1.2.840.10008.5.1.4.1.1.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9691 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9692 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9693 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9694 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9695 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9696 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9697 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9698 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9699 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9700 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9701 "summary" : "Get tags of instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9702 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9703 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9704 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9705 "/series/{id}/media" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9706 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9707 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9708 "description" : "Synchronously create a DICOMDIR media containing the DICOM series whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might *not* be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using `POST` method.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9709 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9710 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9711 "description" : "If present, will include additional tags such as `SeriesDescription`, leading to a so-called *extended DICOMDIR*",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9712 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9713 "name" : "extended",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9714 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9715 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9716 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9717 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9718 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9719 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9720 "description" : "Filename to set in the \"Content-Disposition\" HTTP header (including file extension)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9721 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9722 "name" : "filename",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9723 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9724 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9725 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9726 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9727 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9728 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9729 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9730 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9731 "name" : "transcode",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9732 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9733 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9734 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9735 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9736 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9737 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9738 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9739 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9740 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9741 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9742 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9743 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9744 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9745 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9746 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9747 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9748 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9749 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9750 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9751 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9752 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9753 "description" : "ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9754 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9755 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9756 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9757 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9758 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9759 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9760 "summary" : "Create DICOMDIR media",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9761 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9762 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9763 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9764 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9765 "description" : "Create a DICOMDIR media containing the DICOM series whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9766 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9767 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9768 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9769 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9770 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9771 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9772 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9773 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9774 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9775 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9776 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9777 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9778 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9779 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9780 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9781 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9782 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9783 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9784 "description" : "If `true`, create the archive in asynchronous mode, which means that a job is submitted to create the archive in background.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9785 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9786 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9787 "Extended" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9788 "description" : "If `true`, will include additional tags such as `SeriesDescription`, leading to a so-called *extended DICOMDIR*. Default value is `false`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9789 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9790 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9791 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9792 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9793 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9794 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9795 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9796 "description" : "If `true`, create the archive in synchronous mode, which means that the HTTP answer will directly contain the ZIP file. This is the default, easy behavior. However, if global configuration option \"SynchronousZipStream\" is set to \"false\", asynchronous transfers should be preferred for large amount of data, as the creation of the temporary file might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9797 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9798 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9799 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9800 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9801 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9802 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9803 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9804 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9805 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9806 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9807 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9808 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9809 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9810 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9811 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9812 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9813 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9814 "description" : "In asynchronous mode, information about the job that has been submitted to generate the archive: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9815 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9816 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9817 "description" : "Identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9818 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9819 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9820 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9821 "description" : "Path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9822 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9823 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9824 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9825 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9826 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9827 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9828 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9829 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9830 "description" : "In synchronous mode, the ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9831 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9832 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9833 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9834 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9835 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9836 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9837 "summary" : "Create DICOMDIR media",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9838 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9839 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9840 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9841 "/series/{id}/metadata" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9842 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9843 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9844 "description" : "Get the list of metadata that are associated with the given series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9845 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9846 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9847 "description" : "If present, also retrieve the value of the individual metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9848 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9849 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9850 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9851 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9852 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9853 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9854 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9855 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9856 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9857 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9858 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9859 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9860 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9861 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9862 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9863 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9864 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9865 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9866 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9867 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9868 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9869 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9870 "description" : "JSON array containing the names of the available metadata, or JSON associative array mapping metadata to their values (if `expand` argument is provided)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9871 "example" : [ "LastUpdate" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9872 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9873 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9874 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9875 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9876 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9877 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9878 "summary" : "List metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9879 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9880 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9881 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9882 "/series/{id}/metadata/{name}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9883 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9884 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9885 "description" : "Delete some metadata associated with the given DICOM series. This call will fail if trying to delete a system metadata (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9886 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9887 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9888 "description" : "Revision of the metadata, to check if its content has not changed and can be deleted. This header is mandatory if `CheckRevisions` option is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9889 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9890 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9891 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9892 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9893 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9894 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9895 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9896 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9897 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9898 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9899 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9900 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9901 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9902 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9903 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9904 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9905 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9906 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9907 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9908 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9909 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9910 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9911 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9912 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9913 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9914 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9915 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9916 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9917 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9918 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9919 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9920 "summary" : "Delete metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9921 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9922 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9923 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9924 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9925 "description" : "Get the value of a metadata that is associated with the given series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9926 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9927 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9928 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9929 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9930 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9931 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9932 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9933 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9934 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9935 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9936 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9937 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9938 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9939 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9940 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9941 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9942 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9943 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9944 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9945 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9946 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9947 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9948 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9949 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9950 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9951 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9952 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9953 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9954 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9955 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9956 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9957 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9958 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9959 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9960 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9961 "description" : "Value of the metadata"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9962 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9963 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9964 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9965 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9966 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9967 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9968 "description" : "Revision of the metadata, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9969 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9970 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9971 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9972 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9973 "summary" : "Get metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9974 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9975 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9976 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9977 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9978 "description" : "Set the value of some metadata in the given DICOM series. This call will fail if trying to modify a system metadata (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9979 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9980 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9981 "description" : "Revision of the metadata, if this is not the first time this metadata is set.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9982 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9983 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9984 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9985 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9986 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9987 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9988 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9989 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9990 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9991 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9992 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9993 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9994 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9995 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9996 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9997 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9998 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
9999 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10000 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10001 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10002 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10003 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10004 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10005 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10006 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10007 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10008 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10009 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10010 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10011 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10012 "description" : "String value of the metadata"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10013 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10014 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10015 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10016 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10017 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10018 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10019 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10020 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10021 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10022 "summary" : "Set metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10023 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10024 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10025 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10026 "/series/{id}/modify" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10027 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10028 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10029 "description" : "Start a job that will modify all the DICOM instances within the series whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new series, whose Orthanc identifiers will be returned by the job. https://book.orthanc-server.com/users/anonymization.html#modification-of-studies-or-series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10030 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10031 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10032 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10033 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10034 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10035 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10036 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10037 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10038 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10039 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10040 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10041 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10042 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10043 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10044 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10045 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10046 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10047 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10048 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10049 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10050 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10051 "Force" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10052 "description" : "Allow the modification of tags related to DICOM identifiers, at the risk of breaking the DICOM model of the real world",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10053 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10054 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10055 "Keep" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10056 "description" : "Keep the original value of the specified tags, to be chosen among the `StudyInstanceUID`, `SeriesInstanceUID` and `SOPInstanceUID` tags. Avoid this feature as much as possible, as this breaks the DICOM model of the real world.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10057 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10058 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10059 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10060 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10061 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10062 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10063 "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10064 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10065 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10066 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10067 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10068 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10069 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10070 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10071 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10072 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10073 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10074 "PrivateCreator" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10075 "description" : "The private creator to be used for private tags in `Replace`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10076 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10077 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10078 "Remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10079 "description" : "List of tags that must be removed from the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10080 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10081 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10082 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10083 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10084 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10085 "RemovePrivateTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10086 "description" : "Remove the private tags from the DICOM instances (defaults to `false`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10087 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10088 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10089 "Replace" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10090 "description" : "Associative array to change the value of some DICOM tags in the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10091 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10092 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10093 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10094 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10095 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10096 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10097 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10098 "description" : "Transcode the DICOM instances to the provided DICOM transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10099 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10100 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10101 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10102 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10103 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10104 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10105 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10106 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10107 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10108 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10109 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10110 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10111 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10112 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10113 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10114 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10115 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10116 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10117 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10118 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10119 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10120 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10121 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10122 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10123 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10124 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10125 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10126 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10127 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10128 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10129 "summary" : "Modify series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10130 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10131 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10132 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10133 "/series/{id}/module" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10134 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10135 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10136 "description" : "Get the series module of the DICOM series whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10137 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10138 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10139 "description" : "Also include the DICOM tags that are provided in this list, even if their associated value is long",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10140 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10141 "name" : "ignore-length",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10142 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10143 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10144 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10145 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10146 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10147 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10148 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10149 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10150 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10151 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10152 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10153 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10154 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10155 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10156 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10157 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10158 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10159 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10160 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10161 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10162 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10163 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10164 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10165 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10166 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10167 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10168 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10169 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10170 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10171 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10172 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10173 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10174 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10175 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10176 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10177 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10178 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10179 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10180 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10181 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10182 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10183 "description" : "Information about the DICOM series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10184 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10185 "0008,0060" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10186 "Name" : "Modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10187 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10188 "Value" : "CT"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10189 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10190 "0008,1111" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10191 "Name" : "ReferencedPerformedProcedureStepSequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10192 "Type" : "Sequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10193 "Value" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10194 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10195 "0008,1150" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10196 "Name" : "ReferencedSOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10197 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10198 "Value" : "1.2.840.10008.3.1.2.3.3"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10199 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10200 "0008,1155" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10201 "Name" : "ReferencedSOPInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10202 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10203 "Value" : "1.2.840.113704.1.111.4496.1127828841.54"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10204 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10205 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10206 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10207 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10208 "0018,1030" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10209 "Name" : "ProtocolName",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10210 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10211 "Value" : "COU 2 mm/Neck/Sv"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10212 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10213 "0018,5100" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10214 "Name" : "PatientPosition",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10215 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10216 "Value" : "HFS"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10217 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10218 "0020,000e" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10219 "Name" : "SeriesInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10220 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10221 "Value" : "1.2.840.113704.1.111.5692.1127828999.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10222 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10223 "0020,0011" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10224 "Name" : "SeriesNumber",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10225 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10226 "Value" : "2276"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10227 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10228 "0040,0253" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10229 "Name" : "PerformedProcedureStepID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10230 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10231 "Value" : "A10011234815"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10232 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10233 "0040,0254" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10234 "Name" : "PerformedProcedureStepDescription",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10235 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10236 "Value" : "CT2 tête, face, sinus"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10237 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10238 "0040,0260" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10239 "Name" : "PerformedProtocolCodeSequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10240 "Type" : "Sequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10241 "Value" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10242 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10243 "0008,0100" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10244 "Name" : "CodeValue",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10245 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10246 "Value" : "CTTETE"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10247 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10248 "0008,0102" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10249 "Name" : "CodingSchemeDesignator",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10250 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10251 "Value" : "XPLORE"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10252 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10253 "0008,0104" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10254 "Name" : "CodeMeaning",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10255 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10256 "Value" : "CT2 tête, face, sinus"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10257 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10258 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10259 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10260 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10261 "0040,0275" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10262 "Name" : "RequestAttributesSequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10263 "Type" : "Sequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10264 "Value" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10265 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10266 "0040,0007" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10267 "Name" : "ScheduledProcedureStepDescription",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10268 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10269 "Value" : "CT2 tête, face, sinus"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10270 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10271 "0040,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10272 "Name" : "ScheduledProtocolCodeSequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10273 "Type" : "Sequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10274 "Value" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10275 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10276 "0008,0100" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10277 "Name" : "CodeValue",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10278 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10279 "Value" : "CTTETE"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10280 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10281 "0008,0102" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10282 "Name" : "CodingSchemeDesignator",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10283 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10284 "Value" : "XPLORE"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10285 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10286 "0008,0104" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10287 "Name" : "CodeMeaning",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10288 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10289 "Value" : "CT2 TÊTE, FACE, SINUS"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10290 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10291 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10292 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10293 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10294 "0040,0009" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10295 "Name" : "ScheduledProcedureStepID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10296 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10297 "Value" : "A10011234815"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10298 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10299 "0040,1001" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10300 "Name" : "RequestedProcedureID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10301 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10302 "Value" : "A10011234814"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10303 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10304 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10305 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10306 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10307 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10308 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10309 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10310 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10311 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10312 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10313 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10314 "summary" : "Get series module",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10315 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10316 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10317 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10318 "/series/{id}/numpy" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10319 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10320 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10321 "description" : "Decode the given DICOM series, for use with numpy in Python. The numpy array has 4 dimensions: (frame, height, width, color channel).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10322 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10323 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10324 "description" : "Compress the file as `.npz`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10325 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10326 "name" : "compress",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10327 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10328 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10329 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10330 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10331 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10332 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10333 "description" : "On grayscale images, apply the rescaling and return floating-point values",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10334 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10335 "name" : "rescale",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10336 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10337 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10338 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10339 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10340 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10341 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10342 "description" : "Orthanc identifier of the DICOM resource of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10343 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10344 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10345 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10346 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10347 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10348 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10349 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10350 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10351 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10352 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10353 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10354 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10355 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10356 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10357 "description" : "Numpy file: https://numpy.org/devdocs/reference/generated/numpy.lib.format.html"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10358 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10359 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10360 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10361 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10362 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10363 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10364 "summary" : "Decode series for numpy",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10365 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10366 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10367 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10368 "/series/{id}/ordered-slices" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10369 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10370 "deprecated" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10371 "description" : "Sort the instances and frames (slices) of the DICOM series whose Orthanc identifier is provided in the URL. This URI is essentially used by the Orthanc Web viewer and by the Osimis Web viewer.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10372 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10373 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10374 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10375 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10376 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10377 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10378 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10379 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10380 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10381 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10382 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10383 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10384 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10385 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10386 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10387 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10388 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10389 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10390 "Dicom" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10391 "/instances/fa1fc64f-e7a051a7-c1233b31-e19bca08-54629531/file",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10392 "/instances/f5701efb-98170697-404d15f6-59baf69e-4e8ddfae/file",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10393 "/instances/3b2a215c-2560d4b0-e3730c07-87d3fa7d-3fef44ed/file",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10394 "/instances/6059d07c-02ae8c74-9436dc7c-007b4d5d-4c770a30/file",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10395 "/instances/99264275-213c3190-73251bdc-97ccfdb4-1f9656d9/file",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10396 "/instances/40df6ac1-5ec86316-035ff3c1-07e5c8a8-f6cbd37c/file",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10397 "/instances/08ff3a1a-c8fb57d9-4e24d9cb-2ed22b80-0ff7461e/file",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10398 "/instances/6fe353dd-544ce7af-58ce22dd-ab67370c-873330fc/file",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10399 "/instances/3ad70bbe-bc51faff-860461d2-44745ccf-0ebbbbc8/file",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10400 "/instances/9058e01a-31a7d982-1691e575-a8607d94-29a9aaca/file",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10401 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10402 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10403 "Slices" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10404 "/instances/fa1fc64f-e7a051a7-c1233b31-e19bca08-54629531/frames/0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10405 "/instances/f5701efb-98170697-404d15f6-59baf69e-4e8ddfae/frames/0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10406 "/instances/3b2a215c-2560d4b0-e3730c07-87d3fa7d-3fef44ed/frames/0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10407 "/instances/6059d07c-02ae8c74-9436dc7c-007b4d5d-4c770a30/frames/0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10408 "/instances/99264275-213c3190-73251bdc-97ccfdb4-1f9656d9/frames/0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10409 "/instances/40df6ac1-5ec86316-035ff3c1-07e5c8a8-f6cbd37c/frames/0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10410 "/instances/08ff3a1a-c8fb57d9-4e24d9cb-2ed22b80-0ff7461e/frames/0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10411 "/instances/6fe353dd-544ce7af-58ce22dd-ab67370c-873330fc/frames/0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10412 "/instances/3ad70bbe-bc51faff-860461d2-44745ccf-0ebbbbc8/frames/0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10413 "/instances/9058e01a-31a7d982-1691e575-a8607d94-29a9aaca/frames/0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10414 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10415 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10416 "SlicesShort" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10417 [ "fa1fc64f-e7a051a7-c1233b31-e19bca08-54629531", 0, 1 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10418 [ "f5701efb-98170697-404d15f6-59baf69e-4e8ddfae", 0, 1 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10419 [ "3b2a215c-2560d4b0-e3730c07-87d3fa7d-3fef44ed", 0, 1 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10420 [ "6059d07c-02ae8c74-9436dc7c-007b4d5d-4c770a30", 0, 1 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10421 [ "99264275-213c3190-73251bdc-97ccfdb4-1f9656d9", 0, 1 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10422 [ "40df6ac1-5ec86316-035ff3c1-07e5c8a8-f6cbd37c", 0, 1 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10423 [ "08ff3a1a-c8fb57d9-4e24d9cb-2ed22b80-0ff7461e", 0, 1 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10424 [ "6fe353dd-544ce7af-58ce22dd-ab67370c-873330fc", 0, 1 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10425 [ "3ad70bbe-bc51faff-860461d2-44745ccf-0ebbbbc8", 0, 1 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10426 [ "9058e01a-31a7d982-1691e575-a8607d94-29a9aaca", 0, 1 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10427 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10428 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10429 "Type" : "Volume"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10430 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10431 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10432 "Dicom" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10433 "description" : "Ordered list of paths to DICOM instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10434 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10435 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10436 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10437 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10438 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10439 "Slices" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10440 "description" : "Ordered list of paths to frames. It is recommended to use this field, as it is also valid in the case of multiframe images.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10441 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10442 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10443 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10444 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10445 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10446 "SlicesShort" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10447 "description" : "Same information as the `Slices` field, but in a compact form",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10448 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10449 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10450 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10451 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10452 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10453 "Type" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10454 "description" : "Can be `Volume` (for 3D volumes) or `Sequence` (notably for cine images)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10455 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10456 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10457 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10458 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10459 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10460 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10461 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10462 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10463 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10464 "summary" : "Order the slices",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10465 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10466 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10467 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10468 "/series/{id}/patient" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10469 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10470 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10471 "description" : "Get detailed information about the parent patient of the DICOM series whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10472 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10473 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10474 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10475 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10476 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10477 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10478 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10479 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10480 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10481 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10482 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10483 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10484 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10485 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10486 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10487 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10488 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10489 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10490 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10491 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10492 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10493 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10494 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10495 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10496 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10497 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10498 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10499 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10500 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10501 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10502 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10503 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10504 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10505 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10506 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10507 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10508 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10509 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10510 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10511 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10512 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10513 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10514 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10515 "description" : "Information about the parent DICOM patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10516 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10517 "ID" : "2f74083e-9b042648-10edac14-b26950f8-f82ec3a0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10518 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10519 "LastUpdate" : "20180414T091601",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10520 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10521 "PatientBirthDate" : "19910101",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10522 "PatientID" : "Vafk,T,6",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10523 "PatientName" : "PHENIX",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10524 "PatientSex" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10525 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10526 "Studies" : [ "49974143-ec23cb52-6b2a1c46-14d5daa0-0822ce1a" ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10527 "Type" : "Patient"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10528 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10529 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10530 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10531 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10532 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10533 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10534 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10535 "summary" : "Get parent patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10536 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10537 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10538 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10539 "/series/{id}/reconstruct" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10540 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10541 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10542 "description" : "Reconstruct the main DICOM tags in DB of the series whose Orthanc identifier is provided in the URL. This is useful if child studies/series/instances have inconsistent values for higher-level tags, in order to force Orthanc to use the value from the resource of interest. Beware that this is a time-consuming operation, as all the children DICOM instances will be parsed again, and the Orthanc index will be updated accordingly.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10543 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10544 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10545 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10546 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10547 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10548 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10549 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10550 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10551 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10552 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10553 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10554 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10555 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10556 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10557 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10558 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10559 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10560 "ReconstructFiles" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10561 "description" : "Also reconstruct the files of the resources (e.g: apply IngestTranscoding, StorageCompression). 'false' by default. (New in Orthanc 1.11.0)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10562 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10563 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10564 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10565 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10566 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10567 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10568 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10569 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10570 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10571 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10572 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10573 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10574 "summary" : "Reconstruct tags & optionally files of series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10575 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10576 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10577 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10578 "/series/{id}/shared-tags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10579 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10580 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10581 "description" : "Extract the DICOM tags whose value is constant across all the child instances of the DICOM series whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10582 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10583 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10584 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10585 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10586 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10587 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10588 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10589 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10590 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10591 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10592 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10593 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10594 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10595 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10596 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10597 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10598 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10599 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10600 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10601 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10602 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10603 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10604 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10605 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10606 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10607 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10608 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10609 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10610 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10611 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10612 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10613 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10614 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10615 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10616 "description" : "JSON object containing the values of the DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10617 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10618 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10619 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10620 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10621 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10622 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10623 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10624 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10625 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10626 "Value" : "ORIGINAL\\PRIMARY\\LOCALIZER\\ES"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10627 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10628 "0008,0012" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10629 "Name" : "InstanceCreationDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10630 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10631 "Value" : "20050927"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10632 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10633 "0008,0013" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10634 "Name" : "InstanceCreationTime",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10635 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10636 "Value" : "155030.000000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10637 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10638 "0008,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10639 "Name" : "SOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10640 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10641 "Value" : "1.2.840.10008.5.1.4.1.1.2"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10642 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10643 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10644 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10645 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10646 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10647 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10648 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10649 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10650 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10651 "summary" : "Get shared tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10652 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10653 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10654 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10655 "/series/{id}/statistics" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10656 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10657 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10658 "description" : "Get statistics about the given series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10659 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10660 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10661 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10662 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10663 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10664 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10665 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10666 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10667 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10668 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10669 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10670 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10671 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10672 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10673 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10674 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10675 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10676 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10677 "CountInstances" : 1,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10678 "DicomDiskSize" : "368852",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10679 "DicomDiskSizeMB" : 0,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10680 "DicomUncompressedSize" : "368852",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10681 "DicomUncompressedSizeMB" : 0,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10682 "DiskSize" : "381000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10683 "DiskSizeMB" : 0,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10684 "UncompressedSize" : "381000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10685 "UncompressedSizeMB" : 0
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10686 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10687 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10688 "CountInstances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10689 "description" : "Number of child instances within this series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10690 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10691 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10692 "DicomDiskSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10693 "description" : "Size on the disk of the DICOM instances associated with the series, expressed in bytes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10694 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10695 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10696 "DicomDiskSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10697 "description" : "Size on the disk of the DICOM instances associated with the series, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10698 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10699 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10700 "DicomUncompressedSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10701 "description" : "Size on the disk of the uncompressed DICOM instances associated with the series, expressed in bytes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10702 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10703 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10704 "DicomUncompressedSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10705 "description" : "Size on the disk of the uncompressed DICOM instances associated with the series, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10706 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10707 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10708 "DiskSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10709 "description" : "Size of the series on the disk in bytes, expressed as a string for 64bit compatibility with JSON",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10710 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10711 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10712 "DiskSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10713 "description" : "Size of the series on the disk, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10714 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10715 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10716 "UncompressedSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10717 "description" : "Size of the series after decompression in bytes, expressed as a string for 64bit compatibility with JSON",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10718 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10719 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10720 "UncompressedSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10721 "description" : "Size of the series after decompression, expressed in megabytes (MB). This is different from `DiskSizeMB` iff `StorageCompression` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10722 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10723 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10724 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10725 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10726 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10727 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10728 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10729 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10730 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10731 "summary" : "Get series statistics",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10732 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10733 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10734 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10735 "/series/{id}/study" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10736 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10737 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10738 "description" : "Get detailed information about the parent study of the DICOM series whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10739 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10740 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10741 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10742 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10743 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10744 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10745 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10746 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10747 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10748 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10749 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10750 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10751 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10752 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10753 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10754 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10755 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10756 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10757 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10758 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10759 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10760 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10761 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10762 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10763 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10764 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10765 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10766 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10767 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10768 "description" : "Orthanc identifier of the series of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10769 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10770 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10771 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10772 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10773 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10774 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10775 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10776 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10777 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10778 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10779 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10780 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10781 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10782 "description" : "Information about the parent DICOM study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10783 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10784 "ID" : "49974143-ec23cb52-6b2a1c46-14d5daa0-0822ce1a",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10785 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10786 "LastUpdate" : "20180414T091601",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10787 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10788 "AccessionNumber" : "A10011234814",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10789 "InstitutionName" : "HUG",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10790 "ReferringPhysicianName" : "CHIR-PED^CHIR-PE",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10791 "RequestedProcedureDescription" : "CT2 TÊTE, FACE, SINUS",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10792 "RequestingPhysician" : "KOHLER^Romain",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10793 "StudyDate" : "20050927",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10794 "StudyDescription" : "CT2 tête, face, sinus",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10795 "StudyID" : "1361",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10796 "StudyInstanceUID" : "2.16.840.1.113669.632.20.1211.10000098591",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10797 "StudyTime" : "154952.000000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10798 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10799 "ParentPatient" : "2f74083e-9b042648-10edac14-b26950f8-f82ec3a0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10800 "PatientMainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10801 "PatientBirthDate" : "19910101",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10802 "PatientID" : "Vafk,T,6",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10803 "PatientName" : "PHENIX",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10804 "PatientSex" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10805 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10806 "Series" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10807 "37836232-d13a2350-fa1dedc5-962b31aa-010f8e52",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10808 "7696013f-4c89c563-2b071693-5d1f97f6-f8ab232d",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10809 "17cc7e52-4f1a3e4d-9182f727-56e9cc71-c037892f"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10810 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10811 "Type" : "Study"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10812 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10813 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10814 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10815 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10816 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10817 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10818 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10819 "summary" : "Get parent study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10820 "tags" : [ "Series" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10821 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10822 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10823 "/statistics" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10824 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10825 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10826 "description" : "Get statistics related to the database of Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10827 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10828 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10829 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10830 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10831 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10832 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10833 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10834 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10835 "CountInstances" : 2552,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10836 "CountPatients" : 8,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10837 "CountSeries" : 26,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10838 "CountStudies" : 8,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10839 "TotalDiskSize" : "1068132148",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10840 "TotalDiskSizeMB" : 1018,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10841 "TotalUncompressedSize" : "1068132148",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10842 "TotalUncompressedSizeMB" : 1018
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10843 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10844 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10845 "CountInstances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10846 "description" : "Number of DICOM instances stored in Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10847 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10848 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10849 "CountPatients" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10850 "description" : "Number of patients stored in Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10851 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10852 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10853 "CountSeries" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10854 "description" : "Number of DICOM series stored in Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10855 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10856 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10857 "CountStudies" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10858 "description" : "Number of DICOM studies stored in Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10859 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10860 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10861 "TotalDiskSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10862 "description" : "Size of the storage area (in bytes)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10863 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10864 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10865 "TotalDiskSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10866 "description" : "Size of the storage area (in megabytes)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10867 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10868 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10869 "TotalUncompressedSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10870 "description" : "Total size of all the files once uncompressed (in bytes). This corresponds to `TotalDiskSize` if no compression is enabled, cf. `StorageCompression` configuration option",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10871 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10872 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10873 "TotalUncompressedSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10874 "description" : "Total size of all the files once uncompressed (in megabytes)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10875 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10876 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10877 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10878 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10879 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10880 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10881 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10882 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10883 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10884 "summary" : "Get database statistics",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10885 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10886 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10887 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10888 "/storage-commitment/{id}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10889 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10890 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10891 "description" : "Get the storage commitment report whose identifier is provided in the URL: https://book.orthanc-server.com/users/storage-commitment.html#storage-commitment-scu",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10892 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10893 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10894 "description" : "Identifier of the storage commitment report",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10895 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10896 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10897 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10898 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10899 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10900 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10901 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10902 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10903 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10904 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10905 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10906 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10907 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10908 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10909 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10910 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10911 "Failures" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10912 "description" : "List of failures that have been encountered during the storage commitment request",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10913 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10914 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10915 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10916 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10917 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10918 "RemoteAET" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10919 "description" : "AET of the remote DICOM modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10920 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10921 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10922 "Status" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10923 "description" : "Can be `Success`, `Failure`, or `Pending` (the latter means that no report has been received yet)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10924 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10925 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10926 "Success" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10927 "description" : "List of DICOM instances that have been acknowledged by the remote modality, each one is reported as a JSON object containing the `SOPClassUID` and `SOPInstanceUID` DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10928 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10929 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10930 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10931 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10932 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10933 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10934 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10935 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10936 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10937 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10938 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10939 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10940 "summary" : "Get storage commitment report",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10941 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10942 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10943 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10944 "/storage-commitment/{id}/remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10945 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10946 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10947 "description" : "Remove out of Orthanc, the DICOM instances that have been reported to have been properly received the storage commitment report whose identifier is provided in the URL. This is only possible if the `Status` of the storage commitment report is `Success`. https://book.orthanc-server.com/users/storage-commitment.html#removing-the-instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10948 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10949 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10950 "description" : "Identifier of the storage commitment report",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10951 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10952 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10953 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10954 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10955 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10956 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10957 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10958 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10959 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10960 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10961 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10962 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10963 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10964 "summary" : "Remove after storage commitment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10965 "tags" : [ "Networking" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10966 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10967 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10968 "/studies" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10969 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10970 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10971 "description" : "List the Orthanc identifiers of all the available DICOM studies",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10972 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10973 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10974 "description" : "If present, retrieve detailed information about the individual studies",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10975 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10976 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10977 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10978 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10979 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10980 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10981 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10982 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10983 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10984 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10985 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10986 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10987 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10988 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10989 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10990 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10991 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10992 "description" : "Limit the number of results",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10993 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10994 "name" : "limit",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10995 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10996 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10997 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10998 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
10999 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11000 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11001 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11002 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11003 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11004 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11005 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11006 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11007 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11008 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11009 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11010 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11011 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11012 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11013 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11014 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11015 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11016 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11017 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11018 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11019 "description" : "Show only the resources since the provided index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11020 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11021 "name" : "since",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11022 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11023 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11024 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11025 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11026 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11027 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11028 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11029 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11030 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11031 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11032 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11033 "description" : "JSON array containing either the Orthanc identifiers, or detailed information about the reported studies (if `expand` argument is provided)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11034 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11035 "6c65289b-db2fcb71-7eaf73f4-8e12470c-a4d6d7cf",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11036 "6b9e19d9-62094390-5f9ddb01-4a191ae7-9766b715"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11037 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11038 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11039 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11040 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11041 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11042 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11043 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11044 "summary" : "List the available studies",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11045 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11046 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11047 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11048 "/studies/{id}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11049 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11050 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11051 "description" : "Delete the DICOM study whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11052 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11053 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11054 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11055 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11056 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11057 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11058 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11059 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11060 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11061 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11062 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11063 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11064 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11065 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11066 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11067 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11068 "summary" : "Delete some study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11069 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11070 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11071 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11072 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11073 "description" : "Get detailed information about the DICOM study whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11074 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11075 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11076 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11077 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11078 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11079 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11080 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11081 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11082 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11083 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11084 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11085 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11086 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11087 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11088 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11089 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11090 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11091 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11092 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11093 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11094 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11095 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11096 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11097 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11098 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11099 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11100 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11101 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11102 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11103 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11104 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11105 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11106 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11107 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11108 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11109 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11110 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11111 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11112 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11113 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11114 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11115 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11116 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11117 "description" : "Information about the DICOM study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11118 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11119 "ID" : "27f7126f-4f66fb14-03f4081b-f9341db2-53925988",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11120 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11121 "LastUpdate" : "20180414T091532",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11122 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11123 "AccessionNumber" : "0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11124 "InstitutionName" : "7GEFF0GbzqCNo43Yd0,Ibu,zQSSX",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11125 "ReferringPhysicianName" : "dAEvNTxZJO0E",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11126 "RequestedProcedureDescription" : "IRM cérébrale, neuro-crâne",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11127 "StudyDate" : "20061201",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11128 "StudyDescription" : "IRM cérébrale, neuro-crâne",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11129 "StudyID" : "218211405",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11130 "StudyInstanceUID" : "2.16.840.1.113669.632.20.1211.10000357775",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11131 "StudyTime" : "141645.000000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11132 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11133 "ParentPatient" : "16738bc3-e47ed42a-43ce044c-a3414a45-cb069bd0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11134 "PatientMainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11135 "PatientBirthDate" : "19490301",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11136 "PatientID" : "5Yp0E",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11137 "PatientName" : "BRAINIX",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11138 "PatientSex" : "0000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11139 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11140 "Series" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11141 "635faa23-fd8378ee-d03bce29-ee47c2fb-a65c5509",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11142 "dc0216d2-a406a5ad-31ef7a78-113ae9d9-29939f9e",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11143 "1e2c125c-411b8e86-3f4fe68e-a7584dd3-c6da78f0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11144 "4baa97c7-d53d3d82-a5eb9403-17ef5a77-4e0efb55",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11145 "2ac1316d-3e432022-62eabff2-c59f5475-9b1ac3f8",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11146 "ae164c84-e5bd0366-ba937a6d-65414092-f294d6b6",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11147 "3ca69615-fcd4a4fb-e5f2cc9d-9c7a49a5-add98bbf"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11148 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11149 "Type" : "Study"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11150 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11151 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11152 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11153 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11154 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11155 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11156 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11157 "summary" : "Get information about some study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11158 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11159 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11160 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11161 "/studies/{id}/anonymize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11162 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11163 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11164 "description" : "Start a job that will anonymize all the DICOM instances within the study whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new study, whose Orthanc identifiers will be returned by the job. https://book.orthanc-server.com/users/anonymization.html#anonymization-of-patients-studies-or-series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11165 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11166 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11167 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11168 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11169 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11170 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11171 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11172 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11173 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11174 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11175 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11176 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11177 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11178 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11179 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11180 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11181 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11182 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11183 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11184 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11185 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11186 "DicomVersion" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11187 "description" : "Version of the DICOM standard to be used for anonymization. Check out configuration option `DeidentifyLogsDicomVersion` for possible values.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11188 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11189 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11190 "Force" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11191 "description" : "Allow the modification of tags related to DICOM identifiers, at the risk of breaking the DICOM model of the real world",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11192 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11193 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11194 "Keep" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11195 "description" : "List of DICOM tags whose value must not be destroyed by the anonymization. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11196 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11197 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11198 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11199 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11200 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11201 "KeepPrivateTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11202 "description" : "Keep the private tags from the DICOM instances (defaults to `false`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11203 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11204 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11205 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11206 "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11207 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11208 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11209 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11210 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11211 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11212 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11213 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11214 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11215 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11216 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11217 "PrivateCreator" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11218 "description" : "The private creator to be used for private tags in `Replace`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11219 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11220 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11221 "Remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11222 "description" : "List of additional tags to be removed from the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11223 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11224 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11225 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11226 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11227 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11228 "Replace" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11229 "description" : "Associative array to change the value of some DICOM tags in the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11230 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11231 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11232 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11233 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11234 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11235 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11236 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11237 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11238 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11239 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11240 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11241 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11242 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11243 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11244 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11245 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11246 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11247 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11248 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11249 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11250 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11251 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11252 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11253 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11254 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11255 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11256 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11257 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11258 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11259 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11260 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11261 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11262 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11263 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11264 "summary" : "Anonymize study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11265 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11266 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11267 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11268 "/studies/{id}/archive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11269 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11270 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11271 "description" : "Synchronously create a ZIP archive containing the DICOM study whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might *not* be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using `POST` method.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11272 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11273 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11274 "description" : "Filename to set in the \"Content-Disposition\" HTTP header (including file extension)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11275 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11276 "name" : "filename",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11277 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11278 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11279 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11280 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11281 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11282 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11283 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11284 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11285 "name" : "transcode",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11286 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11287 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11288 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11289 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11290 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11291 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11292 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11293 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11294 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11295 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11296 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11297 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11298 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11299 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11300 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11301 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11302 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11303 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11304 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11305 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11306 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11307 "description" : "ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11308 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11309 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11310 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11311 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11312 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11313 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11314 "summary" : "Create ZIP archive",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11315 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11316 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11317 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11318 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11319 "description" : "Create a ZIP archive containing the DICOM study whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11320 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11321 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11322 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11323 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11324 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11325 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11326 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11327 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11328 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11329 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11330 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11331 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11332 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11333 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11334 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11335 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11336 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11337 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11338 "description" : "If `true`, create the archive in asynchronous mode, which means that a job is submitted to create the archive in background.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11339 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11340 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11341 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11342 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11343 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11344 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11345 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11346 "description" : "If `true`, create the archive in synchronous mode, which means that the HTTP answer will directly contain the ZIP file. This is the default, easy behavior. However, if global configuration option \"SynchronousZipStream\" is set to \"false\", asynchronous transfers should be preferred for large amount of data, as the creation of the temporary file might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11347 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11348 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11349 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11350 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11351 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11352 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11353 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11354 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11355 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11356 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11357 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11358 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11359 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11360 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11361 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11362 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11363 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11364 "description" : "In asynchronous mode, information about the job that has been submitted to generate the archive: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11365 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11366 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11367 "description" : "Identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11368 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11369 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11370 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11371 "description" : "Path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11372 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11373 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11374 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11375 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11376 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11377 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11378 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11379 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11380 "description" : "In synchronous mode, the ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11381 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11382 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11383 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11384 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11385 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11386 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11387 "summary" : "Create ZIP archive",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11388 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11389 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11390 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11391 "/studies/{id}/attachments" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11392 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11393 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11394 "description" : "Get the list of attachments that are associated with the given study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11395 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11396 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11397 "description" : "If present, retrieve the attachments list and their numerical ids",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11398 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11399 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11400 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11401 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11402 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11403 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11404 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11405 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11406 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11407 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11408 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11409 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11410 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11411 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11412 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11413 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11414 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11415 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11416 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11417 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11418 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11419 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11420 "description" : "JSON array containing the names of the attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11421 "example" : []
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11422 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11423 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11424 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11425 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11426 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11427 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11428 "summary" : "List attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11429 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11430 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11431 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11432 "/studies/{id}/attachments/{name}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11433 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11434 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11435 "description" : "Delete an attachment associated with the given DICOM study. This call will fail if trying to delete a system attachment (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11436 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11437 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11438 "description" : "Revision of the attachment, to check if its content has not changed and can be deleted. This header is mandatory if `CheckRevisions` option is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11439 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11440 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11441 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11442 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11443 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11444 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11445 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11446 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11447 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11448 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11449 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11450 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11451 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11452 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11453 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11454 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11455 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11456 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11457 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11458 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11459 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11460 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11461 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11462 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11463 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11464 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11465 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11466 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11467 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11468 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11469 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11470 "summary" : "Delete attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11471 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11472 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11473 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11474 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11475 "description" : "Get the list of the operations that are available for attachments associated with the given study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11476 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11477 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11478 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11479 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11480 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11481 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11482 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11483 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11484 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11485 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11486 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11487 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11488 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11489 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11490 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11491 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11492 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11493 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11494 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11495 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11496 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11497 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11498 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11499 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11500 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11501 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11502 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11503 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11504 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11505 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11506 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11507 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11508 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11509 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11510 "description" : "List of the available operations",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11511 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11512 "compress",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11513 "compressed-data",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11514 "compressed-md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11515 "compressed-size",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11516 "data",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11517 "info",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11518 "is-compressed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11519 "md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11520 "size",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11521 "uncompress",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11522 "verify-md5",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11523 "uuid"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11524 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11525 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11526 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11527 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11528 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11529 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11530 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11531 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11532 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11533 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11534 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11535 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11536 "summary" : "List operations on attachments",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11537 "tags" : [ "Other" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11538 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11539 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11540 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11541 "description" : "Attach a file to the given DICOM study. This call will fail if trying to modify a system attachment (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11542 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11543 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11544 "description" : "Revision of the attachment, if this is not the first time this attachment is set.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11545 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11546 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11547 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11548 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11549 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11550 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11551 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11552 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11553 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11554 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11555 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11556 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11557 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11558 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11559 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11560 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11561 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11562 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11563 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11564 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11565 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11566 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11567 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11568 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11569 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11570 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11571 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11572 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11573 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11574 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11575 "description" : "Binary data containing the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11576 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11577 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11578 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11579 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11580 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11581 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11582 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11583 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11584 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11585 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11586 "description" : "Empty JSON object in the case of a success"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11587 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11588 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11589 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11590 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11591 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11592 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11593 "summary" : "Set attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11594 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11595 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11596 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11597 "/studies/{id}/attachments/{name}/compress" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11598 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11599 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11600 "description" : "Change the compression scheme that is used to store an attachment.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11601 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11602 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11603 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11604 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11605 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11606 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11607 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11608 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11609 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11610 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11611 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11612 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11613 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11614 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11615 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11616 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11617 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11618 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11619 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11620 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11621 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11622 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11623 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11624 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11625 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11626 "summary" : "Compress attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11627 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11628 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11629 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11630 "/studies/{id}/attachments/{name}/compressed-data" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11631 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11632 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11633 "description" : "Get the (binary) content of one attachment associated with the given study. The attachment will not be decompressed if `StorageCompression` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11634 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11635 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11636 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11637 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11638 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11639 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11640 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11641 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11642 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11643 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11644 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11645 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11646 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11647 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11648 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11649 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11650 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11651 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11652 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11653 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11654 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11655 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11656 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11657 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11658 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11659 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11660 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11661 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11662 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11663 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11664 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11665 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11666 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11667 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11668 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11669 "description" : "The attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11670 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11671 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11672 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11673 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11674 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11675 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11676 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11677 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11678 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11679 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11680 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11681 "summary" : "Get attachment (no decompression)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11682 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11683 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11684 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11685 "/studies/{id}/attachments/{name}/compressed-md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11686 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11687 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11688 "description" : "Get the MD5 hash of one attachment associated with the given study, as stored on the disk. This is different from `.../md5` iff `EnableStorage` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11689 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11690 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11691 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11692 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11693 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11694 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11695 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11696 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11697 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11698 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11699 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11700 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11701 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11702 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11703 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11704 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11705 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11706 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11707 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11708 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11709 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11710 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11711 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11712 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11713 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11714 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11715 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11716 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11717 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11718 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11719 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11720 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11721 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11722 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11723 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11724 "description" : "The MD5 of the attachment, as stored on the disk"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11725 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11726 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11727 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11728 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11729 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11730 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11731 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11732 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11733 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11734 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11735 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11736 "summary" : "Get MD5 of attachment on disk",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11737 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11738 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11739 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11740 "/studies/{id}/attachments/{name}/compressed-size" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11741 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11742 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11743 "description" : "Get the size of one attachment associated with the given study, as stored on the disk. This is different from `.../size` iff `EnableStorage` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11744 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11745 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11746 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11747 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11748 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11749 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11750 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11751 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11752 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11753 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11754 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11755 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11756 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11757 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11758 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11759 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11760 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11761 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11762 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11763 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11764 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11765 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11766 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11767 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11768 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11769 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11770 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11771 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11772 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11773 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11774 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11775 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11776 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11777 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11778 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11779 "description" : "The size of the attachment, as stored on the disk"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11780 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11781 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11782 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11783 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11784 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11785 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11786 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11787 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11788 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11789 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11790 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11791 "summary" : "Get size of attachment on disk",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11792 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11793 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11794 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11795 "/studies/{id}/attachments/{name}/data" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11796 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11797 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11798 "description" : "Get the (binary) content of one attachment associated with the given study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11799 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11800 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11801 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11802 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11803 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11804 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11805 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11806 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11807 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11808 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11809 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11810 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11811 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11812 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11813 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11814 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11815 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11816 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11817 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11818 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11819 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11820 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11821 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11822 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11823 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11824 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11825 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11826 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11827 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11828 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11829 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11830 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11831 "application/octet-stream" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11832 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11833 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11834 "description" : "The attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11835 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11836 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11837 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11838 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11839 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11840 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11841 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11842 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11843 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11844 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11845 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11846 "summary" : "Get attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11847 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11848 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11849 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11850 "/studies/{id}/attachments/{name}/info" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11851 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11852 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11853 "description" : "Get all the information about the attachment associated with the given study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11854 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11855 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11856 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11857 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11858 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11859 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11860 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11861 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11862 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11863 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11864 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11865 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11866 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11867 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11868 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11869 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11870 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11871 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11872 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11873 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11874 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11875 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11876 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11877 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11878 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11879 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11880 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11881 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11882 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11883 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11884 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11885 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11886 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11887 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11888 "description" : "JSON object containing the information about the attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11889 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11890 "CompressedMD5" : "26f3fad6ca0c355f02d57c7fa6770248",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11891 "CompressedSize" : 526970,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11892 "ContentType" : 1,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11893 "UncompressedMD5" : "26f3fad6ca0c355f02d57c7fa6770248",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11894 "UncompressedSize" : 526970,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11895 "Uuid" : "b7c99eb7-229f-464e-8f46-6878c8e79e5c"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11896 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11897 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11898 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11899 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11900 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11901 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11902 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11903 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11904 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11905 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11906 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11907 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11908 "summary" : "Get info about the attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11909 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11910 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11911 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11912 "/studies/{id}/attachments/{name}/is-compressed" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11913 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11914 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11915 "description" : "Test whether the attachment has been stored as a compressed file on the disk.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11916 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11917 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11918 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11919 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11920 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11921 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11922 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11923 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11924 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11925 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11926 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11927 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11928 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11929 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11930 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11931 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11932 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11933 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11934 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11935 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11936 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11937 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11938 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11939 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11940 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11941 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11942 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11943 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11944 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11945 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11946 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11947 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11948 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11949 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11950 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11951 "description" : "`0` if the attachment was stored uncompressed, `1` if it was compressed"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11952 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11953 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11954 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11955 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11956 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11957 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11958 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11959 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11960 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11961 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11962 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11963 "summary" : "Is attachment compressed?",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11964 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11965 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11966 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11967 "/studies/{id}/attachments/{name}/md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11968 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11969 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11970 "description" : "Get the MD5 hash of one attachment associated with the given study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11971 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11972 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11973 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11974 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11975 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11976 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11977 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11978 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11979 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11980 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11981 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11982 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11983 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11984 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11985 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11986 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11987 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11988 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11989 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11990 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11991 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11992 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11993 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11994 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11995 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11996 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11997 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11998 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
11999 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12000 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12001 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12002 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12003 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12004 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12005 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12006 "description" : "The MD5 of the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12007 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12008 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12009 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12010 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12011 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12012 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12013 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12014 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12015 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12016 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12017 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12018 "summary" : "Get MD5 of attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12019 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12020 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12021 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12022 "/studies/{id}/attachments/{name}/size" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12023 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12024 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12025 "description" : "Get the size of one attachment associated with the given study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12026 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12027 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12028 "description" : "Optional revision of the attachment, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12029 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12030 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12031 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12032 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12033 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12034 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12035 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12036 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12037 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12038 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12039 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12040 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12041 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12042 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12043 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12044 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12045 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12046 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12047 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12048 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12049 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12050 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12051 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12052 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12053 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12054 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12055 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12056 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12057 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12058 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12059 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12060 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12061 "description" : "The size of the attachment"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12062 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12063 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12064 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12065 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12066 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12067 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12068 "description" : "Revision of the attachment, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12069 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12070 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12071 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12072 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12073 "summary" : "Get size of attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12074 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12075 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12076 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12077 "/studies/{id}/attachments/{name}/uncompress" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12078 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12079 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12080 "description" : "Change the compression scheme that is used to store an attachment.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12081 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12082 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12083 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12084 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12085 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12086 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12087 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12088 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12089 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12090 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12091 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12092 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12093 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12094 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12095 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12096 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12097 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12098 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12099 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12100 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12101 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12102 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12103 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12104 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12105 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12106 "summary" : "Uncompress attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12107 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12108 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12109 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12110 "/studies/{id}/attachments/{name}/verify-md5" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12111 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12112 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12113 "description" : "Verify that the attachment is not corrupted, by validating its MD5 hash",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12114 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12115 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12116 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12117 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12118 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12119 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12120 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12121 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12122 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12123 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12124 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12125 "description" : "The name of the attachment, or its index (cf. `UserContentType` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12126 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12127 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12128 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12129 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12130 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12131 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12132 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12133 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12134 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12135 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12136 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12137 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12138 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12139 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12140 "description" : "On success, a valid JSON object is returned"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12141 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12142 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12143 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12144 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12145 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12146 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12147 "summary" : "Verify attachment",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12148 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12149 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12150 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12151 "/studies/{id}/instances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12152 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12153 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12154 "description" : "Get detailed information about the child instances of the DICOM study whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12155 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12156 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12157 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12158 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12159 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12160 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12161 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12162 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12163 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12164 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12165 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12166 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12167 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12168 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12169 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12170 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12171 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12172 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12173 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12174 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12175 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12176 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12177 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12178 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12179 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12180 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12181 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12182 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12183 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12184 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12185 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12186 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12187 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12188 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12189 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12190 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12191 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12192 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12193 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12194 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12195 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12196 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12197 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12198 "description" : "JSON array containing information about the child DICOM instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12199 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12200 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12201 "FileSize" : 527858,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12202 "FileUuid" : "42607af0-e2ca-402a-9cb4-8819a0485dbd",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12203 "ID" : "82cc1a6b-7b05d34e-cd74474b-594f0d43-94f609d8",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12204 "IndexInSeries" : 3,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12205 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12206 "AcquisitionNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12207 "ImagePositionPatient" : "-118.20798927708\\-118.00763136239\\71.7517339810729",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12208 "InstanceCreationDate" : "20061201",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12209 "InstanceCreationTime" : "145313.000000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12210 "InstanceNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12211 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12212 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12213 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12214 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12215 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12216 "FileSize" : 527858,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12217 "FileUuid" : "f986a0de-cf3b-4acc-a2ca-ce6a5844ec63",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12218 "ID" : "2fbd6d5f-802f6561-b9d8da32-c54ead16-18a208bd",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12219 "IndexInSeries" : 13,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12220 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12221 "AcquisitionNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12222 "ImagePositionPatient" : "-116.77244740887\\-113.68593889565\\11.9247972592711",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12223 "InstanceCreationDate" : "20061201",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12224 "InstanceCreationTime" : "145313.000000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12225 "InstanceNumber" : "13",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12226 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12227 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12228 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12229 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12230 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12231 "FileSize" : 527858,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12232 "FileUuid" : "64cc6dae-228d-4e60-82ea-34c540a09cfb",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12233 "ID" : "4dbca7c1-f6e1a582-b3196370-0151cac8-19caac8e",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12234 "IndexInSeries" : 17,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12235 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12236 "AcquisitionNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12237 "ImagePositionPatient" : "-116.19823080464\\-111.95726186127\\-12.005976177752",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12238 "InstanceCreationDate" : "20061201",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12239 "InstanceCreationTime" : "145313.000000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12240 "InstanceNumber" : "17",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12241 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12242 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12243 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12244 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12245 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12246 "FileSize" : 527858,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12247 "FileUuid" : "06823b17-6217-4534-b318-4de5c9157c74",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12248 "ID" : "98c6f0c7-e6f9812b-d0a9df8a-97eeaa41-fa891d8e",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12249 "IndexInSeries" : 6,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12250 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12251 "AcquisitionNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12252 "ImagePositionPatient" : "-117.77732664509\\-116.71112352700\\53.8036520108580",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12253 "InstanceCreationDate" : "20061201",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12254 "InstanceCreationTime" : "145313.000000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12255 "InstanceNumber" : "6",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12256 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12257 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12258 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12259 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12260 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12261 "FileSize" : 527858,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12262 "FileUuid" : "7012f4ad-e1f7-49a8-95e0-5050227b4090",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12263 "ID" : "c25f4e48-8f7d737e-3dbeafb5-f1563a30-eddf816c",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12264 "IndexInSeries" : 20,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12265 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12266 "AcquisitionNumber" : "3",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12267 "ImagePositionPatient" : "-115.76756829186\\-110.66075450272\\-29.954057492315",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12268 "InstanceCreationDate" : "20061201",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12269 "InstanceCreationTime" : "145313.000000",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12270 "InstanceNumber" : "20",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12271 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12272 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12273 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12274 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12275 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12276 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12277 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12278 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12279 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12280 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12281 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12282 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12283 "summary" : "Get child instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12284 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12285 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12286 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12287 "/studies/{id}/instances-tags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12288 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12289 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12290 "description" : "Get the tags of all the child instances of the DICOM study whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12291 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12292 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12293 "description" : "Also include the DICOM tags that are provided in this list, even if their associated value is long",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12294 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12295 "name" : "ignore-length",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12296 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12297 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12298 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12299 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12300 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12301 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12302 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12303 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12304 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12305 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12306 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12307 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12308 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12309 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12310 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12311 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12312 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12313 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12314 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12315 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12316 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12317 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12318 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12319 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12320 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12321 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12322 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12323 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12324 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12325 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12326 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12327 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12328 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12329 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12330 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12331 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12332 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12333 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12334 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12335 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12336 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12337 "description" : "JSON object associating the Orthanc identifiers of the instances, with the values of their DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12338 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12339 "00330d0f-911e5e8d-1e305bae-e5c53b73-d2a49298" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12340 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12341 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12342 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12343 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12344 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12345 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12346 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12347 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12348 "Value" : "ORIGINAL\\PRIMARY\\M_SE\\M\\SE"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12349 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12350 "0008,0012" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12351 "Name" : "InstanceCreationDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12352 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12353 "Value" : "20061201"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12354 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12355 "0008,0013" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12356 "Name" : "InstanceCreationTime",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12357 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12358 "Value" : "145331.000000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12359 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12360 "0008,0014" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12361 "Name" : "InstanceCreatorUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12362 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12363 "Value" : "1.3.46.670589.11.8743.5"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12364 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12365 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12366 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12367 "00402ce7-ac05c687-4d0839bc-cecd4fad-3d1b7eed" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12368 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12369 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12370 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12371 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12372 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12373 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12374 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12375 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12376 "Value" : "ORIGINAL\\PRIMARY\\M_FFE\\M\\FFE"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12377 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12378 "0008,0012" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12379 "Name" : "InstanceCreationDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12380 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12381 "Value" : "20061201"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12382 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12383 "0008,0013" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12384 "Name" : "InstanceCreationTime",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12385 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12386 "Value" : "145326.000000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12387 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12388 "0008,0014" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12389 "Name" : "InstanceCreatorUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12390 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12391 "Value" : "1.3.46.670589.11.8743.5"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12392 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12393 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12394 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12395 "00ffd506-6460663a-cda9bddc-a0090c47-145ba829" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12396 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12397 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12398 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12399 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12400 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12401 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12402 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12403 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12404 "Value" : "ORIGINAL\\PRIMARY\\M_FFE\\M\\FFE"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12405 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12406 "0008,0012" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12407 "Name" : "InstanceCreationDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12408 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12409 "Value" : "20061201"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12410 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12411 "0008,0013" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12412 "Name" : "InstanceCreationTime",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12413 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12414 "Value" : "145346.000000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12415 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12416 "0008,0014" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12417 "Name" : "InstanceCreatorUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12418 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12419 "Value" : "1.3.46.670589.11.8743.5"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12420 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12421 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12422 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12423 "01a6ffdc-335f82a7-c79360c2-2e6bbc35-d24ca33d" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12424 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12425 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12426 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12427 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12428 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12429 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12430 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12431 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12432 "Value" : "ORIGINAL\\PRIMARY\\M_SE\\M\\SE"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12433 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12434 "0008,0012" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12435 "Name" : "InstanceCreationDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12436 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12437 "Value" : "20061201"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12438 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12439 "0008,0013" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12440 "Name" : "InstanceCreationTime",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12441 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12442 "Value" : "145313.000000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12443 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12444 "0008,0014" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12445 "Name" : "InstanceCreatorUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12446 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12447 "Value" : "1.3.46.670589.11.8743.5"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12448 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12449 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12450 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12451 "0577c66f-25d7cc30-bb763c60-53bb7ba0-72c8b018" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12452 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12453 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12454 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12455 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12456 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12457 "0008,0008" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12458 "Name" : "ImageType",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12459 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12460 "Value" : "ORIGINAL\\PRIMARY\\M_FFE\\M\\FFE"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12461 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12462 "0008,0012" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12463 "Name" : "InstanceCreationDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12464 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12465 "Value" : "20061201"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12466 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12467 "0008,0013" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12468 "Name" : "InstanceCreationTime",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12469 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12470 "Value" : "145346.000000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12471 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12472 "0008,0014" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12473 "Name" : "InstanceCreatorUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12474 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12475 "Value" : "1.3.46.670589.11.8743.5"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12476 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12477 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12478 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12479 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12480 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12481 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12482 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12483 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12484 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12485 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12486 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12487 "summary" : "Get tags of instances",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12488 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12489 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12490 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12491 "/studies/{id}/media" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12492 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12493 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12494 "description" : "Synchronously create a DICOMDIR media containing the DICOM study whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might *not* be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using `POST` method.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12495 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12496 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12497 "description" : "If present, will include additional tags such as `SeriesDescription`, leading to a so-called *extended DICOMDIR*",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12498 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12499 "name" : "extended",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12500 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12501 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12502 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12503 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12504 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12505 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12506 "description" : "Filename to set in the \"Content-Disposition\" HTTP header (including file extension)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12507 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12508 "name" : "filename",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12509 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12510 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12511 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12512 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12513 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12514 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12515 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12516 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12517 "name" : "transcode",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12518 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12519 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12520 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12521 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12522 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12523 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12524 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12525 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12526 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12527 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12528 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12529 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12530 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12531 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12532 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12533 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12534 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12535 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12536 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12537 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12538 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12539 "description" : "ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12540 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12541 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12542 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12543 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12544 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12545 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12546 "summary" : "Create DICOMDIR media",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12547 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12548 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12549 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12550 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12551 "description" : "Create a DICOMDIR media containing the DICOM study whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12552 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12553 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12554 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12555 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12556 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12557 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12558 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12559 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12560 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12561 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12562 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12563 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12564 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12565 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12566 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12567 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12568 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12569 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12570 "description" : "If `true`, create the archive in asynchronous mode, which means that a job is submitted to create the archive in background.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12571 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12572 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12573 "Extended" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12574 "description" : "If `true`, will include additional tags such as `SeriesDescription`, leading to a so-called *extended DICOMDIR*. Default value is `false`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12575 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12576 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12577 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12578 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12579 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12580 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12581 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12582 "description" : "If `true`, create the archive in synchronous mode, which means that the HTTP answer will directly contain the ZIP file. This is the default, easy behavior. However, if global configuration option \"SynchronousZipStream\" is set to \"false\", asynchronous transfers should be preferred for large amount of data, as the creation of the temporary file might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12583 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12584 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12585 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12586 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12587 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12588 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12589 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12590 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12591 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12592 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12593 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12594 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12595 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12596 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12597 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12598 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12599 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12600 "description" : "In asynchronous mode, information about the job that has been submitted to generate the archive: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12601 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12602 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12603 "description" : "Identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12604 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12605 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12606 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12607 "description" : "Path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12608 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12609 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12610 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12611 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12612 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12613 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12614 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12615 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12616 "description" : "In synchronous mode, the ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12617 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12618 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12619 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12620 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12621 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12622 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12623 "summary" : "Create DICOMDIR media",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12624 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12625 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12626 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12627 "/studies/{id}/merge" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12628 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12629 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12630 "description" : "Start a new job so as to move some DICOM resources into the DICOM study whose Orthanc identifier is provided in the URL: https://book.orthanc-server.com/users/anonymization.html#merging",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12631 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12632 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12633 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12634 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12635 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12636 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12637 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12638 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12639 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12640 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12641 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12642 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12643 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12644 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12645 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12646 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12647 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12648 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12649 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12650 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12651 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12652 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12653 "description" : "If set to `true`, instructs Orthanc to keep a copy of the original resources in their source study. By default, the original resources are deleted from Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12654 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12655 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12656 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12657 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12658 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12659 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12660 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12661 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12662 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12663 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12664 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12665 "description" : "The list of DICOM resources (studies, series, and/or instances) to be merged into the study of interest (mandatory option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12666 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12667 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12668 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12669 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12670 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12671 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12672 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12673 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12674 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12675 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12676 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12677 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12678 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12679 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12680 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12681 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12682 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12683 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12684 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12685 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12686 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12687 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12688 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12689 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12690 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12691 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12692 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12693 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12694 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12695 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12696 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12697 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12698 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12699 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12700 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12701 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12702 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12703 "summary" : "Merge study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12704 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12705 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12706 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12707 "/studies/{id}/metadata" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12708 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12709 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12710 "description" : "Get the list of metadata that are associated with the given study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12711 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12712 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12713 "description" : "If present, also retrieve the value of the individual metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12714 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12715 "name" : "expand",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12716 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12717 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12718 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12719 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12720 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12721 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12722 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12723 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12724 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12725 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12726 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12727 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12728 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12729 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12730 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12731 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12732 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12733 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12734 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12735 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12736 "description" : "JSON array containing the names of the available metadata, or JSON associative array mapping metadata to their values (if `expand` argument is provided)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12737 "example" : [ "LastUpdate" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12738 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12739 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12740 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12741 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12742 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12743 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12744 "summary" : "List metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12745 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12746 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12747 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12748 "/studies/{id}/metadata/{name}" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12749 "delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12750 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12751 "description" : "Delete some metadata associated with the given DICOM study. This call will fail if trying to delete a system metadata (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12752 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12753 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12754 "description" : "Revision of the metadata, to check if its content has not changed and can be deleted. This header is mandatory if `CheckRevisions` option is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12755 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12756 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12757 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12758 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12759 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12760 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12761 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12762 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12763 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12764 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12765 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12766 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12767 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12768 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12769 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12770 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12771 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12772 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12773 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12774 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12775 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12776 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12777 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12778 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12779 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12780 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12781 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12782 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12783 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12784 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12785 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12786 "summary" : "Delete metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12787 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12788 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12789 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12790 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12791 "description" : "Get the value of a metadata that is associated with the given study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12792 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12793 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12794 "description" : "Optional revision of the metadata, to check if its content has changed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12795 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12796 "name" : "If-None-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12797 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12798 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12799 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12800 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12801 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12802 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12803 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12804 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12805 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12806 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12807 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12808 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12809 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12810 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12811 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12812 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12813 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12814 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12815 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12816 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12817 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12818 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12819 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12820 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12821 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12822 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12823 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12824 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12825 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12826 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12827 "description" : "Value of the metadata"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12828 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12829 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12830 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12831 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12832 "headers" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12833 "ETag" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12834 "description" : "Revision of the metadata, to be used in further `PUT` or `DELETE` operations"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12835 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12836 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12837 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12838 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12839 "summary" : "Get metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12840 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12841 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12842 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12843 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12844 "description" : "Set the value of some metadata in the given DICOM study. This call will fail if trying to modify a system metadata (i.e. whose index is < 1024).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12845 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12846 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12847 "description" : "Revision of the metadata, if this is not the first time this metadata is set.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12848 "in" : "header",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12849 "name" : "If-Match",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12850 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12851 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12852 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12853 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12854 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12855 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12856 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12857 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12858 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12859 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12860 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12861 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12862 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12863 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12864 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12865 "description" : "The name of the metadata, or its index (cf. `UserMetadata` configuration option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12866 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12867 "name" : "name",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12868 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12869 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12870 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12871 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12872 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12873 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12874 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12875 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12876 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12877 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12878 "description" : "String value of the metadata"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12879 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12880 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12881 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12882 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12883 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12884 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12885 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12886 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12887 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12888 "summary" : "Set metadata",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12889 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12890 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12891 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12892 "/studies/{id}/modify" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12893 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12894 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12895 "description" : "Start a job that will modify all the DICOM instances within the study whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new study, whose Orthanc identifiers will be returned by the job. https://book.orthanc-server.com/users/anonymization.html#modification-of-studies-or-series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12896 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12897 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12898 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12899 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12900 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12901 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12902 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12903 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12904 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12905 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12906 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12907 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12908 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12909 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12910 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12911 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12912 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12913 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12914 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12915 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12916 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12917 "Force" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12918 "description" : "Allow the modification of tags related to DICOM identifiers, at the risk of breaking the DICOM model of the real world",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12919 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12920 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12921 "Keep" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12922 "description" : "Keep the original value of the specified tags, to be chosen among the `StudyInstanceUID`, `SeriesInstanceUID` and `SOPInstanceUID` tags. Avoid this feature as much as possible, as this breaks the DICOM model of the real world.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12923 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12924 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12925 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12926 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12927 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12928 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12929 "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12930 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12931 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12932 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12933 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12934 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12935 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12936 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12937 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12938 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12939 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12940 "PrivateCreator" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12941 "description" : "The private creator to be used for private tags in `Replace`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12942 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12943 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12944 "Remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12945 "description" : "List of tags that must be removed from the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12946 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12947 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12948 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12949 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12950 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12951 "RemovePrivateTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12952 "description" : "Remove the private tags from the DICOM instances (defaults to `false`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12953 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12954 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12955 "Replace" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12956 "description" : "Associative array to change the value of some DICOM tags in the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12957 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12958 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12959 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12960 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12961 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12962 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12963 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12964 "description" : "Transcode the DICOM instances to the provided DICOM transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12965 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12966 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12967 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12968 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12969 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12970 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12971 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12972 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12973 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12974 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12975 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12976 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12977 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12978 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12979 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12980 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12981 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12982 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12983 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12984 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12985 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12986 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12987 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12988 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12989 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12990 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12991 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12992 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12993 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12994 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12995 "summary" : "Modify study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12996 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12997 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12998 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
12999 "/studies/{id}/module" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13000 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13001 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13002 "description" : "Get the study module of the DICOM study whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13003 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13004 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13005 "description" : "Also include the DICOM tags that are provided in this list, even if their associated value is long",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13006 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13007 "name" : "ignore-length",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13008 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13009 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13010 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13011 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13012 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13013 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13014 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13015 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13016 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13017 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13018 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13019 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13020 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13021 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13022 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13023 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13024 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13025 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13026 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13027 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13028 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13029 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13030 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13031 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13032 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13033 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13034 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13035 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13036 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13037 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13038 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13039 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13040 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13041 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13042 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13043 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13044 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13045 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13046 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13047 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13048 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13049 "description" : "Information about the DICOM study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13050 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13051 "0008,0020" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13052 "Name" : "StudyDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13053 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13054 "Value" : "20061201"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13055 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13056 "0008,0030" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13057 "Name" : "StudyTime",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13058 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13059 "Value" : "141645.000000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13060 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13061 "0008,0050" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13062 "Name" : "AccessionNumber",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13063 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13064 "Value" : "0"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13065 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13066 "0008,0090" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13067 "Name" : "ReferringPhysicianName",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13068 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13069 "Value" : "dAEvNTxZJO0E"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13070 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13071 "0008,1030" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13072 "Name" : "StudyDescription",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13073 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13074 "Value" : "IRM cérébrale, neuro-crâne"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13075 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13076 "0008,1032" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13077 "Name" : "ProcedureCodeSequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13078 "Type" : "Sequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13079 "Value" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13080 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13081 "0008,0100" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13082 "Name" : "CodeValue",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13083 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13084 "Value" : "IRMCEREB"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13085 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13086 "0008,0102" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13087 "Name" : "CodingSchemeDesignator",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13088 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13089 "Value" : "XPLORE"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13090 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13091 "0008,0104" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13092 "Name" : "CodeMeaning",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13093 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13094 "Value" : "IRM cérébrale, neuro-crâne"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13095 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13096 "0008,010b" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13097 "Name" : "ContextGroupExtensionFlag",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13098 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13099 "Value" : "N"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13100 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13101 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13102 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13103 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13104 "0008,1110" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13105 "Name" : "ReferencedStudySequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13106 "Type" : "Sequence",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13107 "Value" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13108 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13109 "0008,1150" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13110 "Name" : "ReferencedSOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13111 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13112 "Value" : "1.2.840.10008.3.1.2.3.1"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13113 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13114 "0008,1155" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13115 "Name" : "ReferencedSOPInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13116 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13117 "Value" : "2.16.840.1.113669.632.20.1211.10000357775"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13118 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13119 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13120 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13121 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13122 "0020,000d" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13123 "Name" : "StudyInstanceUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13124 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13125 "Value" : "2.16.840.1.113669.632.20.1211.10000357775"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13126 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13127 "0020,0010" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13128 "Name" : "StudyID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13129 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13130 "Value" : "218211405"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13131 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13132 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13133 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13134 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13135 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13136 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13137 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13138 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13139 "summary" : "Get study module",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13140 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13141 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13142 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13143 "/studies/{id}/module-patient" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13144 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13145 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13146 "description" : "Get the patient module of the DICOM study whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13147 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13148 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13149 "description" : "Also include the DICOM tags that are provided in this list, even if their associated value is long",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13150 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13151 "name" : "ignore-length",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13152 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13153 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13154 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13155 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13156 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13157 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13158 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13159 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13160 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13161 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13162 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13163 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13164 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13165 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13166 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13167 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13168 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13169 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13170 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13171 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13172 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13173 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13174 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13175 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13176 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13177 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13178 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13179 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13180 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13181 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13182 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13183 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13184 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13185 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13186 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13187 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13188 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13189 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13190 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13191 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13192 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13193 "description" : "Information about the DICOM study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13194 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13195 "0010,0010" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13196 "Name" : "PatientName",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13197 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13198 "Value" : "BRAINIX"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13199 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13200 "0010,0020" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13201 "Name" : "PatientID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13202 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13203 "Value" : "5Yp0E"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13204 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13205 "0010,0030" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13206 "Name" : "PatientBirthDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13207 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13208 "Value" : "19490301"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13209 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13210 "0010,0040" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13211 "Name" : "PatientSex",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13212 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13213 "Value" : "0000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13214 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13215 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13216 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13217 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13218 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13219 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13220 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13221 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13222 "summary" : "Get patient module of study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13223 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13224 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13225 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13226 "/studies/{id}/patient" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13227 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13228 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13229 "description" : "Get detailed information about the parent patient of the DICOM study whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13230 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13231 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13232 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13233 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13234 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13235 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13236 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13237 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13238 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13239 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13240 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13241 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13242 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13243 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13244 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13245 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13246 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13247 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13248 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13249 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13250 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13251 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13252 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13253 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13254 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13255 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13256 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13257 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13258 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13259 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13260 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13261 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13262 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13263 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13264 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13265 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13266 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13267 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13268 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13269 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13270 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13271 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13272 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13273 "description" : "Information about the parent DICOM patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13274 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13275 "ID" : "16738bc3-e47ed42a-43ce044c-a3414a45-cb069bd0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13276 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13277 "LastUpdate" : "20180414T091532",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13278 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13279 "PatientBirthDate" : "19490301",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13280 "PatientID" : "5Yp0E",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13281 "PatientName" : "BRAINIX",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13282 "PatientSex" : "0000"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13283 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13284 "Studies" : [ "27f7126f-4f66fb14-03f4081b-f9341db2-53925988" ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13285 "Type" : "Patient"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13286 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13287 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13288 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13289 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13290 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13291 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13292 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13293 "summary" : "Get parent patient",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13294 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13295 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13296 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13297 "/studies/{id}/reconstruct" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13298 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13299 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13300 "description" : "Reconstruct the main DICOM tags in DB of the study whose Orthanc identifier is provided in the URL. This is useful if child studies/series/instances have inconsistent values for higher-level tags, in order to force Orthanc to use the value from the resource of interest. Beware that this is a time-consuming operation, as all the children DICOM instances will be parsed again, and the Orthanc index will be updated accordingly.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13301 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13302 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13303 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13304 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13305 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13306 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13307 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13308 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13309 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13310 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13311 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13312 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13313 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13314 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13315 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13316 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13317 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13318 "ReconstructFiles" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13319 "description" : "Also reconstruct the files of the resources (e.g: apply IngestTranscoding, StorageCompression). 'false' by default. (New in Orthanc 1.11.0)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13320 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13321 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13322 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13323 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13324 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13325 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13326 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13327 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13328 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13329 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13330 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13331 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13332 "summary" : "Reconstruct tags & optionally files of study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13333 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13334 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13335 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13336 "/studies/{id}/series" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13337 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13338 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13339 "description" : "Get detailed information about the child series of the DICOM study whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13340 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13341 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13342 "description" : "If present, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13343 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13344 "name" : "full",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13345 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13346 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13347 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13348 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13349 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13350 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13351 "description" : "If present, list the DICOM Tags you want to list in the response. This argument is a semi-column separated list of DICOM Tags identifiers; e.g: 'requestedTags=0010,0010;PatientBirthDate'. The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return ",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13352 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13353 "name" : "requestedTags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13354 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13355 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13356 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13357 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13358 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13359 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13360 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13361 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13362 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13363 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13364 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13365 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13366 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13367 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13368 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13369 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13370 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13371 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13372 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13373 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13374 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13375 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13376 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13377 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13378 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13379 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13380 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13381 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13382 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13383 "description" : "JSON array containing information about the child DICOM series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13384 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13385 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13386 "ExpectedNumberOfInstances" : null,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13387 "ID" : "635faa23-fd8378ee-d03bce29-ee47c2fb-a65c5509",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13388 "Instances" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13389 "ed8aacd6-5d2cfad4-9e1a2f77-edf1cee5-8f3bdde0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13390 "7a93b85e-5956dbf9-894c1f27-dc73112f-4cbcda70",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13391 "065baa49-a7b4e4a0-e7468f1d-e9b5bca8-56316fa2",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13392 "ca69bc1a-a4fcc0a8-9e6828b0-c816dbaa-240fdc45",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13393 "edd8ff85-9805d97a-2375f736-40662993-aef40418",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13394 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13395 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13396 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13397 "LastUpdate" : "20180414T091528",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13398 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13399 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13400 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13401 "ExpectedNumberOfInstances" : null,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13402 "ID" : "dc0216d2-a406a5ad-31ef7a78-113ae9d9-29939f9e",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13403 "Instances" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13404 "2cd73574-190bb147-0a86bcca-68c75104-d22f09dd",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13405 "ff95b7c0-d14e3e42-d642eacd-281cb07c-4e0bbc8b",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13406 "22384bf2-0bbe7bdb-013f6ff2-f7834e9f-3d8754bf",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13407 "3e50a403-17c8ce10-6e0234e3-a8bed1bf-3dbc54ee",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13408 "3db0ed84-61a28da4-72a52d5a-3f7daa77-b81ddf17",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13409 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13410 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13411 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13412 "LastUpdate" : "20180414T091530",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13413 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13414 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13415 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13416 "ExpectedNumberOfInstances" : null,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13417 "ID" : "1e2c125c-411b8e86-3f4fe68e-a7584dd3-c6da78f0",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13418 "Instances" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13419 "2db53a93-91179cd5-f2080c32-c9b156ec-b8f65fa7",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13420 "9058e01a-31a7d982-1691e575-a8607d94-29a9aaca",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13421 "40df6ac1-5ec86316-035ff3c1-07e5c8a8-f6cbd37c",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13422 "144ca294-6e759cfb-e14e3404-e78a0a29-1dd3273c",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13423 "3b2a215c-2560d4b0-e3730c07-87d3fa7d-3fef44ed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13424 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13425 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13426 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13427 "LastUpdate" : "20180414T091530",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13428 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13429 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13430 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13431 "ExpectedNumberOfInstances" : null,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13432 "ID" : "4baa97c7-d53d3d82-a5eb9403-17ef5a77-4e0efb55",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13433 "Instances" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13434 "9b41ef96-b4031ffc-b1b7ea5d-8a38d55d-fe804601",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13435 "8137542c-069dd229-d0226fba-f8c571cd-19c7b61a",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13436 "985681e7-99cd2ce5-f7d79f12-27bfc29f-0e5a4d72",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13437 "f0b9f0ab-110181f8-ce83a1a2-4d8eb2c9-0b682503",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13438 "ef13019a-9edf339d-395d8632-558518bf-b82b1b21",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13439 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13440 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13441 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13442 "LastUpdate" : "20180414T091531",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13443 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13444 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13445 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13446 "ExpectedNumberOfInstances" : null,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13447 "ID" : "2ac1316d-3e432022-62eabff2-c59f5475-9b1ac3f8",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13448 "Instances" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13449 "61eeef27-cb5515a3-0860ab44-90125207-a56e6883",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13450 "18bc4146-4bb09c43-e4080c80-19bfc186-6b3d7272",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13451 "00402ce7-ac05c687-4d0839bc-cecd4fad-3d1b7eed",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13452 "ea902bf2-6dc22ee9-e962333a-7ce2c27f-d684977e",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13453 "8371936f-4141219a-ca7d69df-0d82697e-271eef91",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13454 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13455 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13456 "IsStable" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13457 "LastUpdate" : "20180414T091531",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13458 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13459 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13460 "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13461 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13462 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13463 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13464 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13465 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13466 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13467 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13468 "summary" : "Get child series",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13469 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13470 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13471 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13472 "/studies/{id}/shared-tags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13473 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13474 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13475 "description" : "Extract the DICOM tags whose value is constant across all the child instances of the DICOM study whose Orthanc identifier is provided in the URL",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13476 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13477 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13478 "description" : "If present, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13479 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13480 "name" : "short",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13481 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13482 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13483 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13484 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13485 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13486 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13487 "description" : "If present, report the DICOM tags in human-readable format (using the symbolic name of the tags)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13488 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13489 "name" : "simplify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13490 "required" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13491 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13492 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13493 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13494 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13495 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13496 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13497 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13498 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13499 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13500 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13501 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13502 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13503 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13504 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13505 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13506 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13507 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13508 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13509 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13510 "description" : "JSON object containing the values of the DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13511 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13512 "0008,0005" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13513 "Name" : "SpecificCharacterSet",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13514 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13515 "Value" : "ISO_IR 100"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13516 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13517 "0008,0012" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13518 "Name" : "InstanceCreationDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13519 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13520 "Value" : "20061201"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13521 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13522 "0008,0014" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13523 "Name" : "InstanceCreatorUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13524 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13525 "Value" : "1.3.46.670589.11.8743.5"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13526 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13527 "0008,0016" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13528 "Name" : "SOPClassUID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13529 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13530 "Value" : "1.2.840.10008.5.1.4.1.1.4"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13531 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13532 "0008,0020" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13533 "Name" : "StudyDate",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13534 "Type" : "String",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13535 "Value" : "20061201"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13536 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13537 "{...}" : "..."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13538 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13539 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13540 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13541 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13542 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13543 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13544 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13545 "summary" : "Get shared tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13546 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13547 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13548 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13549 "/studies/{id}/split" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13550 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13551 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13552 "description" : "Start a new job so as to split the DICOM study whose Orthanc identifier is provided in the URL, by taking some of its children series or instances out of it and putting them into a brand new study (this new study is created by setting the `StudyInstanceUID` tag to a random identifier): https://book.orthanc-server.com/users/anonymization.html#splitting",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13553 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13554 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13555 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13556 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13557 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13558 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13559 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13560 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13561 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13562 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13563 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13564 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13565 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13566 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13567 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13568 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13569 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13570 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13571 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13572 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13573 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13574 "Instances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13575 "description" : "The list of instances to be separated from the parent study. These instances must all be children of the same source study, that is specified in the URI.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13576 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13577 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13578 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13579 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13580 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13581 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13582 "description" : "If set to `true`, instructs Orthanc to keep a copy of the original series/instances in the source study. By default, the original series/instances are deleted from Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13583 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13584 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13585 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13586 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13587 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13588 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13589 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13590 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13591 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13592 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13593 "Remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13594 "description" : "List of tags that must be removed in the new study (from the same modules as in the `Replace` option)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13595 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13596 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13597 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13598 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13599 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13600 "Replace" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13601 "description" : "Associative array to change the value of some DICOM tags in the new study. These tags must be part of the \"Patient Module Attributes\" or the \"General Study Module Attributes\", as specified by the DICOM 2011 standard in Tables C.7-1 and C.7-3.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13602 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13603 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13604 "Series" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13605 "description" : "The list of series to be separated from the parent study. These series must all be children of the same source study, that is specified in the URI.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13606 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13607 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13608 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13609 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13610 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13611 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13612 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13613 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13614 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13615 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13616 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13617 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13618 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13619 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13620 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13621 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13622 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13623 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13624 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13625 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13626 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13627 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13628 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13629 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13630 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13631 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13632 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13633 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13634 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13635 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13636 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13637 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13638 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13639 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13640 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13641 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13642 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13643 "summary" : "Split study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13644 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13645 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13646 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13647 "/studies/{id}/statistics" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13648 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13649 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13650 "description" : "Get statistics about the given study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13651 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13652 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13653 "description" : "Orthanc identifier of the study of interest",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13654 "in" : "path",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13655 "name" : "id",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13656 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13657 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13658 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13659 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13660 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13661 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13662 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13663 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13664 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13665 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13666 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13667 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13668 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13669 "CountInstances" : 232,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13670 "CountSeries" : 7,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13671 "DicomDiskSize" : "68153234",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13672 "DicomDiskSizeMB" : 64,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13673 "DicomUncompressedSize" : "68153234",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13674 "DicomUncompressedSizeMB" : 64,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13675 "DiskSize" : "72203548",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13676 "DiskSizeMB" : 68,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13677 "UncompressedSize" : "72203548",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13678 "UncompressedSizeMB" : 68
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13679 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13680 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13681 "CountInstances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13682 "description" : "Number of child instances within this study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13683 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13684 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13685 "CountSeries" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13686 "description" : "Number of child series within this study",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13687 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13688 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13689 "DicomDiskSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13690 "description" : "Size on the disk of the DICOM instances associated with the study, expressed in bytes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13691 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13692 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13693 "DicomDiskSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13694 "description" : "Size on the disk of the DICOM instances associated with the study, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13695 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13696 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13697 "DicomUncompressedSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13698 "description" : "Size on the disk of the uncompressed DICOM instances associated with the study, expressed in bytes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13699 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13700 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13701 "DicomUncompressedSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13702 "description" : "Size on the disk of the uncompressed DICOM instances associated with the study, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13703 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13704 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13705 "DiskSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13706 "description" : "Size of the study on the disk in bytes, expressed as a string for 64bit compatibility with JSON",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13707 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13708 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13709 "DiskSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13710 "description" : "Size of the study on the disk, expressed in megabytes (MB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13711 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13712 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13713 "UncompressedSize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13714 "description" : "Size of the study after decompression in bytes, expressed as a string for 64bit compatibility with JSON",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13715 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13716 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13717 "UncompressedSizeMB" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13718 "description" : "Size of the study after decompression, expressed in megabytes (MB). This is different from `DiskSizeMB` iff `StorageCompression` is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13719 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13720 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13721 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13722 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13723 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13724 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13725 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13726 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13727 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13728 "summary" : "Get study statistics",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13729 "tags" : [ "Studies" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13730 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13731 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13732 "/system" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13733 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13734 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13735 "description" : "Get system information about Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13736 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13737 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13738 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13739 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13740 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13741 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13742 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13743 "example" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13744 "ApiVersion" : 16,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13745 "CheckRevisions" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13746 "DatabaseBackendPlugin" : null,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13747 "DatabaseVersion" : 6,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13748 "DicomAet" : "ORTHANC",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13749 "DicomPort" : 4242,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13750 "HttpPort" : 8042,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13751 "IsHttpServerSecure" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13752 "Name" : "Orthanc Demo",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13753 "PluginsEnabled" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13754 "StorageAreaPlugin" : null,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13755 "Version" : "1.10.1"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13756 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13757 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13758 "ApiVersion" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13759 "description" : "Version of the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13760 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13761 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13762 "CheckRevisions" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13763 "description" : "Whether Orthanc handle revisions of metadata and attachments to deal with multiple writers (new in Orthanc 1.9.2)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13764 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13765 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13766 "DatabaseBackendPlugin" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13767 "description" : "Information about the installed database index plugin (`null` if no such plugin is installed)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13768 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13769 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13770 "DatabaseServerIdentifier" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13771 "description" : "ID of the server in the database (when running multiple Orthanc on the same DB)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13772 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13773 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13774 "DatabaseVersion" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13775 "description" : "Version of the database: https://book.orthanc-server.com/developers/db-versioning.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13776 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13777 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13778 "DicomAet" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13779 "description" : "The DICOM AET of Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13780 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13781 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13782 "DicomPort" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13783 "description" : "The port to the DICOM server of Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13784 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13785 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13786 "HttpPort" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13787 "description" : "The port to the HTTP server of Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13788 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13789 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13790 "IngestTranscoding" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13791 "description" : "Whether instances are transcoded when ingested into Orthanc (`` if no transcoding is performed) (new in Orthanc 1.11.0)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13792 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13793 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13794 "IsHttpServerSecure" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13795 "description" : "Whether the REST API is properly secured (assuming no reverse proxy is in use): https://book.orthanc-server.com/faq/security.html#securing-the-http-server",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13796 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13797 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13798 "MainDicomTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13799 "description" : "The list of MainDicomTags saved in DB for each resource level (new in Orthanc 1.11.0)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13800 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13801 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13802 "Name" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13803 "description" : "The name of the Orthanc server, cf. the `Name` configuration option",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13804 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13805 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13806 "OverwriteInstances" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13807 "description" : "Whether instances are overwritten when re-ingested (new in Orthanc 1.11.0)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13808 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13809 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13810 "PluginsEnabled" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13811 "description" : "Whether Orthanc was built with support for plugins",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13812 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13813 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13814 "StorageAreaPlugin" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13815 "description" : "Information about the installed storage area plugin (`null` if no such plugin is installed)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13816 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13817 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13818 "StorageCompression" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13819 "description" : "Whether storage compression is enabled (new in Orthanc 1.11.0)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13820 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13821 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13822 "Version" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13823 "description" : "Version of Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13824 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13825 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13826 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13827 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13828 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13829 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13830 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13831 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13832 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13833 "summary" : "Get system information",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13834 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13835 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13836 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13837 "/tools" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13838 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13839 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13840 "description" : "List the available operations under URI `/tools/`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13841 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13842 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13843 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13844 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13845 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13846 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13847 "description" : "List of the available operations",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13848 "example" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13849 "accepted-transfer-syntaxes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13850 "bulk-anonymize",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13851 "bulk-content",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13852 "bulk-delete",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13853 "bulk-modify",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13854 "create-archive",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13855 "create-dicom",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13856 "create-media",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13857 "create-media-extended",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13858 "default-encoding",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13859 "dicom-conformance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13860 "dicom-echo",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13861 "execute-script",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13862 "find",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13863 "generate-uid",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13864 "invalidate-tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13865 "log-level",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13866 "log-level-dicom",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13867 "log-level-generic",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13868 "log-level-http",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13869 "log-level-jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13870 "log-level-lua",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13871 "log-level-plugins",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13872 "log-level-sqlite",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13873 "lookup",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13874 "metrics",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13875 "metrics-prometheus",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13876 "now",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13877 "now-local",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13878 "reconstruct",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13879 "reset",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13880 "shutdown",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13881 "unknown-sop-class-accepted"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13882 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13883 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13884 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13885 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13886 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13887 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13888 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13889 "summary" : "List operations",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13890 "tags" : [ "Other" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13891 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13892 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13893 "/tools/accepted-transfer-syntaxes" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13894 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13895 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13896 "description" : "Get the list of UIDs of the DICOM transfer syntaxes that are accepted by Orthanc C-STORE SCP. This corresponds to the configuration options `AcceptedTransferSyntaxes` and `XXXTransferSyntaxAccepted`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13897 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13898 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13899 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13900 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13901 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13902 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13903 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13904 "description" : "JSON array containing the transfer syntax UIDs"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13905 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13906 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13907 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13908 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13909 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13910 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13911 "summary" : "Get accepted transfer syntaxes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13912 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13913 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13914 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13915 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13916 "description" : "Set the DICOM transfer syntaxes that accepted by Orthanc C-STORE SCP",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13917 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13918 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13919 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13920 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13921 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13922 "description" : "JSON array containing a list of transfer syntax UIDs to be accepted. Wildcards `?` and `*` are accepted."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13923 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13924 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13925 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13926 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13927 "description" : "UID of the transfer syntax to be accepted. Wildcards `?` and `*` are accepted."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13928 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13929 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13930 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13931 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13932 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13933 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13934 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13935 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13936 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13937 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13938 "description" : "JSON array containing the now-accepted transfer syntax UIDs"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13939 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13940 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13941 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13942 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13943 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13944 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13945 "summary" : "Set accepted transfer syntaxes",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13946 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13947 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13948 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13949 "/tools/bulk-anonymize" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13950 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13951 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13952 "description" : "Start a job that will anonymize all the DICOM patients, studies, series or instances whose identifiers are provided in the `Resources` field.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13953 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13954 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13955 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13956 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13957 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13958 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13959 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13960 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13961 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13962 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13963 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13964 "DicomVersion" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13965 "description" : "Version of the DICOM standard to be used for anonymization. Check out configuration option `DeidentifyLogsDicomVersion` for possible values.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13966 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13967 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13968 "Force" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13969 "description" : "Allow the modification of tags related to DICOM identifiers, at the risk of breaking the DICOM model of the real world",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13970 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13971 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13972 "Keep" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13973 "description" : "List of DICOM tags whose value must not be destroyed by the anonymization. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13974 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13975 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13976 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13977 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13978 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13979 "KeepPrivateTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13980 "description" : "Keep the private tags from the DICOM instances (defaults to `false`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13981 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13982 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13983 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13984 "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13985 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13986 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13987 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13988 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13989 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13990 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13991 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13992 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13993 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13994 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13995 "PrivateCreator" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13996 "description" : "The private creator to be used for private tags in `Replace`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13997 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13998 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
13999 "Remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14000 "description" : "List of additional tags to be removed from the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14001 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14002 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14003 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14004 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14005 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14006 "Replace" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14007 "description" : "Associative array to change the value of some DICOM tags in the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14008 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14009 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14010 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14011 "description" : "List of the Orthanc identifiers of the patients/studies/series/instances of interest.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14012 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14013 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14014 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14015 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14016 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14017 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14018 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14019 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14020 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14021 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14022 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14023 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14024 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14025 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14026 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14027 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14028 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14029 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14030 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14031 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14032 "description" : "The list of all the resources that have been created by this anonymization",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14033 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14034 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14035 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14036 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14037 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14038 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14039 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14040 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14041 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14042 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14043 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14044 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14045 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14046 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14047 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14048 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14049 "summary" : "Anonymize a set of resources",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14050 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14051 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14052 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14053 "/tools/bulk-content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14054 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14055 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14056 "description" : "Get the content all the DICOM patients, studies, series or instances whose identifiers are provided in the `Resources` field, in one single call.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14057 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14058 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14059 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14060 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14061 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14062 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14063 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14064 "Full" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14065 "description" : "If set to `true`, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14066 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14067 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14068 "Level" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14069 "description" : "This optional argument specifies the level of interest (can be `Patient`, `Study`, `Series` or `Instance`). Orthanc will loop over the items inside `Resources`, and explore upward or downward in the DICOM hierarchy in order to find the level of interest.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14070 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14071 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14072 "Metadata" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14073 "description" : "If set to `true` (default value), the metadata associated with the resources will also be retrieved.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14074 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14075 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14076 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14077 "description" : "List of the Orthanc identifiers of the patients/studies/series/instances of interest.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14078 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14079 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14080 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14081 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14082 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14083 "Short" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14084 "description" : "If set to `true`, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14085 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14086 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14087 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14088 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14089 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14090 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14091 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14092 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14093 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14094 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14095 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14096 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14097 "summary" : "Describe a set of resources",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14098 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14099 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14100 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14101 "/tools/bulk-delete" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14102 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14103 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14104 "description" : "Delete all the DICOM patients, studies, series or instances whose identifiers are provided in the `Resources` field.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14105 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14106 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14107 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14108 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14109 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14110 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14111 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14112 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14113 "description" : "List of the Orthanc identifiers of the patients/studies/series/instances of interest.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14114 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14115 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14116 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14117 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14118 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14119 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14120 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14121 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14122 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14123 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14124 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14125 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14126 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14127 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14128 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14129 "summary" : "Delete a set of resources",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14130 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14131 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14132 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14133 "/tools/bulk-modify" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14134 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14135 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14136 "description" : "Start a job that will modify all the DICOM patients, studies, series or instances whose identifiers are provided in the `Resources` field.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14137 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14138 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14139 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14140 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14141 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14142 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14143 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14144 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14145 "description" : "If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14146 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14147 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14148 "Force" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14149 "description" : "Allow the modification of tags related to DICOM identifiers, at the risk of breaking the DICOM model of the real world",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14150 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14151 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14152 "Keep" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14153 "description" : "Keep the original value of the specified tags, to be chosen among the `StudyInstanceUID`, `SeriesInstanceUID` and `SOPInstanceUID` tags. Avoid this feature as much as possible, as this breaks the DICOM model of the real world.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14154 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14155 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14156 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14157 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14158 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14159 "KeepSource" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14160 "description" : "If set to `false`, instructs Orthanc to the remove original resources. By default, the original resources are kept in Orthanc.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14161 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14162 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14163 "Level" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14164 "description" : "Level of the modification (`Patient`, `Study`, `Series` or `Instance`). If absent, the level defaults to `Instance`, but is set to `Patient` if `PatientID` is modified, to `Study` if `StudyInstanceUID` is modified, or to `Series` if `SeriesInstancesUID` is modified. (new in Orthanc 1.9.7)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14165 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14166 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14167 "Permissive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14168 "description" : "If `true`, ignore errors during the individual steps of the job.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14169 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14170 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14171 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14172 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14173 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14174 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14175 "PrivateCreator" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14176 "description" : "The private creator to be used for private tags in `Replace`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14177 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14178 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14179 "Remove" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14180 "description" : "List of tags that must be removed from the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14181 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14182 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14183 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14184 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14185 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14186 "RemovePrivateTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14187 "description" : "Remove the private tags from the DICOM instances (defaults to `false`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14188 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14189 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14190 "Replace" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14191 "description" : "Associative array to change the value of some DICOM tags in the DICOM instances. Starting with Orthanc 1.9.4, paths to subsequences can be provided using the same syntax as the `dcmodify` command-line tool (wildcards are supported as well).",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14192 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14193 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14194 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14195 "description" : "List of the Orthanc identifiers of the patients/studies/series/instances of interest.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14196 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14197 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14198 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14199 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14200 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14201 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14202 "description" : "If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14203 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14204 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14205 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14206 "description" : "Transcode the DICOM instances to the provided DICOM transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14207 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14208 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14209 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14210 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14211 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14212 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14213 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14214 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14215 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14216 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14217 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14218 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14219 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14220 "description" : "The list of all the resources that have been altered by this modification",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14221 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14222 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14223 "description" : "In asynchronous mode, identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14224 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14225 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14226 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14227 "description" : "In asynchronous mode, path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14228 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14229 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14230 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14231 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14232 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14233 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14234 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14235 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14236 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14237 "summary" : "Modify a set of resources",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14238 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14239 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14240 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14241 "/tools/create-archive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14242 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14243 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14244 "description" : "Create a ZIP archive containing the DICOM resources (patients, studies, series, or instances) whose Orthanc identifiers are provided in the body",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14245 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14246 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14247 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14248 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14249 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14250 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14251 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14252 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14253 "description" : "If `true`, create the archive in asynchronous mode, which means that a job is submitted to create the archive in background.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14254 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14255 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14256 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14257 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14258 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14259 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14260 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14261 "description" : "The list of Orthanc identifiers of interest.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14262 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14263 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14264 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14265 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14266 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14267 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14268 "description" : "If `true`, create the archive in synchronous mode, which means that the HTTP answer will directly contain the ZIP file. This is the default, easy behavior. However, if global configuration option \"SynchronousZipStream\" is set to \"false\", asynchronous transfers should be preferred for large amount of data, as the creation of the temporary file might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14269 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14270 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14271 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14272 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14273 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14274 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14275 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14276 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14277 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14278 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14279 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14280 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14281 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14282 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14283 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14284 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14285 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14286 "description" : "In asynchronous mode, information about the job that has been submitted to generate the archive: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14287 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14288 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14289 "description" : "Identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14290 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14291 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14292 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14293 "description" : "Path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14294 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14295 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14296 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14297 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14298 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14299 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14300 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14301 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14302 "description" : "In synchronous mode, the ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14303 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14304 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14305 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14306 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14307 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14308 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14309 "summary" : "Create ZIP archive",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14310 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14311 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14312 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14313 "/tools/create-dicom" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14314 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14315 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14316 "description" : "Create one DICOM instance, and store it into Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14317 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14318 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14319 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14320 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14321 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14322 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14323 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14324 "Content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14325 "description" : "This field can be used to embed an image (pixel data) or a PDF inside the created DICOM instance. The PNG image, the JPEG image or the PDF file must be provided using their [data URI scheme encoding](https://en.wikipedia.org/wiki/Data_URI_scheme). This field can possibly contain a JSON array, in which case a DICOM series is created containing one DICOM instance for each item in the `Content` field.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14326 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14327 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14328 "Force" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14329 "description" : "Avoid the consistency checks for the DICOM tags that enforce the DICOM model of the real-world. You can notably use this flag if you need to manually set the tags `StudyInstanceUID`, `SeriesInstanceUID`, or `SOPInstanceUID`. Be careful with this feature.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14330 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14331 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14332 "InterpretBinaryTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14333 "description" : "If some value in the `Tags` associative array is formatted according to some [data URI scheme encoding](https://en.wikipedia.org/wiki/Data_URI_scheme), whether this value is decoded to a binary value or kept as such (`true` by default)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14334 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14335 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14336 "Parent" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14337 "description" : "If present, the newly created instance will be attached to the parent DICOM resource whose Orthanc identifier is contained in this field. The DICOM tags of the parent modules in the DICOM hierarchy will be automatically copied to the newly created instance.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14338 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14339 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14340 "PrivateCreator" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14341 "description" : "The private creator to be used for private tags in `Tags`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14342 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14343 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14344 "Tags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14345 "description" : "Associative array containing the tags of the new instance to be created",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14346 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14347 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14348 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14349 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14350 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14351 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14352 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14353 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14354 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14355 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14356 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14357 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14358 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14359 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14360 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14361 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14362 "description" : "Orthanc identifier of the newly created instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14363 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14364 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14365 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14366 "description" : "Path to access the instance in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14367 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14368 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14369 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14370 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14371 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14372 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14373 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14374 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14375 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14376 "summary" : "Create one DICOM instance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14377 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14378 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14379 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14380 "/tools/create-media" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14381 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14382 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14383 "description" : "Create a DICOMDIR media containing the DICOM resources (patients, studies, series, or instances) whose Orthanc identifiers are provided in the body",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14384 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14385 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14386 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14387 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14388 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14389 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14390 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14391 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14392 "description" : "If `true`, create the archive in asynchronous mode, which means that a job is submitted to create the archive in background.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14393 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14394 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14395 "Extended" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14396 "description" : "If `true`, will include additional tags such as `SeriesDescription`, leading to a so-called *extended DICOMDIR*. Default value is `false`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14397 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14398 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14399 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14400 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14401 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14402 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14403 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14404 "description" : "The list of Orthanc identifiers of interest.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14405 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14406 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14407 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14408 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14409 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14410 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14411 "description" : "If `true`, create the archive in synchronous mode, which means that the HTTP answer will directly contain the ZIP file. This is the default, easy behavior. However, if global configuration option \"SynchronousZipStream\" is set to \"false\", asynchronous transfers should be preferred for large amount of data, as the creation of the temporary file might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14412 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14413 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14414 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14415 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14416 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14417 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14418 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14419 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14420 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14421 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14422 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14423 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14424 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14425 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14426 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14427 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14428 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14429 "description" : "In asynchronous mode, information about the job that has been submitted to generate the archive: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14430 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14431 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14432 "description" : "Identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14433 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14434 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14435 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14436 "description" : "Path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14437 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14438 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14439 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14440 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14441 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14442 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14443 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14444 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14445 "description" : "In synchronous mode, the ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14446 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14447 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14448 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14449 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14450 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14451 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14452 "summary" : "Create DICOMDIR media",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14453 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14454 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14455 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14456 "/tools/create-media-extended" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14457 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14458 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14459 "description" : "Create a DICOMDIR media containing the DICOM resources (patients, studies, series, or instances) whose Orthanc identifiers are provided in the body",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14460 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14461 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14462 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14463 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14464 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14465 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14466 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14467 "Asynchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14468 "description" : "If `true`, create the archive in asynchronous mode, which means that a job is submitted to create the archive in background.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14469 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14470 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14471 "Extended" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14472 "description" : "If `true`, will include additional tags such as `SeriesDescription`, leading to a so-called *extended DICOMDIR*. Default value is `true`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14473 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14474 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14475 "Priority" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14476 "description" : "In asynchronous mode, the priority of the job. The lower the value, the higher the priority.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14477 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14478 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14479 "Resources" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14480 "description" : "The list of Orthanc identifiers of interest.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14481 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14482 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14483 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14484 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14485 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14486 "Synchronous" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14487 "description" : "If `true`, create the archive in synchronous mode, which means that the HTTP answer will directly contain the ZIP file. This is the default, easy behavior. However, if global configuration option \"SynchronousZipStream\" is set to \"false\", asynchronous transfers should be preferred for large amount of data, as the creation of the temporary file might lead to network timeouts.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14488 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14489 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14490 "Transcode" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14491 "description" : "If present, the DICOM files in the archive will be transcoded to the provided transfer syntax: https://book.orthanc-server.com/faq/transcoding.html",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14492 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14493 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14494 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14495 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14496 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14497 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14498 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14499 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14500 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14501 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14502 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14503 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14504 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14505 "description" : "In asynchronous mode, information about the job that has been submitted to generate the archive: https://book.orthanc-server.com/users/advanced-rest.html#jobs",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14506 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14507 "ID" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14508 "description" : "Identifier of the job",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14509 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14510 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14511 "Path" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14512 "description" : "Path to access the job in the REST API",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14513 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14514 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14515 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14516 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14517 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14518 "application/zip" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14519 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14520 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14521 "description" : "In synchronous mode, the ZIP file containing the archive"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14522 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14523 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14524 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14525 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14526 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14527 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14528 "summary" : "Create DICOMDIR media",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14529 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14530 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14531 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14532 "/tools/default-encoding" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14533 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14534 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14535 "description" : "Get the default encoding that is used by Orthanc if parsing a DICOM instance without the `SpecificCharacterEncoding` tag, or during C-FIND. This corresponds to the configuration option `DefaultEncoding`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14536 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14537 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14538 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14539 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14540 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14541 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14542 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14543 "description" : "The name of the encoding"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14544 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14545 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14546 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14547 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14548 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14549 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14550 "summary" : "Get default encoding",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14551 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14552 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14553 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14554 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14555 "description" : "Change the default encoding that is used by Orthanc if parsing a DICOM instance without the `SpecificCharacterEncoding` tag, or during C-FIND. This corresponds to the configuration option `DefaultEncoding`.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14556 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14557 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14558 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14559 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14560 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14561 "description" : "The name of the encoding. Check out configuration option `DefaultEncoding` for the allowed values."
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14562 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14563 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14564 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14565 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14566 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14567 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14568 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14569 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14570 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14571 "summary" : "Set default encoding",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14572 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14573 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14574 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14575 "/tools/dicom-conformance" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14576 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14577 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14578 "description" : "Get the DICOM conformance statement of Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14579 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14580 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14581 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14582 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14583 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14584 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14585 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14586 "description" : "The DICOM conformance statement"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14587 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14588 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14589 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14590 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14591 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14592 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14593 "summary" : "Get DICOM conformance",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14594 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14595 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14596 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14597 "/tools/dicom-echo" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14598 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14599 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14600 "description" : "Trigger C-ECHO SCU command against a DICOM modality described in the POST body, without having to register the modality in some `/modalities/{id}` (new in Orthanc 1.8.1)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14601 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14602 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14603 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14604 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14605 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14606 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14607 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14608 "AET" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14609 "description" : "AET of the remote DICOM modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14610 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14611 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14612 "CheckFind" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14613 "description" : "Issue a dummy C-FIND command after the C-GET SCU, in order to check whether the remote modality knows about Orthanc. This field defaults to the value of the `DicomEchoChecksFind` configuration option. New in Orthanc 1.8.1.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14614 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14615 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14616 "Host" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14617 "description" : "Host address of the remote DICOM modality (typically, an IP address)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14618 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14619 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14620 "Manufacturer" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14621 "description" : "Manufacturer of the remote DICOM modality (check configuration option `DicomModalities` for possible values",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14622 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14623 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14624 "Port" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14625 "description" : "TCP port of the remote DICOM modality",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14626 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14627 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14628 "Timeout" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14629 "description" : "Timeout for the C-ECHO command, in seconds",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14630 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14631 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14632 "UseDicomTls" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14633 "description" : "Whether to use DICOM TLS in the SCU connection initiated by Orthanc (new in Orthanc 1.9.0)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14634 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14635 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14636 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14637 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14638 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14639 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14640 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14641 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14642 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14643 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14644 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14645 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14646 "summary" : "Trigger C-ECHO SCU",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14647 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14648 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14649 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14650 "/tools/execute-script" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14651 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14652 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14653 "description" : "Execute the provided Lua script by the Orthanc server. This is very insecure for Orthanc servers that are remotely accessible, cf. configuration option `ExecuteLuaEnabled`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14654 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14655 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14656 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14657 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14658 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14659 "description" : "The Lua script to be executed"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14660 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14661 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14662 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14663 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14664 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14665 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14666 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14667 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14668 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14669 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14670 "description" : "Output of the Lua script"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14671 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14672 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14673 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14674 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14675 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14676 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14677 "summary" : "Execute Lua script",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14678 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14679 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14680 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14681 "/tools/find" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14682 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14683 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14684 "description" : "This URI can be used to perform a search on the content of the local Orthanc server, in a way that is similar to querying remote DICOM modalities using C-FIND SCU: https://book.orthanc-server.com/users/rest.html#performing-finds-within-orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14685 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14686 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14687 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14688 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14689 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14690 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14691 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14692 "CaseSensitive" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14693 "description" : "Enable case-sensitive search for PN value representations (defaults to configuration option `CaseSensitivePN`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14694 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14695 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14696 "Expand" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14697 "description" : "Also retrieve the content of the matching resources, not only their Orthanc identifiers",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14698 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14699 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14700 "Full" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14701 "description" : "If set to `true`, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14702 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14703 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14704 "Level" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14705 "description" : "Level of the query (`Patient`, `Study`, `Series` or `Instance`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14706 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14707 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14708 "Limit" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14709 "description" : "Limit the number of reported resources",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14710 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14711 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14712 "Query" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14713 "description" : "Associative array containing the filter on the values of the DICOM tags",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14714 "type" : "object"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14715 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14716 "RequestedTags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14717 "description" : "A list of DICOM tags to include in the response (applicable only if \"Expand\" is set to true). The tags requested tags are returned in the 'RequestedTags' field in the response. Note that, if you are requesting tags that are not listed in the Main Dicom Tags stored in DB, building the response might be slow since Orthanc will need to access the DICOM files. If not specified, Orthanc will return all Main Dicom Tags to keep backward compatibility with Orthanc prior to 1.11.0.",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14718 "items" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14719 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14720 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14721 "type" : "array"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14722 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14723 "Short" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14724 "description" : "If set to `true`, report the DICOM tags in hexadecimal format",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14725 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14726 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14727 "Since" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14728 "description" : "Show only the resources since the provided index (in conjunction with `Limit`)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14729 "type" : "number"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14730 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14731 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14732 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14733 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14734 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14735 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14736 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14737 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14738 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14739 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14740 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14741 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14742 "description" : "JSON array containing either the Orthanc identifiers, or detailed information about the reported resources (if `Expand` argument is `true`)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14743 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14744 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14745 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14746 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14747 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14748 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14749 "summary" : "Look for local resources",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14750 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14751 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14752 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14753 "/tools/generate-uid" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14754 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14755 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14756 "description" : "Generate a random DICOM identifier",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14757 "parameters" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14758 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14759 "description" : "Type of DICOM resource among: `patient`, `study`, `series` or `instance`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14760 "in" : "query",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14761 "name" : "level",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14762 "required" : true,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14763 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14764 "type" : "string"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14765 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14766 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14767 ],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14768 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14769 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14770 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14771 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14772 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14773 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14774 "description" : "The generated identifier"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14775 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14776 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14777 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14778 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14779 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14780 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14781 "summary" : "Generate an identifier",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14782 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14783 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14784 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14785 "/tools/invalidate-tags" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14786 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14787 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14788 "description" : "Remove all the attachments of the type \"DICOM-as-JSON\" that are associated will all the DICOM instances stored in Orthanc. These summaries will be automatically re-created on the next access. This is notably useful after changes to the `Dictionary` configuration option. https://book.orthanc-server.com/faq/orthanc-storage.html#storage-area",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14789 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14790 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14791 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14792 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14793 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14794 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14795 "summary" : "Invalidate DICOM-as-JSON summaries",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14796 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14797 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14798 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14799 "/tools/log-level" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14800 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14801 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14802 "description" : "Get the main log level of Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14803 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14804 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14805 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14806 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14807 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14808 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14809 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14810 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14811 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14812 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14813 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14814 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14815 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14816 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14817 "summary" : "Get main log level",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14818 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14819 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14820 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14821 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14822 "description" : "Set the main log level of Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14823 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14824 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14825 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14826 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14827 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14828 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14829 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14830 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14831 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14832 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14833 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14834 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14835 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14836 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14837 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14838 "summary" : "Set main log level",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14839 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14840 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14841 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14842 "/tools/log-level-dicom" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14843 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14844 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14845 "description" : "Get the log level of the log category `dicom`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14846 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14847 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14848 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14849 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14850 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14851 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14852 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14853 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14854 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14855 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14856 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14857 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14858 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14859 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14860 "summary" : "Get log level for `dicom`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14861 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14862 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14863 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14864 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14865 "description" : "Set the log level of the log category `dicom`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14866 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14867 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14868 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14869 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14870 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14871 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14872 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14873 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14874 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14875 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14876 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14877 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14878 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14879 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14880 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14881 "summary" : "Set log level for `dicom`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14882 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14883 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14884 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14885 "/tools/log-level-generic" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14886 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14887 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14888 "description" : "Get the log level of the log category `generic`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14889 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14890 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14891 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14892 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14893 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14894 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14895 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14896 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14897 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14898 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14899 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14900 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14901 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14902 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14903 "summary" : "Get log level for `generic`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14904 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14905 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14906 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14907 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14908 "description" : "Set the log level of the log category `generic`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14909 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14910 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14911 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14912 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14913 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14914 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14915 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14916 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14917 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14918 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14919 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14920 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14921 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14922 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14923 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14924 "summary" : "Set log level for `generic`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14925 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14926 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14927 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14928 "/tools/log-level-http" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14929 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14930 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14931 "description" : "Get the log level of the log category `http`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14932 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14933 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14934 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14935 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14936 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14937 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14938 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14939 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14940 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14941 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14942 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14943 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14944 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14945 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14946 "summary" : "Get log level for `http`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14947 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14948 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14949 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14950 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14951 "description" : "Set the log level of the log category `http`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14952 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14953 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14954 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14955 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14956 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14957 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14958 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14959 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14960 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14961 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14962 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14963 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14964 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14965 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14966 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14967 "summary" : "Set log level for `http`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14968 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14969 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14970 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14971 "/tools/log-level-jobs" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14972 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14973 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14974 "description" : "Get the log level of the log category `jobs`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14975 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14976 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14977 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14978 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14979 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14980 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14981 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14982 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14983 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14984 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14985 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14986 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14987 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14988 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14989 "summary" : "Get log level for `jobs`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14990 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14991 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14992 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14993 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14994 "description" : "Set the log level of the log category `jobs`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14995 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14996 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14997 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14998 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
14999 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15000 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15001 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15002 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15003 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15004 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15005 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15006 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15007 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15008 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15009 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15010 "summary" : "Set log level for `jobs`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15011 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15012 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15013 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15014 "/tools/log-level-lua" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15015 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15016 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15017 "description" : "Get the log level of the log category `lua`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15018 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15019 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15020 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15021 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15022 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15023 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15024 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15025 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15026 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15027 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15028 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15029 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15030 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15031 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15032 "summary" : "Get log level for `lua`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15033 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15034 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15035 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15036 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15037 "description" : "Set the log level of the log category `lua`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15038 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15039 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15040 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15041 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15042 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15043 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15044 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15045 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15046 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15047 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15048 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15049 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15050 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15051 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15052 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15053 "summary" : "Set log level for `lua`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15054 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15055 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15056 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15057 "/tools/log-level-plugins" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15058 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15059 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15060 "description" : "Get the log level of the log category `plugins`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15061 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15062 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15063 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15064 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15065 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15066 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15067 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15068 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15069 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15070 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15071 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15072 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15073 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15074 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15075 "summary" : "Get log level for `plugins`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15076 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15077 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15078 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15079 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15080 "description" : "Set the log level of the log category `plugins`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15081 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15082 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15083 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15084 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15085 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15086 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15087 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15088 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15089 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15090 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15091 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15092 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15093 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15094 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15095 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15096 "summary" : "Set log level for `plugins`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15097 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15098 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15099 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15100 "/tools/log-level-sqlite" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15101 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15102 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15103 "description" : "Get the log level of the log category `sqlite`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15104 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15105 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15106 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15107 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15108 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15109 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15110 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15111 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15112 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15113 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15114 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15115 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15116 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15117 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15118 "summary" : "Get log level for `sqlite`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15119 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15120 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15121 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15122 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15123 "description" : "Set the log level of the log category `sqlite`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15124 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15125 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15126 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15127 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15128 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15129 "description" : "Possible values: `default`, `verbose` or `trace`"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15130 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15131 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15132 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15133 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15134 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15135 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15136 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15137 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15138 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15139 "summary" : "Set log level for `sqlite`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15140 "tags" : [ "Logs" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15141 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15142 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15143 "/tools/lookup" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15144 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15145 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15146 "description" : "This URI can be used to convert one DICOM identifier to a list of matching Orthanc resources",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15147 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15148 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15149 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15150 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15151 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15152 "description" : "The DICOM identifier of interest (i.e. the value of `PatientID`, `StudyInstanceUID`, `SeriesInstanceUID`, or `SOPInstanceUID`)"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15153 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15154 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15155 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15156 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15157 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15158 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15159 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15160 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15161 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15162 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15163 "description" : "JSON array containing a list of matching Orthanc resources, each item in the list corresponding to a JSON object with the fields `Type`, `ID` and `Path` identifying one DICOM resource that is stored by Orthanc"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15164 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15165 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15166 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15167 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15168 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15169 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15170 "summary" : "Look for DICOM identifiers",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15171 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15172 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15173 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15174 "/tools/metrics" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15175 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15176 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15177 "description" : "Returns a Boolean specifying whether Prometheus metrics are collected and exposed at `/tools/metrics-prometheus`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15178 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15179 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15180 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15181 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15182 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15183 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15184 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15185 "description" : "`1` if metrics are collected, `0` if metrics are disabled"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15186 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15187 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15188 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15189 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15190 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15191 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15192 "summary" : "Are metrics collected?",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15193 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15194 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15195 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15196 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15197 "description" : "Enable or disable the collection and publication of metrics at `/tools/metrics-prometheus`",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15198 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15199 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15200 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15201 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15202 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15203 "description" : "`1` if metrics are collected, `0` if metrics are disabled"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15204 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15205 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15206 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15207 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15208 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15209 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15210 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15211 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15212 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15213 "summary" : "Enable collection of metrics",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15214 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15215 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15216 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15217 "/tools/metrics-prometheus" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15218 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15219 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15220 "description" : "Get usage metrics of Orthanc in the Prometheus file format (OpenMetrics): https://book.orthanc-server.com/users/advanced-rest.html#instrumentation-with-prometheus",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15221 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15222 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15223 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15224 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15225 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15226 "example" : "orthanc_count_instances 2552 1656599741752\northanc_count_patients 8 1656599741752\northanc_count_series 26 1656599741752\northanc_count_studies 8 1656599741752\northanc_dicom_cache_count 344 1656589511558\northanc_dicom_cache_size 127.937477 1656589511556\northanc_disk_size_mb 1018.65021 1656599741752\northanc_jobs_completed 10 1656599741752\northanc_jobs_failed 5 1656599741752\northanc_jobs_pending 0 1656599741752\northanc_jobs_running 0 1656599741752\northanc_jobs_success 5 1656599741752\northanc_rest_api_active_requests 1 1656599741751\northanc_rest_api_duration_ms 385 1656599740245\northanc_storage_read_duration_ms 16 1656599738604\northanc_uncompressed_size_mb 1018.65021 1656599741752\n"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15227 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15228 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15229 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15230 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15231 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15232 "summary" : "Get usage metrics",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15233 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15234 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15235 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15236 "/tools/now" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15237 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15238 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15239 "description" : "Get UTC time",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15240 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15241 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15242 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15243 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15244 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15245 "example" : "20220630T143541",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15246 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15247 "description" : "The UTC time"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15248 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15249 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15250 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15251 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15252 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15253 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15254 "summary" : "Get UTC time",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15255 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15256 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15257 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15258 "/tools/now-local" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15259 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15260 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15261 "description" : "Get local time",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15262 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15263 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15264 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15265 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15266 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15267 "example" : "20220630T143541",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15268 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15269 "description" : "The local time"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15270 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15271 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15272 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15273 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15274 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15275 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15276 "summary" : "Get local time",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15277 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15278 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15279 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15280 "/tools/reconstruct" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15281 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15282 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15283 "description" : "Reconstruct the index of all the tags of all the DICOM instances that are stored in Orthanc. This is notably useful after the deletion of resources whose children resources have inconsistent values with their sibling resources. Beware that this is a highly time-consuming operation, as all the DICOM instances will be parsed again, and as all the Orthanc index will be regenerated. If you have a large database to process, it is advised to use the Housekeeper plugin to perform this action resource by resource",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15284 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15285 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15286 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15287 "application/json" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15288 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15289 "description" : "",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15290 "properties" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15291 "ReconstructFiles" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15292 "description" : "Also reconstruct the files of the resources (e.g: apply IngestTranscoding, StorageCompression). 'false' by default. (New in Orthanc 1.11.0)",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15293 "type" : "boolean"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15294 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15295 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15296 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15297 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15298 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15299 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15300 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15301 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15302 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15303 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15304 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15305 "summary" : "Reconstruct all the index",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15306 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15307 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15308 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15309 "/tools/reset" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15310 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15311 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15312 "description" : "Restart Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15313 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15314 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15315 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15316 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15317 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15318 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15319 "summary" : "Restart Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15320 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15321 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15322 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15323 "/tools/shutdown" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15324 "post" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15325 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15326 "description" : "Shutdown Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15327 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15328 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15329 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15330 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15331 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15332 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15333 "summary" : "Shutdown Orthanc",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15334 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15335 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15336 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15337 "/tools/unknown-sop-class-accepted" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15338 "get" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15339 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15340 "description" : "Shall Orthanc C-STORE SCP accept DICOM instances with an unknown SOP class UID?",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15341 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15342 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15343 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15344 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15345 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15346 "examples" : {},
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15347 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15348 "description" : "`1` if accepted, `0` if not accepted"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15349 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15350 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15351 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15352 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15353 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15354 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15355 "summary" : "Is unknown SOP class accepted?",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15356 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15357 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15358 "put" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15359 "deprecated" : false,
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15360 "description" : "Set whether Orthanc C-STORE SCP should accept DICOM instances with an unknown SOP class UID",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15361 "parameters" : [],
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15362 "requestBody" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15363 "content" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15364 "text/plain" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15365 "schema" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15366 "description" : "`1` if accepted, `0` if not accepted"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15367 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15368 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15369 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15370 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15371 "responses" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15372 "200" : {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15373 "description" : ""
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15374 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15375 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15376 "summary" : "Set unknown SOP class accepted",
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15377 "tags" : [ "System" ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15378 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15379 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15380 },
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15381 "servers" : [
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15382 {
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15383 "url" : "https://demo.orthanc-server.com/"
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15384 }
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15385 ]
3e8a3a900e9e Orthanc 1.11.1
Alain Mazy <am@osimis.io>
parents: 842
diff changeset
15386 }