You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .generator/schemas/v2/openapi.yaml
+142-2Lines changed: 142 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29827,15 +29827,109 @@ components:
29827
29827
- service
29828
29828
- started_at
29829
29829
type: object
29830
+
DORADeploymentPatchByVersionRemediation:
29831
+
description: Remediation details for the deployment. Optional, but required to calculate failed deployment recovery time. Specify either `id` or `version` to identify the remediation deployment, but not both.
description: Remediation details identified by the version of the remediation deployment, matched against the same service and environment as the failed deployment.
description: Remediation details for the deployment. Optional, but required to calculate failed deployment recovery time.
29921
+
description: Remediation details for the deployment. Optional, but required to calculate failed deployment recovery time. Specify either `id` or `version` to identify the remediation deployment, but not both.
29832
29922
properties:
29833
29923
id:
29834
-
description: The ID of the remediation deployment. Required when the failed deployment must be linked to a remediation deployment.
29924
+
description: The ID of the remediation deployment. Use this or `version` to identify the remediation deployment, but not both.
description: The version of the remediation deployment, matched against the same service and environment as the failed deployment. Use this or `id` to identify the remediation deployment, but not both.
29931
+
example: v1.2.4
29932
+
type: string
29839
29933
type: object
29840
29934
DORADeploymentPatchRemediationType:
29841
29935
description: The type of remediation action taken. Required when the failed deployment must be linked to a remediation deployment.
@@ -140896,6 +140990,52 @@ paths:
140896
140990
permissions:
140897
140991
- dora_metrics_write
140898
140992
/api/v2/dora/deployments:
140993
+
patch:
140994
+
description: |-
140995
+
Update a deployment's change failure status, identifying the deployment by its service, environment, and version instead of its ID. Use this to mark a deployment as a change failure or back to stable. You can optionally include remediation details to enable failed deployment recovery time calculation. If multiple deployments match the given service, environment, and version, the most recently finished one is updated.
Update a deployment's change failure status, identifying the deployment by its service, environment, and version instead of its ID. Use this to mark a deployment as a change failure or back to stable. You can optionally include remediation details to enable failed deployment recovery time calculation. If multiple deployments match the given service, environment, and version, the most recently finished one is updated.
Remediation details for the deployment. Optional, but required to calculate failed deployment recovery time. Specify either ``id`` or ``version`` to identify the remediation deployment, but not both.
17
+
18
+
:param id: The ID of the remediation deployment.
19
+
:type id: str
20
+
21
+
:param type: The type of remediation action taken. Required when the failed deployment must be linked to a remediation deployment.
22
+
:type type: DORADeploymentPatchRemediationType
23
+
24
+
:param version: The version of the remediation deployment.
25
+
:type version: str
26
+
"""
27
+
super().__init__(kwargs)
28
+
29
+
@cached_property
30
+
def_composed_schemas(_):
31
+
# we need this here to make our import statements work
32
+
# we must store _composed_schemas in here so the code is only run
33
+
# when we invoke this method. If we kept this at the class
34
+
# level we would get an error because the class level
35
+
# code would be run when this module is imported, and these composed
36
+
# classes don't exist yet because their module has not finished
0 commit comments