File tree Expand file tree Collapse file tree 4 files changed +36
-13
lines changed Expand file tree Collapse file tree 4 files changed +36
-13
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,20 @@ RunResponse:
10
10
- runID
11
11
- createdAt
12
12
13
+ RunListResponse :
14
+ type : object
15
+ additionalProperties : false
16
+ properties :
17
+ runs :
18
+ type : array
19
+ items :
20
+ $ref : ' #/Run'
21
+ pagination :
22
+ $ref : ' ./pagination.yml#/Pagination'
23
+ required :
24
+ - runs
25
+ - pagination
26
+
13
27
Run :
14
28
type : object
15
29
additionalProperties : false
Original file line number Diff line number Diff line change 13
13
content :
14
14
application/json :
15
15
schema :
16
- title : listRunsResponse
17
- type : object
18
- additionalProperties : false
19
- properties :
20
- runs :
21
- type : array
22
- items :
23
- $ref : ' ../../common/schemas/run.yml#/Run'
24
- pagination :
25
- $ref : ' ../../common/schemas/pagination.yml#/Pagination'
26
- required :
27
- - runs
28
- - pagination
16
+ $ref : ' ../../common/schemas/run.yml#/RunListResponse'
29
17
' 400 ' :
30
18
$ref : ' ../../../common/responses/BadRequest.yml'
Original file line number Diff line number Diff line change
1
+ get :
2
+ tags :
3
+ - observability
4
+ summary : Get a list of runs associated with a taskID.
5
+ description : Get a list of runs associated with a taskID.
6
+ operationId : getRunsByTaskID
7
+ parameters :
8
+ - $ref : ' ../../../common/parameters.yml#/taskID'
9
+ - $ref : ' ../../../common/parameters.yml#/itemsPerPage'
10
+ - $ref : ' ../../../common/parameters.yml#/page'
11
+ responses :
12
+ ' 200 ' :
13
+ description : OK
14
+ content :
15
+ application/json :
16
+ schema :
17
+ $ref : ' ../../../common/schemas/run.yml#/RunListResponse'
18
+ ' 400 ' :
19
+ $ref : ' ../../../../common/responses/BadRequest.yml'
Original file line number Diff line number Diff line change 75
75
$ref : ' paths/runs/events/events.yml'
76
76
/1/runs/{runID}/events/{eventID} :
77
77
$ref : ' paths/runs/events/eventID.yml'
78
+ /1/runs/tasks/{id} :
79
+ $ref : ' path/runs/tasks/taskID.yml'
You can’t perform that action at this time.
0 commit comments