2929 summary : POST/create a pipeline
3030 tags :
3131 - pipelines
32+ security :
33+ - JSON-Web-Token : []
3234 requestBody :
3335 content :
3436 application/json :
3739 responses :
3840 ' 201 ' :
3941 description : Created
42+ ' 401 ' :
43+ description : Unauthorized - Authentication required
4044 /pipelines/{id} :
4145 get :
4246 summary : GET a pipeline by ID
@@ -160,112 +164,48 @@ paths:
160164 responses :
161165 ' 204 ' :
162166 description : No Content
163-
164- /pipeline-runs / :
167+
168+ /pipeline-study-results / :
165169 get :
166- summary : GET a list of pipeline runs
167- tags :
168- - pipeline-runs
169- responses :
170- ' 200 ' :
171- description : OK
172- content :
173- application/json :
174- schema :
175- $ref : ' #/components/schemas/pipeline-run-list'
176- post :
177- summary : POST/create a pipeline run
178- tags :
179- - pipeline-runs
180- requestBody :
181- content :
182- application/json :
183- schema :
184- $ref : ' #/components/schemas/pipeline-run'
185- responses :
186- ' 201 ' :
187- description : Created
188- /pipeline-runs/{pipeline_run_id} :
189- get :
190- summary : GET a pipeline run by ID
191- tags :
192- - pipeline-runs
193- parameters :
194- - name : pipeline_run_id
195- in : path
196- required : true
197- schema :
198- type : string
199- responses :
200- ' 200 ' :
201- description : OK
202- content :
203- application/json :
204- schema :
205- $ref : ' #/components/schemas/pipeline-run'
206- put :
207- summary : PUT/update a pipeline run by ID
208- tags :
209- - pipeline-runs
210- parameters :
211- - name : pipeline_run_id
212- in : path
213- required : true
214- schema :
215- type : string
216- requestBody :
217- content :
218- application/json :
219- schema :
220- $ref : ' #/components/schemas/pipeline-run'
221- responses :
222- ' 200 ' :
223- description : OK
224- delete :
225- summary : DELETE a pipeline run by ID
170+ summary : GET a list of pipeline run results
226171 tags :
227- - pipeline-runs
172+ - pipeline-study-results
228173 parameters :
229- - name : pipeline_run_id
230- in : path
231- required : true
174+ - name : feature_filter
175+ in : query
176+ description : Filter results by feature content using jsonpath syntax
177+ required : false
232178 schema :
233- type : string
234- responses :
235- ' 204 ' :
236- description : No Content
237-
238- /pipeline-run-results/ :
239- get :
240- summary : GET a list of pipeline run results
241- tags :
242- - pipeline-run-results
179+ type : array
180+ items :
181+ type : string
182+ example : ' groups.diagnosis=ADHD'
243183 responses :
244184 ' 200 ' :
245185 description : OK
246186 content :
247187 application/json :
248188 schema :
249- $ref : ' #/components/schemas/pipeline-run -result-list'
189+ $ref : ' #/components/schemas/pipeline-study -result-list'
250190 post :
251191 summary : POST/create a pipeline run result
252192 tags :
253- - pipeline-run -results
193+ - pipeline-study -results
254194 requestBody :
255195 content :
256196 application/json :
257197 schema :
258- $ref : ' #/components/schemas/pipeline-run -result'
198+ $ref : ' #/components/schemas/pipeline-study -result'
259199 responses :
260200 ' 201 ' :
261201 description : Created
262- /pipeline-run -results/{pipeline_run_result_id } :
202+ /pipeline-study -results/{pipeline_study_result_id } :
263203 get :
264204 summary : GET a pipeline run result by ID
265205 tags :
266- - pipeline-run -results
206+ - pipeline-study -results
267207 parameters :
268- - name : pipeline_run_result_id
208+ - name : pipeline_study_result_id
269209 in : path
270210 required : true
271211 schema :
@@ -276,13 +216,13 @@ paths:
276216 content :
277217 application/json :
278218 schema :
279- $ref : ' #/components/schemas/pipeline-run -result'
219+ $ref : ' #/components/schemas/pipeline-study -result'
280220 put :
281221 summary : PUT/update a pipeline run result by ID
282222 tags :
283- - pipeline-run -results
223+ - pipeline-study -results
284224 parameters :
285- - name : pipeline_run_result_id
225+ - name : pipeline_study_result_id
286226 in : path
287227 required : true
288228 schema :
@@ -291,90 +231,16 @@ paths:
291231 content :
292232 application/json :
293233 schema :
294- $ref : ' #/components/schemas/pipeline-run -result'
234+ $ref : ' #/components/schemas/pipeline-study -result'
295235 responses :
296236 ' 200 ' :
297237 description : OK
298238 delete :
299239 summary : DELETE a pipeline run result by ID
300240 tags :
301- - pipeline-run-results
302- parameters :
303- - name : pipeline_run_result_id
304- in : path
305- required : true
306- schema :
307- type : string
308- responses :
309- ' 204 ' :
310- description : No Content
311-
312- /pipeline-run-result-votes/ :
313- get :
314- summary : GET a list of pipeline run result votes
315- tags :
316- - pipeline-run-result-votes
317- responses :
318- ' 200 ' :
319- description : OK
320- content :
321- application/json :
322- schema :
323- $ref : ' #/components/schemas/pipeline-run-result-vote-list'
324- post :
325- summary : POST/create a pipeline run result vote
326- tags :
327- - pipeline-run-result-votes
328- requestBody :
329- content :
330- application/json :
331- schema :
332- $ref : ' #/components/schemas/pipeline-run-result-vote'
333- responses :
334- ' 201 ' :
335- description : Created
336- /pipeline-run-result-votes/{pipeline_run_result_vote_id} :
337- get :
338- summary : GET a pipeline run result vote by ID
339- tags :
340- - pipeline-run-result-votes
341- parameters :
342- - name : pipeline_run_result_vote_id
343- in : path
344- required : true
345- schema :
346- type : string
347- responses :
348- ' 200 ' :
349- description : OK
350- content :
351- application/json :
352- schema :
353- $ref : ' #/components/schemas/pipeline-run-result-vote'
354- put :
355- summary : PUT/update a pipeline run result vote by ID
356- tags :
357- - pipeline-run-result-votes
358- parameters :
359- - name : pipeline_run_result_vote_id
360- in : path
361- required : true
362- schema :
363- type : string
364- requestBody :
365- content :
366- application/json :
367- schema :
368- $ref : ' #/components/schemas/pipeline-run-result-vote'
369- responses :
370- ' 200 ' :
371- description : OK
372- delete :
373- summary : DELETE a pipeline run result vote by ID
374- tags :
375- - pipeline-run-result-votes
241+ - pipeline-study-results
376242 parameters :
377- - name : pipeline_run_result_vote_id
243+ - name : pipeline_study_result_id
378244 in : path
379245 required : true
380246 schema :
@@ -1189,6 +1055,18 @@ paths:
11891055 schema :
11901056 $ref : ' #/components/schemas/base-study-list'
11911057 parameters :
1058+ - name : feature_filter
1059+ in : query
1060+ description : Filter studies by features
1061+ required : false
1062+ schema :
1063+ type : string
1064+ - name : feature_display
1065+ in : query
1066+ description : display features from pipelines
1067+ required : false
1068+ schema :
1069+ type : string
11921070 - $ref : ' #/components/parameters/search'
11931071 - $ref : ' #/components/parameters/sort'
11941072 - $ref : ' #/components/parameters/page'
@@ -1423,62 +1301,22 @@ components:
14231301 $ref : ' #/components/schemas/pipeline-config'
14241302 metadata :
14251303 $ref : ' #/components/schemas/metadata'
1426- pipeline-run :
1304+ pipeline-study-result :
14271305 type : object
14281306 properties :
14291307 id :
14301308 type : string
1431- status :
1432- type : string
1433- started_at :
1434- type : string
1435- finished_at :
1436- type : string
1437- pipeline-run-list :
1438- type : object
1439- properties :
1440- results :
1441- type : array
1442- items :
1443- $ref : ' #/components/schemas/pipeline-run'
1444- metadata :
1445- $ref : ' #/components/schemas/metadata'
1446- pipeline-run-result :
1447- type : object
1448- properties :
1449- id :
1450- type : string
1451- pipeline_run_id :
1309+ pipeline_config_id :
14521310 type : string
14531311 data :
14541312 type : object
1455- pipeline-run-result-list :
1456- type : object
1457- properties :
1458- results :
1459- type : array
1460- items :
1461- $ref : ' #/components/schemas/pipeline-run-result'
1462- metadata :
1463- $ref : ' #/components/schemas/metadata'
1464- pipeline-run-result-vote :
1465- type : object
1466- properties :
1467- id :
1468- type : string
1469- pipeline_run_result_id :
1470- type : string
1471- user_id :
1472- type : string
1473- vote :
1474- type : integer
1475- pipeline-run-result-vote-list :
1313+ pipeline-study-result-list :
14761314 type : object
14771315 properties :
14781316 results :
14791317 type : array
14801318 items :
1481- $ref : ' #/components/schemas/pipeline-run -result-vote '
1319+ $ref : ' #/components/schemas/pipeline-study -result'
14821320 metadata :
14831321 $ref : ' #/components/schemas/metadata'
14841322 studyset-return :
@@ -2368,6 +2206,9 @@ components:
23682206 allOf :
23692207 - $ref : ' #/components/schemas/base-study'
23702208 - $ref : ' #/components/schemas/resource-attributes'
2209+ properties :
2210+ features :
2211+ type : object
23712212 base-study-list :
23722213 title : base-study-list
23732214 x-stoplight :
0 commit comments