Skip to content

Commit c2fd033

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1214813 of spec repo
1 parent f5bf354 commit c2fd033

File tree

43 files changed

+4103
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+4103
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 361 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54408,6 +54408,143 @@ components:
5440854408
$ref: '#/components/schemas/TeamLink'
5440954409
type: array
5441054410
type: object
54411+
TeamNotificationRule:
54412+
description: Team notification rule
54413+
properties:
54414+
attributes:
54415+
$ref: '#/components/schemas/TeamNotificationRuleAttributes'
54416+
id:
54417+
description: The identifier of the team notification rule
54418+
example: b8626d7e-cedd-11eb-abf5-da7ad0900001
54419+
type: string
54420+
type:
54421+
$ref: '#/components/schemas/TeamNotificationRuleType'
54422+
required:
54423+
- attributes
54424+
- type
54425+
type: object
54426+
TeamNotificationRuleAttributes:
54427+
description: Team notification rule attributes
54428+
properties:
54429+
email:
54430+
$ref: '#/components/schemas/TeamNotificationRuleAttributesEmail'
54431+
ms_teams:
54432+
$ref: '#/components/schemas/TeamNotificationRuleAttributesMsTeams'
54433+
pagerduty:
54434+
$ref: '#/components/schemas/TeamNotificationRuleAttributesPagerduty'
54435+
slack:
54436+
$ref: '#/components/schemas/TeamNotificationRuleAttributesSlack'
54437+
type: object
54438+
TeamNotificationRuleAttributesEmail:
54439+
description: Email notification settings for the team
54440+
properties:
54441+
enabled:
54442+
description: Flag indicating email notification
54443+
type: boolean
54444+
type: object
54445+
TeamNotificationRuleAttributesMsTeams:
54446+
description: MS Teams notification settings for the team
54447+
properties:
54448+
connector_name:
54449+
description: Handle for MS Teams
54450+
type: string
54451+
type: object
54452+
TeamNotificationRuleAttributesPagerduty:
54453+
description: PagerDuty notification settings for the team
54454+
properties:
54455+
service_name:
54456+
description: Service name for PagerDuty
54457+
type: string
54458+
type: object
54459+
TeamNotificationRuleAttributesSlack:
54460+
description: Slack notification settings for the team
54461+
properties:
54462+
channel:
54463+
description: Channel for Slack notification
54464+
type: string
54465+
workspace:
54466+
description: Workspace for Slack notification
54467+
type: string
54468+
type: object
54469+
TeamNotificationRuleRequest:
54470+
description: Request to create or update a team notification rule
54471+
properties:
54472+
data:
54473+
$ref: '#/components/schemas/TeamNotificationRule'
54474+
required:
54475+
- data
54476+
type: object
54477+
TeamNotificationRuleResponse:
54478+
description: Team notification rule response
54479+
properties:
54480+
data:
54481+
$ref: '#/components/schemas/TeamNotificationRule'
54482+
type: object
54483+
TeamNotificationRuleType:
54484+
default: team_notification_rules
54485+
description: Team notification rule type
54486+
enum:
54487+
- team_notification_rules
54488+
example: team_notification_rules
54489+
type: string
54490+
x-enum-varnames:
54491+
- TEAM_NOTIFICATION_RULES
54492+
TeamNotificationRulesResponse:
54493+
description: Team notification rules response
54494+
properties:
54495+
data:
54496+
description: Team notification rules response data
54497+
items:
54498+
$ref: '#/components/schemas/TeamNotificationRule'
54499+
type: array
54500+
meta:
54501+
$ref: '#/components/schemas/TeamNotificationRulesResponseMeta'
54502+
type: object
54503+
TeamNotificationRulesResponseMeta:
54504+
description: Metadata that is included in the response when querying the team
54505+
notification rules
54506+
properties:
54507+
page:
54508+
$ref: '#/components/schemas/TeamNotificationRulesResponseMetaPage'
54509+
type: object
54510+
TeamNotificationRulesResponseMetaPage:
54511+
description: Metadata related to paging information that is included in the
54512+
response when querying the team notification rules
54513+
properties:
54514+
first_offset:
54515+
description: The first offset.
54516+
format: int64
54517+
type: integer
54518+
last_offset:
54519+
description: The last offset.
54520+
format: int64
54521+
type: integer
54522+
limit:
54523+
description: Pagination limit.
54524+
format: int64
54525+
type: integer
54526+
next_offset:
54527+
description: The next offset.
54528+
format: int64
54529+
nullable: true
54530+
type: integer
54531+
offset:
54532+
description: The offset.
54533+
format: int64
54534+
type: integer
54535+
prev_offset:
54536+
description: The previous offset.
54537+
format: int64
54538+
nullable: true
54539+
type: integer
54540+
total:
54541+
description: Total results.
54542+
format: int64
54543+
type: integer
54544+
type:
54545+
description: Offset type.
54546+
type: string
54547+
type: object
5441154548
TeamOnCallResponders:
5441254549
description: Root object representing a team's on-call responder configuration.
5441354550
example:
@@ -87408,6 +87545,230 @@ paths:
8740887545
operator: OR
8740987546
permissions:
8741087547
- teams_read
87548+
/api/v2/team/{team_id}/notification-rules:
87549+
get:
87550+
operationId: GetTeamNotificationRules
87551+
parameters:
87552+
- description: None
87553+
in: path
87554+
name: team_id
87555+
required: true
87556+
schema:
87557+
type: string
87558+
responses:
87559+
'200':
87560+
content:
87561+
application/json:
87562+
schema:
87563+
$ref: '#/components/schemas/TeamNotificationRulesResponse'
87564+
description: OK
87565+
'403':
87566+
$ref: '#/components/responses/ForbiddenResponse'
87567+
'404':
87568+
content:
87569+
application/json:
87570+
schema:
87571+
$ref: '#/components/schemas/APIErrorResponse'
87572+
description: API error response.
87573+
'429':
87574+
$ref: '#/components/responses/TooManyRequestsResponse'
87575+
security:
87576+
- apiKeyAuth: []
87577+
appKeyAuth: []
87578+
- AuthZ:
87579+
- teams_read
87580+
summary: Get team notification rules
87581+
tags:
87582+
- Teams
87583+
x-permission:
87584+
operator: OR
87585+
permissions:
87586+
- teams_read
87587+
post:
87588+
operationId: CreateTeamNotificationRule
87589+
parameters:
87590+
- description: None
87591+
in: path
87592+
name: team_id
87593+
required: true
87594+
schema:
87595+
type: string
87596+
requestBody:
87597+
content:
87598+
application/json:
87599+
schema:
87600+
$ref: '#/components/schemas/TeamNotificationRuleRequest'
87601+
required: true
87602+
responses:
87603+
'201':
87604+
content:
87605+
application/json:
87606+
schema:
87607+
$ref: '#/components/schemas/TeamNotificationRuleResponse'
87608+
description: OK
87609+
'403':
87610+
$ref: '#/components/responses/ForbiddenResponse'
87611+
'404':
87612+
content:
87613+
application/json:
87614+
schema:
87615+
$ref: '#/components/schemas/APIErrorResponse'
87616+
description: API error response.
87617+
'409':
87618+
content:
87619+
application/json:
87620+
schema:
87621+
$ref: '#/components/schemas/APIErrorResponse'
87622+
description: API error response.
87623+
'429':
87624+
$ref: '#/components/responses/TooManyRequestsResponse'
87625+
security:
87626+
- apiKeyAuth: []
87627+
appKeyAuth: []
87628+
- AuthZ:
87629+
- teams_read
87630+
summary: Create team notification rule
87631+
tags:
87632+
- Teams
87633+
x-permission:
87634+
operator: OR
87635+
permissions:
87636+
- teams_read
87637+
/api/v2/team/{team_id}/notification-rules/{rule_id}:
87638+
delete:
87639+
operationId: DeleteTeamNotificationRule
87640+
parameters:
87641+
- description: None
87642+
in: path
87643+
name: team_id
87644+
required: true
87645+
schema:
87646+
type: string
87647+
- description: None
87648+
in: path
87649+
name: rule_id
87650+
required: true
87651+
schema:
87652+
type: string
87653+
responses:
87654+
'204':
87655+
description: No Content
87656+
'403':
87657+
$ref: '#/components/responses/ForbiddenResponse'
87658+
'404':
87659+
content:
87660+
application/json:
87661+
schema:
87662+
$ref: '#/components/schemas/APIErrorResponse'
87663+
description: API error response.
87664+
'429':
87665+
$ref: '#/components/responses/TooManyRequestsResponse'
87666+
security:
87667+
- apiKeyAuth: []
87668+
appKeyAuth: []
87669+
- AuthZ:
87670+
- teams_read
87671+
summary: Delete team notification rule
87672+
tags:
87673+
- Teams
87674+
x-permission:
87675+
operator: OR
87676+
permissions:
87677+
- teams_read
87678+
get:
87679+
operationId: GetTeamNotificationRule
87680+
parameters:
87681+
- description: None
87682+
in: path
87683+
name: team_id
87684+
required: true
87685+
schema:
87686+
type: string
87687+
- description: None
87688+
in: path
87689+
name: rule_id
87690+
required: true
87691+
schema:
87692+
type: string
87693+
responses:
87694+
'200':
87695+
content:
87696+
application/json:
87697+
schema:
87698+
$ref: '#/components/schemas/TeamNotificationRuleResponse'
87699+
description: OK
87700+
'403':
87701+
$ref: '#/components/responses/ForbiddenResponse'
87702+
'404':
87703+
content:
87704+
application/json:
87705+
schema:
87706+
$ref: '#/components/schemas/APIErrorResponse'
87707+
description: API error response.
87708+
'429':
87709+
$ref: '#/components/responses/TooManyRequestsResponse'
87710+
security:
87711+
- apiKeyAuth: []
87712+
appKeyAuth: []
87713+
- AuthZ:
87714+
- teams_read
87715+
summary: Get team notification rule
87716+
tags:
87717+
- Teams
87718+
x-permission:
87719+
operator: OR
87720+
permissions:
87721+
- teams_read
87722+
put:
87723+
operationId: UpdateTeamNotificationRule
87724+
parameters:
87725+
- description: None
87726+
in: path
87727+
name: team_id
87728+
required: true
87729+
schema:
87730+
type: string
87731+
- description: None
87732+
in: path
87733+
name: rule_id
87734+
required: true
87735+
schema:
87736+
type: string
87737+
requestBody:
87738+
content:
87739+
application/json:
87740+
schema:
87741+
$ref: '#/components/schemas/TeamNotificationRuleRequest'
87742+
required: true
87743+
responses:
87744+
'200':
87745+
content:
87746+
application/json:
87747+
schema:
87748+
$ref: '#/components/schemas/TeamNotificationRuleResponse'
87749+
description: OK
87750+
'403':
87751+
$ref: '#/components/responses/ForbiddenResponse'
87752+
'404':
87753+
content:
87754+
application/json:
87755+
schema:
87756+
$ref: '#/components/schemas/APIErrorResponse'
87757+
description: API error response.
87758+
'429':
87759+
$ref: '#/components/responses/TooManyRequestsResponse'
87760+
security:
87761+
- apiKeyAuth: []
87762+
appKeyAuth: []
87763+
- AuthZ:
87764+
- teams_read
87765+
summary: Update team notification rule
87766+
tags:
87767+
- Teams
87768+
x-permission:
87769+
operator: OR
87770+
permissions:
87771+
- teams_read
8741187772
/api/v2/team/{team_id}/permission-settings:
8741287773
get:
8741387774
description: Get all permission settings for a given team.

LICENSE-3rdparty.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ zerofrom-derive,https://github.com/unicode-org/icu4x,Unicode-3.0,Manish Goregaok
208208
zerotrie,https://github.com/unicode-org/icu4x,Unicode-3.0,The ICU4X Project Developers
209209
zerovec,https://github.com/unicode-org/icu4x,Unicode-3.0,The ICU4X Project Developers
210210
zerovec-derive,https://github.com/unicode-org/icu4x,Unicode-3.0,Manish Goregaokar <[email protected]>
211+
zmij,https://github.com/dtolnay/zmij,MIT,David Tolnay <[email protected]>
211212
zstd,https://github.com/gyscos/zstd-rs,MIT,Alexandre Bury <[email protected]>
212213
zstd-safe,https://github.com/gyscos/zstd-rs,MIT OR Apache-2.0,Alexandre Bury <[email protected]>
213214
zstd-sys,https://github.com/gyscos/zstd-rs,MIT OR Apache-2.0,Alexandre Bury <[email protected]>

0 commit comments

Comments
 (0)