|
1770 | 1770 | "in": "path", |
1771 | 1771 | "required": true, |
1772 | 1772 | "type": "string" |
| 1773 | + }, |
| 1774 | + { |
| 1775 | + "name": "version", |
| 1776 | + "description": "Deprecated. Use `deployment_version`.", |
| 1777 | + "in": "query", |
| 1778 | + "required": false, |
| 1779 | + "type": "string" |
1773 | 1780 | } |
1774 | 1781 | ], |
1775 | 1782 | "tags": [ |
|
1814 | 1821 | "required": true, |
1815 | 1822 | "type": "string" |
1816 | 1823 | }, |
| 1824 | + { |
| 1825 | + "name": "version", |
| 1826 | + "description": "Deprecated. Use `deployment_version`.", |
| 1827 | + "in": "query", |
| 1828 | + "required": false, |
| 1829 | + "type": "string" |
| 1830 | + }, |
1817 | 1831 | { |
1818 | 1832 | "name": "skipDrainage", |
1819 | 1833 | "description": "Pass to force deletion even if the Version is draining. In this case the open pinned\nworkflows will be stuck until manually moved to another version by UpdateWorkflowExecutionOptions.", |
|
5253 | 5267 | "in": "path", |
5254 | 5268 | "required": true, |
5255 | 5269 | "type": "string" |
| 5270 | + }, |
| 5271 | + { |
| 5272 | + "name": "version", |
| 5273 | + "description": "Deprecated. Use `deployment_version`.", |
| 5274 | + "in": "query", |
| 5275 | + "required": false, |
| 5276 | + "type": "string" |
5256 | 5277 | } |
5257 | 5278 | ], |
5258 | 5279 | "tags": [ |
|
5297 | 5318 | "required": true, |
5298 | 5319 | "type": "string" |
5299 | 5320 | }, |
| 5321 | + { |
| 5322 | + "name": "version", |
| 5323 | + "description": "Deprecated. Use `deployment_version`.", |
| 5324 | + "in": "query", |
| 5325 | + "required": false, |
| 5326 | + "type": "string" |
| 5327 | + }, |
5300 | 5328 | { |
5301 | 5329 | "name": "skipDrainage", |
5302 | 5330 | "description": "Pass to force deletion even if the Version is draining. In this case the open pinned\nworkflows will be stuck until manually moved to another version by UpdateWorkflowExecutionOptions.", |
|
6998 | 7026 | "WorkerDeploymentInfoWorkerDeploymentVersionSummary": { |
6999 | 7027 | "type": "object", |
7000 | 7028 | "properties": { |
| 7029 | + "version": { |
| 7030 | + "type": "string", |
| 7031 | + "description": "Deprecated. Use `deployment_version`." |
| 7032 | + }, |
7001 | 7033 | "deploymentVersion": { |
7002 | 7034 | "$ref": "#/definitions/v1WorkerDeploymentVersion" |
7003 | 7035 | }, |
|
7550 | 7582 | "WorkflowServiceSetWorkerDeploymentCurrentVersionBody": { |
7551 | 7583 | "type": "object", |
7552 | 7584 | "properties": { |
| 7585 | + "deploymentName": { |
| 7586 | + "type": "string", |
| 7587 | + "description": "Deprecated. Use `current`." |
| 7588 | + }, |
| 7589 | + "version": { |
| 7590 | + "type": "string", |
| 7591 | + "description": "Deprecated. Use `current`." |
| 7592 | + }, |
7553 | 7593 | "deploymentVersion": { |
7554 | 7594 | "$ref": "#/definitions/v1WorkerDeploymentVersion" |
7555 | 7595 | }, |
|
7575 | 7615 | "WorkflowServiceSetWorkerDeploymentRampingVersionBody": { |
7576 | 7616 | "type": "object", |
7577 | 7617 | "properties": { |
| 7618 | + "deploymentName": { |
| 7619 | + "type": "string", |
| 7620 | + "description": "Deprecated. Use `ramping`." |
| 7621 | + }, |
| 7622 | + "version": { |
| 7623 | + "type": "string", |
| 7624 | + "description": "Deprecated. Use `ramping`." |
| 7625 | + }, |
7578 | 7626 | "deploymentVersion": { |
7579 | 7627 | "$ref": "#/definitions/v1WorkerDeploymentVersion" |
7580 | 7628 | }, |
|
8085 | 8133 | "WorkflowServiceUpdateWorkerDeploymentVersionMetadataBody": { |
8086 | 8134 | "type": "object", |
8087 | 8135 | "properties": { |
| 8136 | + "version": { |
| 8137 | + "type": "string", |
| 8138 | + "description": "Deprecated. Use `deployment_version`." |
| 8139 | + }, |
8088 | 8140 | "deploymentVersion": { |
8089 | 8141 | "type": "object", |
8090 | 8142 | "description": "A Worker Deployment Version (Version, for short) represents a different\nversion of workers within a Worker Deployment. (see documentation of WorkerDeploymentVersionInfo)\nVersion records are created in Temporal server automatically when their\nfirst poller arrives to the server.\nExperimental. Worker Deployment Versions are experimental and might significantly change in the future." |
|
9746 | 9798 | "type": "object", |
9747 | 9799 | "properties": { |
9748 | 9800 | "version": { |
9749 | | - "$ref": "#/definitions/v1WorkerDeploymentVersion", |
9750 | | - "description": "Required. The target Version of the transition. May be `__unversioned__` which means a\nso-far-versioned workflow is transitioning to unversioned workers." |
| 9801 | + "type": "string", |
| 9802 | + "description": "Deprecated. Use `target`." |
| 9803 | + }, |
| 9804 | + "deploymentVersion": { |
| 9805 | + "$ref": "#/definitions/v1WorkerDeploymentVersion" |
| 9806 | + }, |
| 9807 | + "unversioned": { |
| 9808 | + "type": "boolean" |
9751 | 9809 | } |
9752 | 9810 | }, |
9753 | 9811 | "description": "Holds information about ongoing transition of a workflow execution from one worker\ndeployment version to another.\nExperimental. Might change in the future." |
@@ -12776,13 +12834,21 @@ |
12776 | 12834 | "type": "boolean", |
12777 | 12835 | "title": "Represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)" |
12778 | 12836 | }, |
| 12837 | + "currentVersion": { |
| 12838 | + "type": "string", |
| 12839 | + "description": "Deprecated. Use `current`." |
| 12840 | + }, |
12779 | 12841 | "rampingDeploymentVersion": { |
12780 | 12842 | "$ref": "#/definitions/v1WorkerDeploymentVersion" |
12781 | 12843 | }, |
12782 | 12844 | "rampingUnversioned": { |
12783 | 12845 | "type": "boolean", |
12784 | 12846 | "title": "Represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)" |
12785 | 12847 | }, |
| 12848 | + "rampingVersion": { |
| 12849 | + "type": "string", |
| 12850 | + "description": "Deprecated. Use `ramping`." |
| 12851 | + }, |
12786 | 12852 | "rampingVersionPercentage": { |
12787 | 12853 | "type": "number", |
12788 | 12854 | "format": "float", |
|
13270 | 13336 | "format": "byte", |
13271 | 13337 | "description": "This value is returned so that it can be optionally passed to APIs\nthat write to the Worker Deployment state to ensure that the state\ndid not change between this API call and a future write." |
13272 | 13338 | }, |
| 13339 | + "previousVersion": { |
| 13340 | + "type": "string", |
| 13341 | + "description": "Deprecated. Use `previous_current`." |
| 13342 | + }, |
13273 | 13343 | "deploymentVersion": { |
13274 | 13344 | "$ref": "#/definitions/v1WorkerDeploymentVersion" |
13275 | 13345 | }, |
|
13286 | 13356 | "format": "byte", |
13287 | 13357 | "description": "This value is returned so that it can be optionally passed to APIs\nthat write to the Worker Deployment state to ensure that the state\ndid not change between this API call and a future write." |
13288 | 13358 | }, |
| 13359 | + "previousVersion": { |
| 13360 | + "type": "string", |
| 13361 | + "description": "Deprecated. Use `previous_ramping`." |
| 13362 | + }, |
13289 | 13363 | "deploymentVersion": { |
13290 | 13364 | "$ref": "#/definitions/v1WorkerDeploymentVersion" |
13291 | 13365 | }, |
@@ -14139,13 +14213,21 @@ |
14139 | 14213 | "type": "boolean", |
14140 | 14214 | "title": "Represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)" |
14141 | 14215 | }, |
| 14216 | + "currentVersion": { |
| 14217 | + "type": "string", |
| 14218 | + "description": "Deprecated. Use `current`." |
| 14219 | + }, |
14142 | 14220 | "rampingDeploymentVersion": { |
14143 | 14221 | "$ref": "#/definitions/v1WorkerDeploymentVersion" |
14144 | 14222 | }, |
14145 | 14223 | "rampingUnversioned": { |
14146 | 14224 | "type": "boolean", |
14147 | 14225 | "title": "Represents all the unversioned workers (those with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)" |
14148 | 14226 | }, |
| 14227 | + "rampingVersion": { |
| 14228 | + "type": "string", |
| 14229 | + "description": "Deprecated. Use `ramping`." |
| 14230 | + }, |
14149 | 14231 | "rampingVersionPercentage": { |
14150 | 14232 | "type": "number", |
14151 | 14233 | "format": "float", |
|
14728 | 14810 | "v1WorkerDeploymentVersionInfo": { |
14729 | 14811 | "type": "object", |
14730 | 14812 | "properties": { |
| 14813 | + "version": { |
| 14814 | + "type": "string", |
| 14815 | + "description": "Deprecated. Use `deployment_version`." |
| 14816 | + }, |
14731 | 14817 | "deploymentVersion": { |
14732 | 14818 | "$ref": "#/definitions/v1WorkerDeploymentVersion" |
14733 | 14819 | }, |
|
15469 | 15555 | "description": "The worker deployment that completed the last workflow task of this workflow execution. Must\nbe present if `behavior` is set. Absent value means no workflow task is completed, or the\nlast workflow task was completed by an unversioned worker. Unversioned workers may still send\na deployment value which will be stored here, so the right way to check if an execution is\nversioned if an execution is versioned or not is via the `behavior` field.\nNote that `deployment` is overridden by `versioning_override` if the latter is present.\nDeprecated. Use `version`." |
15470 | 15556 | }, |
15471 | 15557 | "version": { |
| 15558 | + "$ref": "#/definitions/v1WorkerDeploymentVersion", |
| 15559 | + "description": "Deprecated. Use `deployment_version`." |
| 15560 | + }, |
| 15561 | + "deploymentVersion": { |
15472 | 15562 | "$ref": "#/definitions/v1WorkerDeploymentVersion", |
15473 | 15563 | "description": "The Worker Deployment Version that completed the last workflow task of this workflow execution.\nMust be present if and only if `behavior` is set. An absent value means no workflow task is\ncompleted, or the workflow is unversioned.\nFor child workflows of Pinned parents, this will be set to parent's Pinned Version when the\nthe child starts so that child's first workflow task goes to the same Version as the parent.\nNote that if `versioning_override.behavior` is PINNED then `versioning_override.pinned_version`\nwill override this value." |
15474 | 15564 | }, |
|
0 commit comments