diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 57fc95403..8d2333416 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -6812,6 +6812,18 @@ }, "routingConfig": { "$ref": "#/definitions/v1RoutingConfig" + }, + "latestVersionSummary": { + "$ref": "#/definitions/WorkerDeploymentInfoWorkerDeploymentVersionSummary", + "description": "Summary of the version that was added most recently in the Worker Deployment." + }, + "currentVersionSummary": { + "$ref": "#/definitions/WorkerDeploymentInfoWorkerDeploymentVersionSummary", + "description": "Summary of the current version of the Worker Deployment." + }, + "rampingVersionSummary": { + "$ref": "#/definitions/WorkerDeploymentInfoWorkerDeploymentVersionSummary", + "description": "Summary of the ramping version of the Worker Deployment." } }, "title": "A subset of WorkerDeploymentInfo" diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 1880a9b36..b36613d60 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -8251,6 +8251,18 @@ components: format: date-time routingConfig: $ref: '#/components/schemas/RoutingConfig' + latestVersionSummary: + allOf: + - $ref: '#/components/schemas/WorkerDeploymentInfo_WorkerDeploymentVersionSummary' + description: Summary of the version that was added most recently in the Worker Deployment. + currentVersionSummary: + allOf: + - $ref: '#/components/schemas/WorkerDeploymentInfo_WorkerDeploymentVersionSummary' + description: Summary of the current version of the Worker Deployment. + rampingVersionSummary: + allOf: + - $ref: '#/components/schemas/WorkerDeploymentInfo_WorkerDeploymentVersionSummary' + description: Summary of the ramping version of the Worker Deployment. description: A subset of WorkerDeploymentInfo ListWorkflowExecutionsResponse: type: object diff --git a/temporal/api/workflowservice/v1/request_response.proto b/temporal/api/workflowservice/v1/request_response.proto index 48400be1e..389c34208 100644 --- a/temporal/api/workflowservice/v1/request_response.proto +++ b/temporal/api/workflowservice/v1/request_response.proto @@ -2146,6 +2146,12 @@ message ListWorkerDeploymentsResponse { string name = 1; google.protobuf.Timestamp create_time = 2; temporal.api.deployment.v1.RoutingConfig routing_config = 3; + // Summary of the version that was added most recently in the Worker Deployment. + temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary latest_version_summary = 4; + // Summary of the current version of the Worker Deployment. + temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary current_version_summary = 5; + // Summary of the ramping version of the Worker Deployment. + temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary ramping_version_summary = 6; } }