File tree Expand file tree Collapse file tree 2 files changed +126
-0
lines changed Expand file tree Collapse file tree 2 files changed +126
-0
lines changed Original file line number Diff line number Diff line change @@ -295,6 +295,69 @@ paths:
295295 application/json :
296296 schema :
297297 type : string
298+ /experiments/{expUUID}/outputs/data/{outputId}/tree :
299+ post :
300+ tags :
301+ - Data Tree
302+ summary : API to get the data tree
303+ description : " Unique entry point for output providers, to get the tree of visible\
304+ \ entries"
305+ operationId : getDataTree
306+ parameters :
307+ - name : expUUID
308+ in : path
309+ description : UUID of the experiment to query
310+ required : true
311+ schema :
312+ type : string
313+ format : uuid
314+ - name : outputId
315+ in : path
316+ description : ID of the output provider to query
317+ required : true
318+ schema :
319+ type : string
320+ requestBody :
321+ description : Query parameters to fetch the data tree entries. The object 'requested_timerange'
322+ specifies the requested time range. When absent the tree for the full range
323+ is returned.
324+ content :
325+ application/json :
326+ schema :
327+ $ref : ' #/components/schemas/TreeQueryParameters'
328+ example :
329+ parameters :
330+ requested_timerange :
331+ start : 111111111
332+ end : 222222222
333+ required : true
334+ responses :
335+ " 200 " :
336+ description : " Returns a list of data tree entries. The returned model must\
337+ \ be consistent, parentIds must refer to a parent which exists in the\
338+ \ model."
339+ content :
340+ application/json :
341+ schema :
342+ $ref : ' #/components/schemas/XYTreeResponse'
343+ " 400 " :
344+ description : Invalid query parameters
345+ content :
346+ application/json :
347+ schema :
348+ type : string
349+ " 404 " :
350+ description : Experiment or output provider not found
351+ content :
352+ application/json :
353+ schema :
354+ type : string
355+ " 405 " :
356+ description : Analysis cannot run
357+ content :
358+ application/json :
359+ schema :
360+ type : string
298361 /experiments/{expUUID}/outputs/table/{outputId}/lines :
299362 post :
300363 tags :
Original file line number Diff line number Diff line change @@ -285,6 +285,69 @@ paths:
285285 application/json :
286286 schema :
287287 type : string
288+ /experiments/{expUUID}/outputs/data/{outputId}/tree :
289+ post :
290+ tags :
291+ - Data Tree
292+ summary : API to get the data tree
293+ description : " Unique entry point for output providers, to get the tree of visible\
294+ \ entries"
295+ operationId : getDataTree
296+ parameters :
297+ - name : expUUID
298+ in : path
299+ description : UUID of the experiment to query
300+ required : true
301+ schema :
302+ type : string
303+ format : uuid
304+ - name : outputId
305+ in : path
306+ description : ID of the output provider to query
307+ required : true
308+ schema :
309+ type : string
310+ requestBody :
311+ description : Query parameters to fetch the data tree entries. The object 'requested_timerange'
312+ specifies the requested time range. When absent the tree for the full range
313+ is returned.
314+ content :
315+ application/json :
316+ schema :
317+ $ref : ' #/components/schemas/TreeQueryParameters'
318+ example :
319+ parameters :
320+ requested_timerange :
321+ start : 111111111
322+ end : 222222222
323+ required : true
324+ responses :
325+ " 200 " :
326+ description : " Returns a list of data tree entries. The returned model must\
327+ \ be consistent, parentIds must refer to a parent which exists in the\
328+ \ model."
329+ content :
330+ application/json :
331+ schema :
332+ $ref : ' #/components/schemas/XYTreeResponse'
333+ " 400 " :
334+ description : Invalid query parameters
335+ content :
336+ application/json :
337+ schema :
338+ type : string
339+ " 404 " :
340+ description : Experiment or output provider not found
341+ content :
342+ application/json :
343+ schema :
344+ type : string
345+ " 405 " :
346+ description : Analysis cannot run
347+ content :
348+ application/json :
349+ schema :
350+ type : string
288351 /experiments/{expUUID}/outputs/table/{outputId}/lines :
289352 post :
290353 tags :
You can’t perform that action at this time.
0 commit comments