Skip to content

Commit bd20fa8

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7e50d16 of spec repo
1 parent 5f1538f commit bd20fa8

24 files changed

+3112
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 270 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12289,6 +12289,46 @@ components:
1228912289
meta:
1229012290
$ref: '#/components/schemas/DataDeletionResponseMeta'
1229112291
type: object
12292+
CreateEventEmailAddressRequest:
12293+
properties:
12294+
data:
12295+
$ref: '#/components/schemas/CreateEventEmailAddressRequestData'
12296+
type: object
12297+
CreateEventEmailAddressRequestData:
12298+
properties:
12299+
attributes:
12300+
$ref: '#/components/schemas/CreateEventEmailAddressRequestDataAttributes'
12301+
type:
12302+
$ref: '#/components/schemas/EventEmailsType'
12303+
required:
12304+
- type
12305+
type: object
12306+
CreateEventEmailAddressRequestDataAttributes:
12307+
properties:
12308+
alert_type:
12309+
type: string
12310+
description:
12311+
type: string
12312+
format:
12313+
example: ''
12314+
type: string
12315+
notify_handles:
12316+
example:
12317+
- ''
12318+
items:
12319+
type: string
12320+
type: array
12321+
tags:
12322+
example:
12323+
- ''
12324+
items:
12325+
type: string
12326+
type: array
12327+
required:
12328+
- format
12329+
- notify_handles
12330+
- tags
12331+
type: object
1229212332
CreateIncidentNotificationRuleRequest:
1229312333
description: Create request for a notification rule.
1229412334
properties:
@@ -12341,6 +12381,41 @@ components:
1234112381
- name
1234212382
- targets
1234312383
type: object
12384+
CreateOnCallEventEmailAddressRequest:
12385+
properties:
12386+
data:
12387+
$ref: '#/components/schemas/CreateOnCallEventEmailAddressRequestData'
12388+
type: object
12389+
CreateOnCallEventEmailAddressRequestData:
12390+
properties:
12391+
attributes:
12392+
$ref: '#/components/schemas/CreateOnCallEventEmailAddressRequestDataAttributes'
12393+
type:
12394+
$ref: '#/components/schemas/EventEmailsType'
12395+
required:
12396+
- type
12397+
type: object
12398+
CreateOnCallEventEmailAddressRequestDataAttributes:
12399+
properties:
12400+
alert_type:
12401+
type: string
12402+
description:
12403+
type: string
12404+
format:
12405+
example: ''
12406+
type: string
12407+
tags:
12408+
example:
12409+
- ''
12410+
items:
12411+
type: string
12412+
type: array
12413+
team_handle:
12414+
type: string
12415+
required:
12416+
- format
12417+
- tags
12418+
type: object
1234412419
CreateOpenAPIResponse:
1234512420
description: Response for `CreateOpenAPI` operation.
1234612421
properties:
@@ -18701,6 +18776,112 @@ components:
1870118776
the default subdomain.
1870218777
type: string
1870318778
type: object
18779+
EventEmailAddressResponse:
18780+
properties:
18781+
data:
18782+
$ref: '#/components/schemas/EventEmailAddressResponseData'
18783+
type: object
18784+
EventEmailAddressResponseArray:
18785+
properties:
18786+
data:
18787+
items:
18788+
$ref: '#/components/schemas/EventEmailAddressResponseData'
18789+
type: array
18790+
required:
18791+
- data
18792+
type: object
18793+
EventEmailAddressResponseData:
18794+
properties:
18795+
attributes:
18796+
$ref: '#/components/schemas/EventEmailAddressResponseDataAttributes'
18797+
id:
18798+
example: ''
18799+
type: string
18800+
relationships:
18801+
$ref: '#/components/schemas/EventEmailAddressResponseDataRelationships'
18802+
type:
18803+
$ref: '#/components/schemas/EventEmailsType'
18804+
required:
18805+
- type
18806+
- id
18807+
type: object
18808+
EventEmailAddressResponseDataAttributes:
18809+
properties:
18810+
alert_type:
18811+
type: string
18812+
created_at:
18813+
example: ''
18814+
format: date-time
18815+
type: string
18816+
description:
18817+
type: string
18818+
email:
18819+
example: ''
18820+
type: string
18821+
format:
18822+
example: ''
18823+
type: string
18824+
last_used_at:
18825+
format: date-time
18826+
type: string
18827+
notify_handles:
18828+
example:
18829+
- ''
18830+
items:
18831+
type: string
18832+
type: array
18833+
revoked_at:
18834+
format: date-time
18835+
type: string
18836+
tags:
18837+
example:
18838+
- ''
18839+
items:
18840+
type: string
18841+
type: array
18842+
required:
18843+
- created_at
18844+
- email
18845+
- format
18846+
- notify_handles
18847+
- tags
18848+
type: object
18849+
EventEmailAddressResponseDataRelationships:
18850+
properties:
18851+
created_by:
18852+
$ref: '#/components/schemas/EventEmailAddressResponseDataRelationshipsUser'
18853+
revoked_by:
18854+
$ref: '#/components/schemas/EventEmailAddressResponseDataRelationshipsUser'
18855+
required:
18856+
- created_by
18857+
type: object
18858+
EventEmailAddressResponseDataRelationshipsUser:
18859+
properties:
18860+
data:
18861+
$ref: '#/components/schemas/EventEmailAddressResponseDataRelationshipsUserData'
18862+
required:
18863+
- data
18864+
type: object
18865+
EventEmailAddressResponseDataRelationshipsUserData:
18866+
properties:
18867+
id:
18868+
example: ''
18869+
type: string
18870+
type:
18871+
$ref: '#/components/schemas/UsersType'
18872+
required:
18873+
- type
18874+
- id
18875+
type: object
18876+
EventEmailsType:
18877+
default: event_emails
18878+
description: Event emails resource type.
18879+
enum:
18880+
- event_emails
18881+
example: event_emails
18882+
type: string
18883+
x-enum-varnames:
18884+
- EVENT_EMAILS
1870418885
EventPayload:
1870518886
additionalProperties: false
1870618887
description: Event attributes.
@@ -61743,6 +61924,92 @@ paths:
6174361924
tags:
6174461925
- Events
6174561926
x-codegen-request-body-name: body
61927+
/api/v2/events/mail:
61928+
get:
61929+
operationId: ListEventEmailAddresses
61930+
responses:
61931+
'200':
61932+
content:
61933+
application/json:
61934+
schema:
61935+
$ref: '#/components/schemas/EventEmailAddressResponseArray'
61936+
description: OK
61937+
'429':
61938+
$ref: '#/components/responses/TooManyRequestsResponse'
61939+
security:
61940+
- apiKeyAuth: []
61941+
appKeyAuth: []
61942+
summary: List event email addresses
61943+
tags:
61944+
- Events
61945+
x-unstable: '**Note**: This endpoint may be subject to changes.'
61946+
post:
61947+
operationId: CreateEventEmailAddress
61948+
requestBody:
61949+
content:
61950+
application/json:
61951+
schema:
61952+
$ref: '#/components/schemas/CreateEventEmailAddressRequest'
61953+
required: true
61954+
responses:
61955+
'201':
61956+
content:
61957+
application/json:
61958+
schema:
61959+
$ref: '#/components/schemas/EventEmailAddressResponse'
61960+
description: Created
61961+
'429':
61962+
$ref: '#/components/responses/TooManyRequestsResponse'
61963+
security:
61964+
- apiKeyAuth: []
61965+
appKeyAuth: []
61966+
summary: Create event email address
61967+
tags:
61968+
- Events
61969+
x-unstable: '**Note**: This endpoint may be subject to changes.'
61970+
/api/v2/events/mail/on-call:
61971+
get:
61972+
operationId: GetOnCallEventEmailAddress
61973+
responses:
61974+
'200':
61975+
content:
61976+
application/json:
61977+
schema:
61978+
$ref: '#/components/schemas/EventEmailAddressResponseArray'
61979+
description: OK
61980+
'429':
61981+
$ref: '#/components/responses/TooManyRequestsResponse'
61982+
security:
61983+
- apiKeyAuth: []
61984+
appKeyAuth: []
61985+
summary: Get on call event email address
61986+
tags:
61987+
- Events
61988+
x-unstable: '**Note**: This endpoint may be subject to changes.'
61989+
post:
61990+
operationId: CreateOnCallEventEmailAddress
61991+
requestBody:
61992+
content:
61993+
application/json:
61994+
schema:
61995+
$ref: '#/components/schemas/CreateOnCallEventEmailAddressRequest'
61996+
required: true
61997+
responses:
61998+
'201':
61999+
content:
62000+
application/json:
62001+
schema:
62002+
$ref: '#/components/schemas/EventEmailAddressResponse'
62003+
description: Created
62004+
'429':
62005+
$ref: '#/components/responses/TooManyRequestsResponse'
62006+
security:
62007+
- apiKeyAuth: []
62008+
appKeyAuth: []
62009+
summary: Create on call event email address
62010+
tags:
62011+
- Events
62012+
x-unstable: '**Note**: This endpoint may be subject to changes.'
6174662013
/api/v2/events/search:
6174762014
post:
6174862015
description: 'List endpoint returns events that match an events search query.
@@ -61771,6 +62038,9 @@ paths:
6177162038
$ref: '#/components/responses/NotAuthorizedResponse'
6177262039
'429':
6177362040
$ref: '#/components/responses/TooManyRequestsResponse'
62041+
security:
62042+
- apiKeyAuth: []
62043+
appKeyAuth: []
6177462044
summary: Search events
6177562045
tags:
6177662046
- Events

api/datadog/configuration.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,10 @@ func NewConfiguration() *Configuration {
636636
"v2.CancelDataDeletionRequest": false,
637637
"v2.CreateDataDeletionRequest": false,
638638
"v2.GetDataDeletionRequests": false,
639+
"v2.CreateEventEmailAddress": false,
640+
"v2.CreateOnCallEventEmailAddress": false,
641+
"v2.GetOnCallEventEmailAddress": false,
642+
"v2.ListEventEmailAddresses": false,
639643
"v2.CreateIncident": false,
640644
"v2.CreateIncidentImpact": false,
641645
"v2.CreateIncidentIntegration": false,

0 commit comments

Comments
 (0)