Skip to content

Commit 9780a5d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 092a87c8 of spec repo
1 parent 6e274ae commit 9780a5d

File tree

22 files changed

+70
-58
lines changed

22 files changed

+70
-58
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-05-27 17:12:13.841874",
8-
"spec_repo_commit": "ed439f7c"
7+
"regenerated": "2025-05-28 13:01:55.744465",
8+
"spec_repo_commit": "092a87c8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-27 17:12:13.857049",
13-
"spec_repo_commit": "ed439f7c"
12+
"regenerated": "2025-05-28 13:01:55.760006",
13+
"spec_repo_commit": "092a87c8"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26782,6 +26782,7 @@ components:
2678226782
- opsgenie_api_key
2678326783
- region
2678426784
type: object
26785+
x-model-simple-name: CreateAttributes
2678526786
OpsgenieServiceCreateData:
2678626787
description: Opsgenie service data for a create request.
2678726788
properties:
@@ -26793,6 +26794,7 @@ components:
2679326794
- type
2679426795
- attributes
2679526796
type: object
26797+
x-model-simple-name: CreateData
2679626798
OpsgenieServiceCreateRequest:
2679726799
description: Create request for an Opsgenie service.
2679826800
properties:
@@ -26801,6 +26803,7 @@ components:
2680126803
required:
2680226804
- data
2680326805
type: object
26806+
x-model-simple-name: CreateRequest
2680426807
OpsgenieServiceRegionType:
2680526808
description: The region for the Opsgenie service.
2680626809
enum:
@@ -26813,6 +26816,7 @@ components:
2681326816
- US
2681426817
- EU
2681526818
- CUSTOM
26819+
x-model-simple-name: RegionType
2681626820
OpsgenieServiceResponse:
2681726821
description: Response of an Opsgenie service.
2681826822
properties:
@@ -26821,6 +26825,7 @@ components:
2682126825
required:
2682226826
- data
2682326827
type: object
26828+
x-model-simple-name: Response
2682426829
OpsgenieServiceResponseAttributes:
2682526830
description: The attributes from an Opsgenie service response.
2682626831
properties:
@@ -26837,6 +26842,7 @@ components:
2683726842
region:
2683826843
$ref: '#/components/schemas/OpsgenieServiceRegionType'
2683926844
type: object
26845+
x-model-simple-name: ResponseAttributes
2684026846
OpsgenieServiceResponseData:
2684126847
description: Opsgenie service data from a response.
2684226848
properties:
@@ -26855,6 +26861,7 @@ components:
2685526861
- type
2685626862
- attributes
2685726863
type: object
26864+
x-model-simple-name: ResponseData
2685826865
OpsgenieServiceType:
2685926866
default: opsgenie-service
2686026867
description: Opsgenie service resource type.
@@ -26864,6 +26871,7 @@ components:
2686426871
type: string
2686526872
x-enum-varnames:
2686626873
- OPSGENIE_SERVICE
26874+
x-model-simple-name: ServiceType
2686726875
OpsgenieServiceUpdateAttributes:
2686826876
description: The Opsgenie service attributes for an update request.
2686926877
properties:
@@ -26884,6 +26892,7 @@ components:
2688426892
region:
2688526893
$ref: '#/components/schemas/OpsgenieServiceRegionType'
2688626894
type: object
26895+
x-model-simple-name: UpdateAttributes
2688726896
OpsgenieServiceUpdateData:
2688826897
description: Opsgenie service for an update request.
2688926898
properties:
@@ -26902,6 +26911,7 @@ components:
2690226911
- type
2690326912
- attributes
2690426913
type: object
26914+
x-model-simple-name: UpdateData
2690526915
OpsgenieServiceUpdateRequest:
2690626916
description: Update request for an Opsgenie service.
2690726917
properties:
@@ -26910,6 +26920,7 @@ components:
2691026920
required:
2691126921
- data
2691226922
type: object
26923+
x-model-simple-name: UpdateRequest
2691326924
OpsgenieServicesResponse:
2691426925
description: Response with a list of Opsgenie services.
2691526926
properties:
@@ -26934,6 +26945,7 @@ components:
2693426945
required:
2693526946
- data
2693626947
type: object
26948+
x-model-simple-name: ServicesResponse
2693726949
OrderDirection:
2693826950
description: The sort direction for results.
2693926951
enum:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-10T10:29:43.940Z
1+
2025-04-03T20:58:02.871Z

