Mercurial > gemma
annotate api/server/ui/swagger.json @ 213:2fad2931a5a6
Fix for [issue78] gemma back end broken for me since 213:3d0988d9f867
During unification of the two connection pool implementions
forget to initialize the tokens -> connection mapping
in the non-persistent case.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 23 Jul 2018 20:38:40 +0200 |
parents | 9fcfccb18b16 |
children |
rev | line source |
---|---|
169
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
1 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
2 "openapi": "3.0.0", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
3 "info": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
4 "version": "1.0.0", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
5 "title": "Gemma", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
6 "description": "API draft of gemma backend" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
7 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
8 "servers": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
9 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
10 "url": "http://localhost:8000" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
11 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
12 ], |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
13 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
14 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
15 "name": "users", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
16 "description": "User related stuff" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
17 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
18 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
19 "name": "auth", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
20 "description": "Login logout" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
21 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
22 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
23 "name": "health", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
24 "description": "Everything considered health" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
25 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
26 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
27 "name": "management", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
28 "description": "Everything about management" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
29 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
30 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
31 "name": "templates", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
32 "description": "Everything about templates" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
33 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
34 ], |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
35 "paths": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
36 "/users": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
37 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
38 "summary": "Get list of users", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
39 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
40 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
41 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
42 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
43 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
44 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
45 "users" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
46 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
47 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
48 "post": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
49 "summary": "Create a new user", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
50 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
51 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
52 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
53 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
54 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
55 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
56 "users" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
57 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
58 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
59 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
60 "/users/{id}": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
61 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
62 "summary": "Get user with id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
63 "parameters": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
64 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
65 "in": "path", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
66 "name": "id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
67 "schema": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
68 "type": "integer" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
69 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
70 "required": true |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
71 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
72 ], |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
73 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
74 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
75 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
76 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
77 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
78 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
79 "users" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
80 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
81 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
82 "put": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
83 "summary": "Update user with id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
84 "parameters": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
85 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
86 "in": "path", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
87 "name": "id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
88 "schema": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
89 "type": "integer" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
90 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
91 "required": true |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
92 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
93 ], |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
94 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
95 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
96 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
97 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
98 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
99 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
100 "users" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
101 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
102 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
103 "patch": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
104 "summary": "Partially update user with id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
105 "parameters": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
106 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
107 "in": "path", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
108 "name": "id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
109 "schema": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
110 "type": "integer" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
111 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
112 "required": true |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
113 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
114 ], |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
115 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
116 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
117 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
118 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
119 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
120 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
121 "users" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
122 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
123 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
124 "delete": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
125 "summary": "Delete user with id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
126 "parameters": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
127 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
128 "in": "path", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
129 "name": "id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
130 "schema": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
131 "type": "integer" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
132 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
133 "required": true |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
134 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
135 ], |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
136 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
137 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
138 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
139 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
140 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
141 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
142 "users" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
143 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
144 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
145 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
146 "/users/{id}/passwordreset": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
147 "post": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
148 "summary": "Reset password for user with id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
149 "parameters": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
150 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
151 "in": "path", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
152 "name": "id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
153 "schema": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
154 "type": "integer" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
155 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
156 "required": true |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
157 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
158 ], |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
159 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
160 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
161 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
162 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
163 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
164 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
165 "users" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
166 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
167 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
168 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
169 "/login": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
170 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
171 "summary": "Authenticates user", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
172 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
173 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
174 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
175 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
176 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
177 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
178 "auth" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
179 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
180 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
181 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
182 "/logout": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
183 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
184 "summary": "Deauthenticates user", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
185 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
186 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
187 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
188 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
189 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
190 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
191 "auth" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
192 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
193 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
194 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
195 "/health/hardware": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
196 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
197 "summary": "Access hardware logs", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
198 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
199 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
200 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
201 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
202 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
203 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
204 "health" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
205 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
206 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
207 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
208 "/health/system": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
209 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
210 "summary": "Access sytem eventlogs", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
211 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
212 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
213 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
214 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
215 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
216 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
217 "health" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
218 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
219 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
220 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
221 "/health/access": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
222 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
223 "summary": "Access the access logs", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
224 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
225 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
226 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
227 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
228 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
229 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
230 "health" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
231 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
232 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
233 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
234 "/health/sendtestmail": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
235 "post": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
236 "summary": "Send testemail", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
237 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
238 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
239 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
240 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
241 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
242 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
243 "health" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
244 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
245 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
246 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
247 "/management": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
248 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
249 "summary": "Get the current system settings", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
250 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
251 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
252 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
253 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
254 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
255 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
256 "management" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
257 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
258 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
259 "put": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
260 "summary": "Update the current system settings", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
261 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
262 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
263 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
264 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
265 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
266 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
267 "management" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
268 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
269 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
270 "patch": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
271 "summary": "Partially update the current system settings", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
272 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
273 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
274 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
275 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
276 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
277 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
278 "management" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
279 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
280 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
281 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
282 "/templates": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
283 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
284 "summary": "Get the templates", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
285 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
286 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
287 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
288 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
289 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
290 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
291 "templates" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
292 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
293 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
294 "post": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
295 "summary": "Create template", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
296 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
297 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
298 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
299 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
300 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
301 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
302 "templates" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
303 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
304 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
305 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
306 "/templates/{id}": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
307 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
308 "summary": "Get template with id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
309 "parameters": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
310 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
311 "in": "path", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
312 "name": "id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
313 "schema": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
314 "type": "integer" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
315 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
316 "required": true |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
317 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
318 ], |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
319 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
320 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
321 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
322 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
323 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
324 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
325 "templates" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
326 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
327 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
328 "put": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
329 "summary": "Update template with id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
330 "parameters": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
331 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
332 "in": "path", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
333 "name": "id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
334 "schema": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
335 "type": "integer" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
336 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
337 "required": true |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
338 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
339 ], |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
340 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
341 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
342 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
343 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
344 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
345 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
346 "templates" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
347 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
348 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
349 "patch": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
350 "summary": "Partially update template with id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
351 "parameters": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
352 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
353 "in": "path", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
354 "name": "id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
355 "schema": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
356 "type": "integer" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
357 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
358 "required": true |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
359 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
360 ], |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
361 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
362 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
363 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
364 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
365 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
366 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
367 "templates" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
368 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
369 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
370 "delete": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
371 "summary": "Delete template with id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
372 "parameters": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
373 { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
374 "in": "path", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
375 "name": "id", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
376 "schema": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
377 "type": "integer" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
378 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
379 "required": true |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
380 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
381 ], |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
382 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
383 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
384 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
385 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
386 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
387 "tags": [ |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
388 "templates" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
389 ] |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
390 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
391 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
392 "/maps": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
393 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
394 "summary": "Everything about maps", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
395 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
396 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
397 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
398 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
399 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
400 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
401 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
402 "/search": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
403 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
404 "summary": "Search", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
405 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
406 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
407 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
408 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
409 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
410 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
411 }, |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
412 "/bottlenecks": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
413 "get": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
414 "summary": "Search", |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
415 "responses": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
416 "200": { |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
417 "description": "Success response" |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
418 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
419 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
420 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
421 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
422 } |
9fcfccb18b16
feat: Added draft version of API specification for server
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
423 } |