@@ -186,6 +186,22 @@ Feature: Incidents
186186 When the request is sent
187187 Then the response status is 404 Not Found
188188
189+ @generated @skip @team:DataDog/incident-app
190+ Scenario : Create global incident handle returns "Bad Request" response
191+ Given operation "CreateGlobalIncidentHandle" enabled
192+ And new "CreateGlobalIncidentHandle" request
193+ And body with value {"data" : {"attributes" : {"fields" : {"severity" : ["SEV-1" ]}, "name" : "@incident-sev-1" }, "id" : "b2494081-cdf0-4205-b366-4e1dd4fdf0bf" , "relationships" : {"commander_user" : {"data" : {"id" : "f7b538b1-ed7c-4e84-82de-fdf84a539d40" , "type" : "incident_types" }}, "incident_type" : {"data" : {"id" : "f7b538b1-ed7c-4e84-82de-fdf84a539d40" , "type" : "incident_types" }}}, "type" : "incidents_handles" }}
194+ When the request is sent
195+ Then the response status is 400 Bad Request
196+
197+ @generated @skip @team:DataDog/incident-app
198+ Scenario : Create global incident handle returns "Created" response
199+ Given operation "CreateGlobalIncidentHandle" enabled
200+ And new "CreateGlobalIncidentHandle" request
201+ And body with value {"data" : {"attributes" : {"fields" : {"severity" : ["SEV-1" ]}, "name" : "@incident-sev-1" }, "id" : "b2494081-cdf0-4205-b366-4e1dd4fdf0bf" , "relationships" : {"commander_user" : {"data" : {"id" : "f7b538b1-ed7c-4e84-82de-fdf84a539d40" , "type" : "incident_types" }}, "incident_type" : {"data" : {"id" : "f7b538b1-ed7c-4e84-82de-fdf84a539d40" , "type" : "incident_types" }}}, "type" : "incidents_handles" }}
202+ When the request is sent
203+ Then the response status is 201 Created
204+
189205 @generated @skip @team:DataDog/incident-app
190206 Scenario : Create incident attachment returns "Bad Request" response
191207 Given operation "CreateIncidentAttachment" enabled
@@ -447,6 +463,20 @@ Feature: Incidents
447463 When the request is sent
448464 Then the response status is 204 OK
449465
466+ @generated @skip @team:DataDog/incident-app
467+ Scenario : Delete global incident handle returns "Bad Request" response
468+ Given operation "DeleteGlobalIncidentHandle" enabled
469+ And new "DeleteGlobalIncidentHandle" request
470+ When the request is sent
471+ Then the response status is 400 Bad Request
472+
473+ @generated @skip @team:DataDog/incident-app
474+ Scenario : Delete global incident handle returns "No Content" response
475+ Given operation "DeleteGlobalIncidentHandle" enabled
476+ And new "DeleteGlobalIncidentHandle" request
477+ When the request is sent
478+ Then the response status is 204 No Content
479+
450480 @generated @skip @team:DataDog/incident-app
451481 Scenario : Delete incident attachment returns "Bad Request" response
452482 Given operation "DeleteIncidentAttachment" enabled
@@ -628,6 +658,20 @@ Feature: Incidents
628658 When the request is sent
629659 Then the response status is 200 OK
630660
661+ @generated @skip @team:DataDog/incident-app
662+ Scenario : Get global incident settings returns "Bad Request" response
663+ Given operation "GetGlobalIncidentSettings" enabled
664+ And new "GetGlobalIncidentSettings" request
665+ When the request is sent
666+ Then the response status is 400 Bad Request
667+
668+ @generated @skip @team:DataDog/incident-app
669+ Scenario : Get global incident settings returns "OK" response
670+ Given operation "GetGlobalIncidentSettings" enabled
671+ And new "GetGlobalIncidentSettings" request
672+ When the request is sent
673+ Then the response status is 200 OK
674+
631675 @generated @skip @team:DataDog/incident-app
632676 Scenario : Get incident integration metadata details returns "Bad Request" response
633677 Given operation "GetIncidentIntegration" enabled
@@ -811,6 +855,20 @@ Feature: Incidents
811855 When the request is sent
812856 Then the response status is 200 OK
813857
858+ @generated @skip @team:DataDog/incident-app
859+ Scenario : List global incident handles returns "Bad Request" response
860+ Given operation "ListGlobalIncidentHandles" enabled
861+ And new "ListGlobalIncidentHandles" request
862+ When the request is sent
863+ Then the response status is 400 Bad Request
864+
865+ @generated @skip @team:DataDog/incident-app
866+ Scenario : List global incident handles returns "OK" response
867+ Given operation "ListGlobalIncidentHandles" enabled
868+ And new "ListGlobalIncidentHandles" request
869+ When the request is sent
870+ Then the response status is 200 OK
871+
814872 @generated @skip @team:DataDog/incident-app
815873 Scenario : List incident attachments returns "Bad Request" response
816874 Given operation "ListIncidentAttachments" enabled
@@ -1073,6 +1131,38 @@ Feature: Incidents
10731131 When the request is sent
10741132 Then the response status is 200 OK
10751133
1134+ @generated @skip @team:DataDog/incident-app
1135+ Scenario : Update global incident handle returns "Bad Request" response
1136+ Given operation "UpdateGlobalIncidentHandle" enabled
1137+ And new "UpdateGlobalIncidentHandle" request
1138+ And body with value {"data" : {"attributes" : {"fields" : {"severity" : ["SEV-1" ]}, "name" : "@incident-sev-1" }, "id" : "b2494081-cdf0-4205-b366-4e1dd4fdf0bf" , "relationships" : {"commander_user" : {"data" : {"id" : "f7b538b1-ed7c-4e84-82de-fdf84a539d40" , "type" : "incident_types" }}, "incident_type" : {"data" : {"id" : "f7b538b1-ed7c-4e84-82de-fdf84a539d40" , "type" : "incident_types" }}}, "type" : "incidents_handles" }}
1139+ When the request is sent
1140+ Then the response status is 400 Bad Request
1141+
1142+ @generated @skip @team:DataDog/incident-app
1143+ Scenario : Update global incident handle returns "OK" response
1144+ Given operation "UpdateGlobalIncidentHandle" enabled
1145+ And new "UpdateGlobalIncidentHandle" request
1146+ And body with value {"data" : {"attributes" : {"fields" : {"severity" : ["SEV-1" ]}, "name" : "@incident-sev-1" }, "id" : "b2494081-cdf0-4205-b366-4e1dd4fdf0bf" , "relationships" : {"commander_user" : {"data" : {"id" : "f7b538b1-ed7c-4e84-82de-fdf84a539d40" , "type" : "incident_types" }}, "incident_type" : {"data" : {"id" : "f7b538b1-ed7c-4e84-82de-fdf84a539d40" , "type" : "incident_types" }}}, "type" : "incidents_handles" }}
1147+ When the request is sent
1148+ Then the response status is 200 OK
1149+
1150+ @generated @skip @team:DataDog/incident-app
1151+ Scenario : Update global incident settings returns "Bad Request" response
1152+ Given operation "UpdateGlobalIncidentSettings" enabled
1153+ And new "UpdateGlobalIncidentSettings" request
1154+ And body with value {"data" : {"attributes" : {"analytics_dashboard_id" : "abc-123-def" }, "type" : "incidents_global_settings" }}
1155+ When the request is sent
1156+ Then the response status is 400 Bad Request
1157+
1158+ @generated @skip @team:DataDog/incident-app
1159+ Scenario : Update global incident settings returns "OK" response
1160+ Given operation "UpdateGlobalIncidentSettings" enabled
1161+ And new "UpdateGlobalIncidentSettings" request
1162+ And body with value {"data" : {"attributes" : {"analytics_dashboard_id" : "abc-123-def" }, "type" : "incidents_global_settings" }}
1163+ When the request is sent
1164+ Then the response status is 200 OK
1165+
10761166 @generated @skip @team:DataDog/incident-app
10771167 Scenario : Update incident attachment returns "Bad Request" response
10781168 Given operation "UpdateIncidentAttachment" enabled
0 commit comments