Skip to content

Commit 7453683

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b1d18df4 of spec repo
1 parent 4a96019 commit 7453683

File tree

39 files changed

+2640
-4
lines changed

39 files changed

+2640
-4
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-01-28 14:57:17.088435",
8-
"spec_repo_commit": "f832f43e"
7+
"regenerated": "2025-01-28 20:06:01.693864",
8+
"spec_repo_commit": "b1d18df4"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-28 14:57:17.104925",
13-
"spec_repo_commit": "f832f43e"
12+
"regenerated": "2025-01-28 20:06:01.708931",
13+
"spec_repo_commit": "b1d18df4"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 287 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,20 @@ components:
532532
required: true
533533
schema:
534534
type: string
535+
MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter:
536+
description: Your workflows webhook handle id.
537+
in: path
538+
name: handle_id
539+
required: true
540+
schema:
541+
type: string
542+
MicrosoftTeamsWorkflowsWebhookHandleNameQueryParameter:
543+
description: Your workflows webhook handle name.
544+
in: query
545+
name: name
546+
required: false
547+
schema:
548+
type: string
535549
OpsgenieServiceIDPathParameter:
536550
description: The UUID of the service.
537551
in: path
@@ -18685,6 +18699,14 @@ components:
1868518699
required:
1868618700
- data
1868718701
type: object
18702+
MicrosoftTeamsCreateWorkflowsWebhookHandleRequest:
18703+
description: Create workflows webhook handle request.
18704+
properties:
18705+
data:
18706+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleRequestData'
18707+
required:
18708+
- data
18709+
type: object
1868818710
MicrosoftTeamsGetChannelByNameResponse:
1868918711
description: Response with channel, team, and tenant ID information.
1869018712
properties:
@@ -18899,6 +18921,127 @@ components:
1889918921
- type
1890018922
- attributes
1890118923
type: object
18924+
MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest:
18925+
description: Update workflows webhook handle request.
18926+
properties:
18927+
data:
18928+
$ref: '#/components/schemas/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequestData'
18929+
required:
18930+
- data
18931+
type: object
18932+
MicrosoftTeamsUpdateWorkflowsWebhookHandleRequestData:
18933+
description: Workflows Webhook handle data from a response.
18934+
properties:
18935+
attributes:
18936+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleAttributes'
18937+
type:
18938+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleType'
18939+
required:
18940+
- type
18941+
- attributes
18942+
type: object
18943+
MicrosoftTeamsWorkflowsWebhookHandleAttributes:
18944+
description: Workflows Webhook handle attributes.
18945+
properties:
18946+
name:
18947+
description: Workflows Webhook handle name.
18948+
example: fake-handle-name
18949+
maxLength: 255
18950+
type: string
18951+
url:
18952+
description: Workflows Webhook URL.
18953+
example: https://fake.url.com
18954+
maxLength: 255
18955+
type: string
18956+
type: object
18957+
MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes:
18958+
description: Workflows Webhook handle attributes.
18959+
properties:
18960+
name:
18961+
description: Workflows Webhook handle name.
18962+
example: fake-handle-name
18963+
maxLength: 255
18964+
type: string
18965+
url:
18966+
description: Workflows Webhook URL.
18967+
example: https://fake.url.com
18968+
maxLength: 255
18969+
type: string
18970+
required:
18971+
- name
18972+
- url
18973+
type: object
18974+
MicrosoftTeamsWorkflowsWebhookHandleRequestData:
18975+
description: Workflows Webhook handle data from a response.
18976+
properties:
18977+
attributes:
18978+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes'
18979+
type:
18980+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleType'
18981+
required:
18982+
- type
18983+
- attributes
18984+
type: object
18985+
MicrosoftTeamsWorkflowsWebhookHandleResponse:
18986+
description: Response of a workflows webhook handle.
18987+
properties:
18988+
data:
18989+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponseData'
18990+
required:
18991+
- data
18992+
type: object
18993+
MicrosoftTeamsWorkflowsWebhookHandleResponseData:
18994+
description: Workflows Webhook handle data from a response.
18995+
properties:
18996+
attributes:
18997+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookResponseAttributes'
18998+
id:
18999+
description: The ID of the workflows webhook handle.
19000+
example: 596da4af-0563-4097-90ff-07230c3f9db3
19001+
maxLength: 100
19002+
minLength: 1
19003+
type: string
19004+
type:
19005+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleType'
19006+
type: object
19007+
MicrosoftTeamsWorkflowsWebhookHandleType:
19008+
default: workflows-webhook-handle
19009+
description: Specifies the workflows webhook handle resource type.
19010+
enum:
19011+
- workflows-webhook-handle
19012+
example: workflows-webhook-handle
19013+
type: string
19014+
x-enum-varnames:
19015+
- WORKFLOWS_WEBHOOK_HANDLE
19016+
MicrosoftTeamsWorkflowsWebhookHandlesResponse:
19017+
description: Response with a list of workflows webhook handles.
19018+
properties:
19019+
data:
19020+
description: An array of workflows webhook handles.
19021+
example:
19022+
- attributes:
19023+
name: general-handle
19024+
id: 596da4af-0563-4097-90ff-07230c3f9db3
19025+
type: workflows-webhook-handle
19026+
- attributes:
19027+
name: general-handle-2
19028+
id: 596da4af-0563-4097-90ff-07230c3f9db4
19029+
type: workflows-webhook-handle
19030+
items:
19031+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponseData'
19032+
type: array
19033+
required:
19034+
- data
19035+
type: object
19036+
MicrosoftTeamsWorkflowsWebhookResponseAttributes:
19037+
description: Workflows Webhook handle attributes.
19038+
properties:
19039+
name:
19040+
description: Workflows Webhook handle name.
19041+
example: fake-handle-name
19042+
maxLength: 255
19043+
type: string
19044+
type: object
1890219045
MonitorConfigPolicyAttributeCreateRequest:
1890319046
description: Policy and policy type for a monitor configuration policy.
1890419047
properties:
@@ -37543,6 +37686,150 @@ paths:
3754337686
tags:
3754437687
- Microsoft Teams Integration
3754537688
x-codegen-request-body-name: body
37689+
/api/v2/integration/ms-teams/configuration/workflows-webhook-handles:
37690+
get:
37691+
description: Get a list of all workflows webhook handles from the Datadog Microsoft
37692+
Teams integration.
37693+
operationId: ListWorkflowsWebhookHandles
37694+
parameters:
37695+
- $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleNameQueryParameter'
37696+
responses:
37697+
'200':
37698+
content:
37699+
application/json:
37700+
schema:
37701+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandlesResponse'
37702+
description: OK
37703+
'400':
37704+
$ref: '#/components/responses/BadRequestResponse'
37705+
'403':
37706+
$ref: '#/components/responses/ForbiddenResponse'
37707+
'404':
37708+
$ref: '#/components/responses/NotFoundResponse'
37709+
'412':
37710+
$ref: '#/components/responses/PreconditionFailedResponse'
37711+
'429':
37712+
$ref: '#/components/responses/TooManyRequestsResponse'
37713+
summary: Get all workflows webhook handles
37714+
tags:
37715+
- Microsoft Teams Integration
37716+
post:
37717+
description: Create a workflows webhook handle in the Datadog Microsoft Teams
37718+
integration.
37719+
operationId: CreateWorkflowsWebhookHandle
37720+
requestBody:
37721+
content:
37722+
application/json:
37723+
schema:
37724+
$ref: '#/components/schemas/MicrosoftTeamsCreateWorkflowsWebhookHandleRequest'
37725+
description: Workflows Webhook handle payload.
37726+
required: true
37727+
responses:
37728+
'201':
37729+
content:
37730+
application/json:
37731+
schema:
37732+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37733+
description: CREATED
37734+
'400':
37735+
$ref: '#/components/responses/BadRequestResponse'
37736+
'403':
37737+
$ref: '#/components/responses/ForbiddenResponse'
37738+
'404':
37739+
$ref: '#/components/responses/NotFoundResponse'
37740+
'409':
37741+
$ref: '#/components/responses/ConflictResponse'
37742+
'412':
37743+
$ref: '#/components/responses/PreconditionFailedResponse'
37744+
'429':
37745+
$ref: '#/components/responses/TooManyRequestsResponse'
37746+
summary: Create workflows webhook handle
37747+
tags:
37748+
- Microsoft Teams Integration
37749+
x-codegen-request-body-name: body
37750+
/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}:
37751+
delete:
37752+
description: Delete a workflows webhook handle from the Datadog Microsoft Teams
37753+
integration.
37754+
operationId: DeleteWorkflowsWebhookHandle
37755+
parameters:
37756+
- $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37757+
responses:
37758+
'204':
37759+
description: OK
37760+
'400':
37761+
$ref: '#/components/responses/BadRequestResponse'
37762+
'403':
37763+
$ref: '#/components/responses/ForbiddenResponse'
37764+
'412':
37765+
$ref: '#/components/responses/PreconditionFailedResponse'
37766+
'429':
37767+
$ref: '#/components/responses/TooManyRequestsResponse'
37768+
summary: Delete workflows webhook handle
37769+
tags:
37770+
- Microsoft Teams Integration
37771+
get:
37772+
description: Get the name of a workflows webhook handle from the Datadog Microsoft
37773+
Teams integration.
37774+
operationId: GetWorkflowsWebhookHandle
37775+
parameters:
37776+
- $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37777+
responses:
37778+
'200':
37779+
content:
37780+
application/json:
37781+
schema:
37782+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37783+
description: OK
37784+
'400':
37785+
$ref: '#/components/responses/BadRequestResponse'
37786+
'403':
37787+
$ref: '#/components/responses/ForbiddenResponse'
37788+
'404':
37789+
$ref: '#/components/responses/NotFoundResponse'
37790+
'412':
37791+
$ref: '#/components/responses/PreconditionFailedResponse'
37792+
'429':
37793+
$ref: '#/components/responses/TooManyRequestsResponse'
37794+
summary: Get workflows webhook handle information
37795+
tags:
37796+
- Microsoft Teams Integration
37797+
patch:
37798+
description: Update a workflows webhook handle from the Datadog Microsoft Teams
37799+
integration.
37800+
operationId: UpdateWorkflowsWebhookHandle
37801+
parameters:
37802+
- $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37803+
requestBody:
37804+
content:
37805+
application/json:
37806+
schema:
37807+
$ref: '#/components/schemas/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest'
37808+
description: Workflows Webhook handle payload.
37809+
required: true
37810+
responses:
37811+
'200':
37812+
content:
37813+
application/json:
37814+
schema:
37815+
$ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37816+
description: OK
37817+
'400':
37818+
$ref: '#/components/responses/BadRequestResponse'
37819+
'403':
37820+
$ref: '#/components/responses/ForbiddenResponse'
37821+
'404':
37822+
$ref: '#/components/responses/NotFoundResponse'
37823+
'409':
37824+
$ref: '#/components/responses/ConflictResponse'
37825+
'412':
37826+
$ref: '#/components/responses/PreconditionFailedResponse'
37827+
'429':
37828+
$ref: '#/components/responses/TooManyRequestsResponse'
37829+
summary: Update workflows webhook handle
37830+
tags:
37831+
- Microsoft Teams Integration
37832+
x-codegen-request-body-name: body
3754637833
/api/v2/integration/opsgenie/services:
3754737834
get:
3754837835
description: Get a list of all services from the Datadog Opsgenie integration.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-01-28T19:36:52.782Z

cassettes/features/v2/microsoft_teams_integration/Create-workflow-webhook-handle-returns-CREATED-response.yml

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-01-28T19:36:53.060Z

0 commit comments

Comments
 (0)