Skip to content

Commit 4342459

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Mark Incident Impact Endpoints stable (#3016)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 2b59847 commit 4342459

File tree

4 files changed

+4
-16
lines changed

4 files changed

+4
-16
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67941,6 +67941,7 @@ paths:
6794167941
- us3.datadoghq.com
6794267942
- us5.datadoghq.com
6794367943
- ap1.datadoghq.com
67944+
- ap2.datadoghq.com
6794467945
- datadoghq.eu
6794567946
- ddog-gov.com
6794667947
subdomain:
@@ -69008,9 +69009,6 @@ paths:
6900869009
operator: OR
6900969010
permissions:
6901069011
- incident_read
69011-
x-unstable: '**Note**: This endpoint is in Preview.
69012-
69013-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6901469012
post:
6901569013
description: Create an impact for an incident.
6901669014
operationId: CreateIncidentImpact
@@ -69054,9 +69052,6 @@ paths:
6905469052
operator: OR
6905569053
permissions:
6905669054
- incident_write
69057-
x-unstable: '**Note**: This endpoint is in Preview.
69058-
69059-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6906069055
/api/v2/incidents/{incident_id}/impacts/{impact_id}:
6906169056
delete:
6906269057
description: Delete an incident impact.
@@ -69087,9 +69082,6 @@ paths:
6908769082
operator: OR
6908869083
permissions:
6908969084
- incident_write
69090-
x-unstable: '**Note**: This endpoint is in Preview.
69091-
69092-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6909369085
/api/v2/incidents/{incident_id}/relationships/integrations:
6909469086
get:
6909569087
description: Get all integration metadata for an incident.

src/datadog_api_client/configuration.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,14 +307,12 @@ def __init__(
307307
"v2.update_deployment_gate": False,
308308
"v2.update_deployment_rule": False,
309309
"v2.create_incident": False,
310-
"v2.create_incident_impact": False,
311310
"v2.create_incident_integration": False,
312311
"v2.create_incident_notification_rule": False,
313312
"v2.create_incident_notification_template": False,
314313
"v2.create_incident_todo": False,
315314
"v2.create_incident_type": False,
316315
"v2.delete_incident": False,
317-
"v2.delete_incident_impact": False,
318316
"v2.delete_incident_integration": False,
319317
"v2.delete_incident_notification_rule": False,
320318
"v2.delete_incident_notification_template": False,
@@ -327,7 +325,6 @@ def __init__(
327325
"v2.get_incident_todo": False,
328326
"v2.get_incident_type": False,
329327
"v2.list_incident_attachments": False,
330-
"v2.list_incident_impacts": False,
331328
"v2.list_incident_integrations": False,
332329
"v2.list_incident_notification_rules": False,
333330
"v2.list_incident_notification_templates": False,

src/datadog_api_client/v2/api/events_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def __init__(self, api_client=None):
5555
"us3.datadoghq.com",
5656
"us5.datadoghq.com",
5757
"ap1.datadoghq.com",
58+
"ap2.datadoghq.com",
5859
"datadoghq.eu",
5960
"ddog-gov.com",
6061
],

tests/v2/features/incidents.feature

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -806,16 +806,14 @@ Feature: Incidents
806806

807807
@generated @skip @team:DataDog/incident-app
808808
Scenario: List an incident's impacts returns "Bad Request" response
809-
Given operation "ListIncidentImpacts" enabled
810-
And new "ListIncidentImpacts" request
809+
Given new "ListIncidentImpacts" request
811810
And request contains "incident_id" parameter from "REPLACE.ME"
812811
When the request is sent
813812
Then the response status is 400 Bad Request
814813

815814
@generated @skip @team:DataDog/incident-app
816815
Scenario: List an incident's impacts returns "Not Found" response
817-
Given operation "ListIncidentImpacts" enabled
818-
And new "ListIncidentImpacts" request
816+
Given new "ListIncidentImpacts" request
819817
And request contains "incident_id" parameter from "REPLACE.ME"
820818
When the request is sent
821819
Then the response status is 404 Not Found

0 commit comments

Comments
 (0)