Skip to content

Commit

Permalink
feat: add total_runs in response of GET /runs endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Mifrill committed Aug 1, 2022
1 parent c3b1985 commit ea05099
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openapi/components/schemas/RunListResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ properties:
next_page_token:
type: string
description: A token which may be supplied as `page_token` in workflow run list request to get the next page of results. An empty string indicates there are no more items to return.
total_runs:
type: integer
description: >-
Total count of workflow runs that the service has executed or is executing and the caller has permission to see.
description: The service will return a RunListResponse when receiving a successful RunListRequest.
4 changes: 4 additions & 0 deletions openapi/workflow_execution_service.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@
"next_page_token": {
"type": "string",
"description": "A token which may be supplied as `page_token` in workflow run list request to get the next page of results. An empty string indicates there are no more items to return."
},
"total_runs": {
"type": "integer",
"description": "Total count of workflow runs that the service has executed or is executing and the caller has permission to see."
}
},
"description": "The service will return a RunListResponse when receiving a successful RunListRequest."
Expand Down
4 changes: 4 additions & 0 deletions openapi/workflow_execution_service.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,10 @@ definitions:
description: >-
A token which may be supplied as `page_token` in workflow run list request to get the next page
of results. An empty string indicates there are no more items to return.
total_runs:
type: integer
description: >-
Total count of workflow runs that the service has executed or is executing and the caller has permission to see.
description: The service will return a RunListResponse when receiving a successful RunListRequest.
RunLog:
type: object
Expand Down

0 comments on commit ea05099

Please sign in to comment.