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
+144-2Lines changed: 144 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29678,15 +29678,111 @@ components:
29678
29678
- service
29679
29679
- started_at
29680
29680
type: object
29681
+
DORADeploymentPatchByVersionRemediation:
29682
+
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.
29772
+
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.
29683
29773
properties:
29684
29774
id:
29685
-
description: The ID of the remediation deployment. Required when the failed deployment must be linked to a remediation deployment.
29775
+
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.
29782
+
example: v1.2.4
29783
+
type: string
29784
+
required:
29785
+
- type
29690
29786
type: object
29691
29787
DORADeploymentPatchRemediationType:
29692
29788
description: The type of remediation action taken. Required when the failed deployment must be linked to a remediation deployment.
@@ -140417,6 +140513,52 @@ paths:
140417
140513
permissions:
140418
140514
- dora_metrics_write
140419
140515
/api/v2/dora/deployments:
140516
+
patch:
140517
+
description: |-
140518
+
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