tests/v2/cassettes/test_scenarios/test_create_a_monitor_notification_rule_returns_bad_request_response.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"data":{"attributes":{"filter":{"tags":["test:test-create_a_monitor_notification_rule_returns_bad_request_response-1744280983","host:abc"]},"name":"test
3+
body: '{"data":{"attributes":{"filter":{"tags":["test:test-create_a_monitor_notification_rule_returns_bad_request_response-1743713882","host:abc"]},"name":"test
44
rule","recipients":["@slack-test-channel","@jira-test"]},"type":"monitor-notification-rule"}}'
55
headers:
66
accept:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-10T10:29:44.273Z
1+
2025-04-03T20:58:03.005Z

tests/v2/cassettes/test_scenarios/test_create_a_monitor_notification_rule_returns_ok_response.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"data":{"attributes":{"filter":{"tags":["test:test-create_a_monitor_notification_rule_returns_ok_response-1744280984"]},"name":"test
3+
body: '{"data":{"attributes":{"filter":{"tags":["test:test-create_a_monitor_notification_rule_returns_ok_response-1743713883"]},"name":"test
44
rule","recipients":["slack-test-channel","jira-test"]},"type":"monitor-notification-rule"}}'
55
headers:
66
accept:
@@ -11,8 +11,8 @@ interactions:
1111
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule
1212
response:
1313
body:
14-
string: '{"data":{"type":"monitor-notification-rule","attributes":{"filter":{"tags":["test:test-create_a_monitor_notification_rule_returns_ok_response-1744280984"]},"recipients":["slack-test-channel","jira-test"],"name":"test
15-
rule","created_at":"2025-04-10T10:29:44.595607+00:00","modified_at":"1970-01-01T00:00:00+00:00"},"id":"a3323ef6-2a04-4ef9-8de8-cbcff5c3c203","relationships":{"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":"frog","handle":"[email protected]","created_at":"2019-10-02T08:15:39.795051+00:00","modified_at":"2025-04-07T20:19:46.118466+00:00","email":"[email protected]","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Active"}}]}
14+
string: '{"data":{"type":"monitor-notification-rule","id":"55959a04-463a-4579-8386-8c2ca120aa52","attributes":{"creator_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","filter":{"tags":["test:test-create_a_monitor_notification_rule_returns_ok_response-1743713883"]},"created_at":"2025-04-03T20:58:03.137650+00:00","recipients":["slack-test-channel","jira-test"],"name":"test
15+
rule","modified_at":"1970-01-01T00:00:00+00:00"}}}
1616
1717
'
1818
headers:
@@ -27,7 +27,7 @@ interactions:
2727
accept:
2828
- '*/*'
2929
method: DELETE
30-
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/a3323ef6-2a04-4ef9-8de8-cbcff5c3c203
30+
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/55959a04-463a-4579-8386-8c2ca120aa52
3131
response:
3232
body:
3333
string: ''
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-10T10:29:46.694Z
1+
2025-04-03T20:58:03.324Z

tests/v2/cassettes/test_scenarios/test_delete_a_monitor_notification_rule_returns_not_found_response.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interactions:
88
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/00000000-0000-1234-0000-000000000000
99
response:
1010
body:
11-
string: '{"errors":["Monitor Notification Rule not found"]}'
11+
string: '{"errors":["Monitor notification rule not found"]}'
1212
headers:
1313
content-type:
1414
- application/json
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-10T10:29:47.053Z
1+
2025-04-03T20:58:03.428Z

tests/v2/cassettes/test_scenarios/test_delete_a_monitor_notification_rule_returns_ok_response.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"data":{"attributes":{"filter":{"tags":["app:test-delete_a_monitor_notification_rule_returns_ok_response-1744280987"]},"name":"test
3+
body: '{"data":{"attributes":{"filter":{"tags":["app:test-delete_a_monitor_notification_rule_returns_ok_response-1743713883"]},"name":"test
44
rule","recipients":["slack-monitor-app"]},"type":"monitor-notification-rule"}}'
55
headers:
66
accept:
@@ -11,8 +11,8 @@ interactions:
1111
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule
1212
response:
1313
body:
14-
string: '{"data":{"type":"monitor-notification-rule","relationships":{"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}},"attributes":{"filter":{"tags":["app:test-delete_a_monitor_notification_rule_returns_ok_response-1744280987"]},"created_at":"2025-04-10T10:29:47.326243+00:00","name":"test
15-
rule","recipients":["slack-monitor-app"],"modified_at":"1970-01-01T00:00:00+00:00"},"id":"66e399af-c07e-414d-b4f2-93e196d7b7b7"},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":"frog","handle":"[email protected]","created_at":"2019-10-02T08:15:39.795051+00:00","modified_at":"2025-04-07T20:19:46.118466+00:00","email":"[email protected]","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Active"}}]}
14+
string: '{"data":{"type":"monitor-notification-rule","id":"cef4c2c7-27b3-4259-9bdd-ec434b4a8a0e","attributes":{"creator_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","name":"test
15+
rule","created_at":"2025-04-03T20:58:03.555501+00:00","modified_at":"1970-01-01T00:00:00+00:00","filter":{"tags":["app:test-delete_a_monitor_notification_rule_returns_ok_response-1743713883"]},"recipients":["slack-monitor-app"]}}}
1616
1717
'
1818
headers:
@@ -27,7 +27,7 @@ interactions:
2727
accept:
2828
- '*/*'
2929
method: DELETE
30-
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/66e399af-c07e-414d-b4f2-93e196d7b7b7
30+
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/cef4c2c7-27b3-4259-9bdd-ec434b4a8a0e
3131
response:
3232
body:
3333
string: ''
@@ -43,10 +43,10 @@ interactions:
4343
accept:
4444
- '*/*'
4545
method: DELETE
46-
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/66e399af-c07e-414d-b4f2-93e196d7b7b7
46+
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/cef4c2c7-27b3-4259-9bdd-ec434b4a8a0e
4747
response:
4848
body:
49-
string: '{"errors":["Monitor Notification Rule not found"]}'
49+
string: '{"errors":["Monitor notification rule not found"]}'
5050
headers:
5151
content-type:
5252
- application/json
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-10T10:29:52.213Z
1+
2025-04-03T20:58:03.884Z

tests/v2/cassettes/test_scenarios/test_get_a_monitor_notification_rule_returns_not_found_response.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interactions:
88
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/00000000-0000-1234-0000-000000000000
99
response:
1010
body:
11-
string: '{"errors":["Monitor Notification Rule not found"]}'
11+
string: '{"errors":["Monitor notification rule not found"]}'
1212
headers:
1313
content-type:
1414
- application/json
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-10T10:29:52.537Z
1+
2025-04-03T20:58:04.007Z

tests/v2/cassettes/test_scenarios/test_get_a_monitor_notification_rule_returns_ok_response.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"data":{"attributes":{"filter":{"tags":["app:test-get_a_monitor_notification_rule_returns_ok_response-1744280992"]},"name":"test
3+
body: '{"data":{"attributes":{"filter":{"tags":["app:test-get_a_monitor_notification_rule_returns_ok_response-1743713884"]},"name":"test
44
rule","recipients":["slack-monitor-app"]},"type":"monitor-notification-rule"}}'
55
headers:
66
accept:
@@ -11,8 +11,8 @@ interactions:
1111
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule
1212
response:
1313
body:
14-
string: '{"data":{"type":"monitor-notification-rule","attributes":{"created_at":"2025-04-10T10:29:52.938158+00:00","filter":{"tags":["app:test-get_a_monitor_notification_rule_returns_ok_response-1744280992"]},"recipients":["slack-monitor-app"],"name":"test
15-
rule","modified_at":"1970-01-01T00:00:00+00:00"},"id":"97afb4ac-6953-445f-9a0a-d225673449a6","relationships":{"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":"frog","handle":"[email protected]","created_at":"2019-10-02T08:15:39.795051+00:00","modified_at":"2025-04-07T20:19:46.118466+00:00","email":"[email protected]","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Active"}}]}
14+
string: '{"data":{"type":"monitor-notification-rule","attributes":{"filter":{"tags":["app:test-get_a_monitor_notification_rule_returns_ok_response-1743713884"]},"created_at":"2025-04-03T20:58:04.156763+00:00","recipients":["slack-monitor-app"],"modified_at":"1970-01-01T00:00:00+00:00","creator_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","name":"test
15+
rule"},"id":"8e0ab047-d891-476c-8fb1-da4d80ddc129"}}
1616
1717
'
1818
headers:
@@ -27,11 +27,11 @@ interactions:
2727
accept:
2828
- application/json
2929
method: GET
30-
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/97afb4ac-6953-445f-9a0a-d225673449a6
30+
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/8e0ab047-d891-476c-8fb1-da4d80ddc129
3131
response:
3232
body:
33-
string: '{"data":{"type":"monitor-notification-rule","attributes":{"name":"test
34-
rule","created_at":"2025-04-10T10:29:52.938158+00:00","recipients":["slack-monitor-app"],"filter":{"tags":["app:test-get_a_monitor_notification_rule_returns_ok_response-1744280992"]},"modified_at":"2025-04-10T10:29:52.948837+00:00"},"id":"97afb4ac-6953-445f-9a0a-d225673449a6"}}
33+
string: '{"data":{"type":"monitor-notification-rule","attributes":{"creator_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","name":"test
34+
rule","created_at":"2025-04-03T20:58:04.156763+00:00","recipients":["slack-monitor-app"],"modified_at":"2025-04-03T20:58:04.164001+00:00","filter":{"tags":["app:test-get_a_monitor_notification_rule_returns_ok_response-1743713884"]}},"id":"8e0ab047-d891-476c-8fb1-da4d80ddc129"}}
3535
3636
'
3737
headers:
@@ -46,7 +46,7 @@ interactions:
4646
accept:
4747
- '*/*'
4848
method: DELETE
49-
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/97afb4ac-6953-445f-9a0a-d225673449a6
49+
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/8e0ab047-d891-476c-8fb1-da4d80ddc129
5050
response:
5151
body:
5252
string: ''
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-10T10:29:54.937Z
1+
2025-04-03T20:58:04.487Z

tests/v2/cassettes/test_scenarios/test_get_all_monitor_notification_rules_returns_ok_response.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"data":{"attributes":{"filter":{"tags":["app:test-get_all_monitor_notification_rules_returns_ok_response-1744280994"]},"name":"test
3+
body: '{"data":{"attributes":{"filter":{"tags":["app:test-get_all_monitor_notification_rules_returns_ok_response-1743713884"]},"name":"test
44
rule","recipients":["slack-monitor-app"]},"type":"monitor-notification-rule"}}'
55
headers:
66
accept:
@@ -11,8 +11,8 @@ interactions:
1111
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule
1212
response:
1313
body:
14-
string: '{"data":{"type":"monitor-notification-rule","attributes":{"name":"test
15-
rule","filter":{"tags":["app:test-get_all_monitor_notification_rules_returns_ok_response-1744280994"]},"recipients":["slack-monitor-app"],"modified_at":"1970-01-01T00:00:00+00:00","created_at":"2025-04-10T10:29:55.362004+00:00"},"relationships":{"created_by":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}},"id":"b7122864-6517-45d3-8dc1-f226a08dd8f4"},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":"frog","handle":"[email protected]","created_at":"2019-10-02T08:15:39.795051+00:00","modified_at":"2025-04-07T20:19:46.118466+00:00","email":"[email protected]","icon":"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro","title":null,"verified":true,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Active"}}]}
14+
string: '{"data":{"type":"monitor-notification-rule","attributes":{"filter":{"tags":["app:test-get_all_monitor_notification_rules_returns_ok_response-1743713884"]},"recipients":["slack-monitor-app"],"creator_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","modified_at":"1970-01-01T00:00:00+00:00","name":"test
15+
rule","created_at":"2025-04-03T20:58:04.604345+00:00"},"id":"6e5b7a93-37b5-44b8-9098-2d31b6dd84b6"}}
1616
1717
'
1818
headers:
@@ -30,8 +30,8 @@ interactions:
3030
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule
3131
response:
3232
body:
33-
string: '{"data":[{"type":"monitor-notification-rule","attributes":{"filter":{"tags":["app:test-get_all_monitor_notification_rules_returns_ok_response-1744280994"]},"name":"test
34-
rule","recipients":["slack-monitor-app"],"modified_at":"2025-04-10T10:29:55.373154+00:00","created_at":"2025-04-10T10:29:55.362004+00:00"},"id":"b7122864-6517-45d3-8dc1-f226a08dd8f4"}]}
33+
string: '{"data":[{"type":"monitor-notification-rule","id":"6e5b7a93-37b5-44b8-9098-2d31b6dd84b6","attributes":{"creator_uuid":"3ad549bf-eba0-11e9-a77a-0705486660d0","name":"test
34+
rule","recipients":["slack-monitor-app"],"created_at":"2025-04-03T20:58:04.604345+00:00","filter":{"tags":["app:test-get_all_monitor_notification_rules_returns_ok_response-1743713884"]},"modified_at":"2025-04-03T20:58:04.616893+00:00"}}]}
3535
3636
'
3737
headers:
@@ -46,7 +46,7 @@ interactions:
4646
accept:
4747
- '*/*'
4848
method: DELETE
49-
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/b7122864-6517-45d3-8dc1-f226a08dd8f4
49+
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/6e5b7a93-37b5-44b8-9098-2d31b6dd84b6
5050
response:
5151
body:
5252
string: ''
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-10T10:29:56.210Z
1+
2025-04-03T20:58:04.953Z

0 commit comments

Comments
 (0)