Skip to content

Commit 6720cbc

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3fd2b5f6 of spec repo
1 parent 6e274ae commit 6720cbc

File tree

22 files changed

+72
-58
lines changed

22 files changed

+72
-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:03:09.871786",
8+
"spec_repo_commit": "3fd2b5f6"
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:03:09.921543",
13+
"spec_repo_commit": "3fd2b5f6"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3490,6 +3490,7 @@ components:
34903490
type:
34913491
$ref: '#/components/schemas/AuditLogsEventType'
34923492
type: object
3493+
x-model-simple-name: Event
34933494
AuditLogsEventAttributes:
34943495
description: JSON object containing all event attributes and their associated
34953496
values.
@@ -3527,6 +3528,7 @@ components:
35273528
format: date-time
35283529
type: string
35293530
type: object
3531+
x-model-simple-name: EventAttributes
35303532
AuditLogsEventType:
35313533
default: audit
35323534
description: Type of the event.
@@ -3536,6 +3538,7 @@ components:
35363538
type: string
35373539
x-enum-varnames:
35383540
- Audit
3541+
x-model-simple-name: EventType
35393542
AuditLogsEventsResponse:
35403543
description: Response object with all events matching the request and pagination
35413544
information.
@@ -3550,6 +3553,7 @@ components:
35503553
meta:
35513554
$ref: '#/components/schemas/AuditLogsResponseMetadata'
35523555
type: object
3556+
x-model-simple-name: EventsResponse
35533557
AuditLogsQueryFilter:
35543558
description: Search and filter query settings.
35553559
properties:
@@ -3571,6 +3575,7 @@ components:
35713575
example: now
35723576
type: string
35733577
type: object
3578+
x-model-simple-name: QueryFilter
35743579
AuditLogsQueryOptions:
35753580
description: 'Global query options that are used during the query.
35763581

@@ -3588,6 +3593,7 @@ components:
35883593
example: GMT
35893594
type: string
35903595
type: object
3596+
x-model-simple-name: QueryOptions
35913597
AuditLogsQueryPageOptions:
35923598
description: Paging attributes for listing events.
35933599
properties:
@@ -3604,6 +3610,7 @@ components:
36043610
maximum: 1000
36053611
type: integer
36063612
type: object
3613+
x-model-simple-name: PageOptions
36073614
AuditLogsResponseLinks:
36083615
description: Links attributes.
36093616
properties:
@@ -3615,6 +3622,7 @@ components:
36153622
example: https://app.datadoghq.com/api/v2/audit/event?filter[query]=foo&page[cursor]=eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==
36163623
type: string
36173624
type: object
3625+
x-model-simple-name: ResponseLinks
36183626
AuditLogsResponseMetadata:
36193627
description: The metadata associated with a request.
36203628
properties:
@@ -3640,6 +3648,7 @@ components:
36403648
$ref: '#/components/schemas/AuditLogsWarning'
36413649
type: array
36423650
type: object
3651+
x-model-simple-name: ResponseMetadata
36433652
AuditLogsResponsePage:
36443653
description: Paging attributes.
36453654
properties:
@@ -3649,6 +3658,7 @@ components:
36493658
example: eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==
36503659
type: string
36513660
type: object
3661+
x-model-simple-name: ResponsePage
36523662
AuditLogsResponseStatus:
36533663
description: The status of the response.
36543664
enum:
@@ -3659,6 +3669,7 @@ components:
36593669
x-enum-varnames:
36603670
- DONE
36613671
- TIMEOUT
3672+
x-model-simple-name: ResponseStatus
36623673
AuditLogsSearchEventsRequest:
36633674
description: The request for a Audit Logs events list.
36643675
properties:
@@ -3671,6 +3682,7 @@ components:
36713682
sort:
36723683
$ref: '#/components/schemas/AuditLogsSort'
36733684
type: object
3685+
x-model-simple-name: SearchRequest
36743686
AuditLogsSort:
36753687
description: Sort parameters when querying events.
36763688
enum:
@@ -3680,6 +3692,7 @@ components:
36803692
x-enum-varnames:
36813693
- TIMESTAMP_ASCENDING
36823694
- TIMESTAMP_DESCENDING
3695+
x-model-simple-name: Sort
36833696
AuditLogsWarning:
36843697
description: Warning message indicating something that went wrong with the query.
36853698
properties:
@@ -3697,6 +3710,7 @@ components:
36973710
from the other indexes
36983711
type: string
36993712
type: object
3713+
x-model-simple-name: Warning
37003714
AuthNMapping:
37013715
description: The AuthN Mapping object returned by API.
37023716
properties:
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

0 commit comments

Comments
 (0)