Skip to content

Commit 738fadb

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d1dd0ce7 of spec repo
1 parent ae9393e commit 738fadb

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-06-09 14:45:37.430557",
8-
"spec_repo_commit": "79e7c933"
7+
"regenerated": "2025-06-10 08:24:18.455163",
8+
"spec_repo_commit": "d1dd0ce7"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-09 14:45:37.519358",
13-
"spec_repo_commit": "79e7c933"
12+
"regenerated": "2025-06-10 08:24:18.478238",
13+
"spec_repo_commit": "d1dd0ce7"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27064,6 +27064,7 @@ components:
2706427064
- opsgenie_api_key
2706527065
- region
2706627066
type: object
27067+
x-model-simple-name: CreateAttributes
2706727068
OpsgenieServiceCreateData:
2706827069
description: Opsgenie service data for a create request.
2706927070
properties:
@@ -27075,6 +27076,7 @@ components:
2707527076
- type
2707627077
- attributes
2707727078
type: object
27079+
x-model-simple-name: CreateData
2707827080
OpsgenieServiceCreateRequest:
2707927081
description: Create request for an Opsgenie service.
2708027082
properties:
@@ -27083,6 +27085,7 @@ components:
2708327085
required:
2708427086
- data
2708527087
type: object
27088+
x-model-simple-name: CreateRequest
2708627089
OpsgenieServiceRegionType:
2708727090
description: The region for the Opsgenie service.
2708827091
enum:
@@ -27095,6 +27098,7 @@ components:
2709527098
- US
2709627099
- EU
2709727100
- CUSTOM
27101+
x-model-simple-name: RegionType
2709827102
OpsgenieServiceResponse:
2709927103
description: Response of an Opsgenie service.
2710027104
properties:
@@ -27103,6 +27107,7 @@ components:
2710327107
required:
2710427108
- data
2710527109
type: object
27110+
x-model-simple-name: Response
2710627111
OpsgenieServiceResponseAttributes:
2710727112
description: The attributes from an Opsgenie service response.
2710827113
properties:
@@ -27119,6 +27124,7 @@ components:
2711927124
region:
2712027125
$ref: '#/components/schemas/OpsgenieServiceRegionType'
2712127126
type: object
27127+
x-model-simple-name: ResponseAttributes
2712227128
OpsgenieServiceResponseData:
2712327129
description: Opsgenie service data from a response.
2712427130
properties:
@@ -27137,6 +27143,7 @@ components:
2713727143
- type
2713827144
- attributes
2713927145
type: object
27146+
x-model-simple-name: ResponseData
2714027147
OpsgenieServiceType:
2714127148
default: opsgenie-service
2714227149
description: Opsgenie service resource type.
@@ -27146,6 +27153,7 @@ components:
2714627153
type: string
2714727154
x-enum-varnames:
2714827155
- OPSGENIE_SERVICE
27156+
x-model-simple-name: ServiceType
2714927157
OpsgenieServiceUpdateAttributes:
2715027158
description: The Opsgenie service attributes for an update request.
2715127159
properties:
@@ -27166,6 +27174,7 @@ components:
2716627174
region:
2716727175
$ref: '#/components/schemas/OpsgenieServiceRegionType'
2716827176
type: object
27177+
x-model-simple-name: UpdateAttributes
2716927178
OpsgenieServiceUpdateData:
2717027179
description: Opsgenie service for an update request.
2717127180
properties:
@@ -27184,6 +27193,7 @@ components:
2718427193
- type
2718527194
- attributes
2718627195
type: object
27196+
x-model-simple-name: UpdateData
2718727197
OpsgenieServiceUpdateRequest:
2718827198
description: Update request for an Opsgenie service.
2718927199
properties:
@@ -27192,6 +27202,7 @@ components:
2719227202
required:
2719327203
- data
2719427204
type: object
27205+
x-model-simple-name: UpdateRequest
2719527206
OpsgenieServicesResponse:
2719627207
description: Response with a list of Opsgenie services.
2719727208
properties:
@@ -27216,6 +27227,7 @@ components:
2721627227
required:
2721727228
- data
2721827229
type: object
27230+
x-model-simple-name: ServicesResponse
2721927231
OrderDirection:
2722027232
description: The sort direction for results.
2722127233
enum:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-03T20:58:02.871Z
1+
2025-04-10T10:29:43.940Z

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-1743713882","host:abc"]},"name":"test
3+
body: '{"data":{"attributes":{"filter":{"tags":["test:test-create_a_monitor_notification_rule_returns_bad_request_response-1744280983","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-03T20:58:03.005Z
1+
2025-04-10T10:29:44.273Z

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-1743713883"]},"name":"test
3+
body: '{"data":{"attributes":{"filter":{"tags":["test:test-create_a_monitor_notification_rule_returns_ok_response-1744280984"]},"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","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"}}}
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"}}]}
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/55959a04-463a-4579-8386-8c2ca120aa52
30+
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/a3323ef6-2a04-4ef9-8de8-cbcff5c3c203
3131
response:
3232
body:
3333
string: ''
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-03T20:58:03.324Z
1+
2025-04-10T10:29:46.694Z

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-03T20:58:03.428Z
1+
2025-04-10T10:29:47.053Z

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-1743713883"]},"name":"test
3+
body: '{"data":{"attributes":{"filter":{"tags":["app:test-delete_a_monitor_notification_rule_returns_ok_response-1744280987"]},"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","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"]}}}
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"}}]}
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/cef4c2c7-27b3-4259-9bdd-ec434b4a8a0e
30+
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/66e399af-c07e-414d-b4f2-93e196d7b7b7
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/cef4c2c7-27b3-4259-9bdd-ec434b4a8a0e
46+
uri: https://api.datadoghq.com/api/v2/monitor/notification_rule/66e399af-c07e-414d-b4f2-93e196d7b7b7
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

0 commit comments

Comments
 (0)