@@ -532,6 +532,20 @@ components:
532
532
required: true
533
533
schema:
534
534
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
535
549
OpsgenieServiceIDPathParameter:
536
550
description: The UUID of the service.
537
551
in: path
@@ -18779,6 +18793,14 @@ components:
18779
18793
required:
18780
18794
- data
18781
18795
type: object
18796
+ MicrosoftTeamsCreateWorkflowsWebhookHandleRequest:
18797
+ description: Create Workflows webhook handle request.
18798
+ properties:
18799
+ data:
18800
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleRequestData'
18801
+ required:
18802
+ - data
18803
+ type: object
18782
18804
MicrosoftTeamsGetChannelByNameResponse:
18783
18805
description: Response with channel, team, and tenant ID information.
18784
18806
properties:
@@ -18993,6 +19015,127 @@ components:
18993
19015
- type
18994
19016
- attributes
18995
19017
type: object
19018
+ MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest:
19019
+ description: Update Workflows webhook handle request.
19020
+ properties:
19021
+ data:
19022
+ $ref: '#/components/schemas/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequestData'
19023
+ required:
19024
+ - data
19025
+ type: object
19026
+ MicrosoftTeamsUpdateWorkflowsWebhookHandleRequestData:
19027
+ description: Workflows Webhook handle data from a response.
19028
+ properties:
19029
+ attributes:
19030
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleAttributes'
19031
+ type:
19032
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleType'
19033
+ required:
19034
+ - type
19035
+ - attributes
19036
+ type: object
19037
+ MicrosoftTeamsWorkflowsWebhookHandleAttributes:
19038
+ description: Workflows Webhook handle attributes.
19039
+ properties:
19040
+ name:
19041
+ description: Workflows Webhook handle name.
19042
+ example: fake-handle-name
19043
+ maxLength: 255
19044
+ type: string
19045
+ url:
19046
+ description: Workflows Webhook URL.
19047
+ example: https://fake.url.com
19048
+ maxLength: 255
19049
+ type: string
19050
+ type: object
19051
+ MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes:
19052
+ description: Workflows Webhook handle attributes.
19053
+ properties:
19054
+ name:
19055
+ description: Workflows Webhook handle name.
19056
+ example: fake-handle-name
19057
+ maxLength: 255
19058
+ type: string
19059
+ url:
19060
+ description: Workflows Webhook URL.
19061
+ example: https://fake.url.com
19062
+ maxLength: 255
19063
+ type: string
19064
+ required:
19065
+ - name
19066
+ - url
19067
+ type: object
19068
+ MicrosoftTeamsWorkflowsWebhookHandleRequestData:
19069
+ description: Workflows Webhook handle data from a response.
19070
+ properties:
19071
+ attributes:
19072
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes'
19073
+ type:
19074
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleType'
19075
+ required:
19076
+ - type
19077
+ - attributes
19078
+ type: object
19079
+ MicrosoftTeamsWorkflowsWebhookHandleResponse:
19080
+ description: Response of a Workflows webhook handle.
19081
+ properties:
19082
+ data:
19083
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponseData'
19084
+ required:
19085
+ - data
19086
+ type: object
19087
+ MicrosoftTeamsWorkflowsWebhookHandleResponseData:
19088
+ description: Workflows Webhook handle data from a response.
19089
+ properties:
19090
+ attributes:
19091
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookResponseAttributes'
19092
+ id:
19093
+ description: The ID of the Workflows webhook handle.
19094
+ example: 596da4af-0563-4097-90ff-07230c3f9db3
19095
+ maxLength: 100
19096
+ minLength: 1
19097
+ type: string
19098
+ type:
19099
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleType'
19100
+ type: object
19101
+ MicrosoftTeamsWorkflowsWebhookHandleType:
19102
+ default: workflows-webhook-handle
19103
+ description: Specifies the Workflows webhook handle resource type.
19104
+ enum:
19105
+ - workflows-webhook-handle
19106
+ example: workflows-webhook-handle
19107
+ type: string
19108
+ x-enum-varnames:
19109
+ - WORKFLOWS_WEBHOOK_HANDLE
19110
+ MicrosoftTeamsWorkflowsWebhookHandlesResponse:
19111
+ description: Response with a list of Workflows webhook handles.
19112
+ properties:
19113
+ data:
19114
+ description: An array of Workflows webhook handles.
19115
+ example:
19116
+ - attributes:
19117
+ name: general-handle
19118
+ id: 596da4af-0563-4097-90ff-07230c3f9db3
19119
+ type: workflows-webhook-handle
19120
+ - attributes:
19121
+ name: general-handle-2
19122
+ id: 596da4af-0563-4097-90ff-07230c3f9db4
19123
+ type: workflows-webhook-handle
19124
+ items:
19125
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponseData'
19126
+ type: array
19127
+ required:
19128
+ - data
19129
+ type: object
19130
+ MicrosoftTeamsWorkflowsWebhookResponseAttributes:
19131
+ description: Workflows Webhook handle attributes.
19132
+ properties:
19133
+ name:
19134
+ description: Workflows Webhook handle name.
19135
+ example: fake-handle-name
19136
+ maxLength: 255
19137
+ type: string
19138
+ type: object
18996
19139
MonitorConfigPolicyAttributeCreateRequest:
18997
19140
description: Policy and policy type for a monitor configuration policy.
18998
19141
properties:
@@ -37631,6 +37774,150 @@ paths:
37631
37774
tags:
37632
37775
- Microsoft Teams Integration
37633
37776
x-codegen-request-body-name: body
37777
+ /api/v2/integration/ms-teams/configuration/workflows-webhook-handles:
37778
+ get:
37779
+ description: Get a list of all Workflows webhook handles from the Datadog Microsoft
37780
+ Teams integration.
37781
+ operationId: ListWorkflowsWebhookHandles
37782
+ parameters:
37783
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleNameQueryParameter'
37784
+ responses:
37785
+ '200':
37786
+ content:
37787
+ application/json:
37788
+ schema:
37789
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandlesResponse'
37790
+ description: OK
37791
+ '400':
37792
+ $ref: '#/components/responses/BadRequestResponse'
37793
+ '403':
37794
+ $ref: '#/components/responses/ForbiddenResponse'
37795
+ '404':
37796
+ $ref: '#/components/responses/NotFoundResponse'
37797
+ '412':
37798
+ $ref: '#/components/responses/PreconditionFailedResponse'
37799
+ '429':
37800
+ $ref: '#/components/responses/TooManyRequestsResponse'
37801
+ summary: Get all Workflows webhook handles
37802
+ tags:
37803
+ - Microsoft Teams Integration
37804
+ post:
37805
+ description: Create a Workflows webhook handle in the Datadog Microsoft Teams
37806
+ integration.
37807
+ operationId: CreateWorkflowsWebhookHandle
37808
+ requestBody:
37809
+ content:
37810
+ application/json:
37811
+ schema:
37812
+ $ref: '#/components/schemas/MicrosoftTeamsCreateWorkflowsWebhookHandleRequest'
37813
+ description: Workflows Webhook handle payload.
37814
+ required: true
37815
+ responses:
37816
+ '201':
37817
+ content:
37818
+ application/json:
37819
+ schema:
37820
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37821
+ description: CREATED
37822
+ '400':
37823
+ $ref: '#/components/responses/BadRequestResponse'
37824
+ '403':
37825
+ $ref: '#/components/responses/ForbiddenResponse'
37826
+ '404':
37827
+ $ref: '#/components/responses/NotFoundResponse'
37828
+ '409':
37829
+ $ref: '#/components/responses/ConflictResponse'
37830
+ '412':
37831
+ $ref: '#/components/responses/PreconditionFailedResponse'
37832
+ '429':
37833
+ $ref: '#/components/responses/TooManyRequestsResponse'
37834
+ summary: Create Workflows webhook handle
37835
+ tags:
37836
+ - Microsoft Teams Integration
37837
+ x-codegen-request-body-name: body
37838
+ /api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}:
37839
+ delete:
37840
+ description: Delete a Workflows webhook handle from the Datadog Microsoft Teams
37841
+ integration.
37842
+ operationId: DeleteWorkflowsWebhookHandle
37843
+ parameters:
37844
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37845
+ responses:
37846
+ '204':
37847
+ description: OK
37848
+ '400':
37849
+ $ref: '#/components/responses/BadRequestResponse'
37850
+ '403':
37851
+ $ref: '#/components/responses/ForbiddenResponse'
37852
+ '412':
37853
+ $ref: '#/components/responses/PreconditionFailedResponse'
37854
+ '429':
37855
+ $ref: '#/components/responses/TooManyRequestsResponse'
37856
+ summary: Delete Workflows webhook handle
37857
+ tags:
37858
+ - Microsoft Teams Integration
37859
+ get:
37860
+ description: Get the name of a Workflows webhook handle from the Datadog Microsoft
37861
+ Teams integration.
37862
+ operationId: GetWorkflowsWebhookHandle
37863
+ parameters:
37864
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37865
+ responses:
37866
+ '200':
37867
+ content:
37868
+ application/json:
37869
+ schema:
37870
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37871
+ description: OK
37872
+ '400':
37873
+ $ref: '#/components/responses/BadRequestResponse'
37874
+ '403':
37875
+ $ref: '#/components/responses/ForbiddenResponse'
37876
+ '404':
37877
+ $ref: '#/components/responses/NotFoundResponse'
37878
+ '412':
37879
+ $ref: '#/components/responses/PreconditionFailedResponse'
37880
+ '429':
37881
+ $ref: '#/components/responses/TooManyRequestsResponse'
37882
+ summary: Get Workflows webhook handle information
37883
+ tags:
37884
+ - Microsoft Teams Integration
37885
+ patch:
37886
+ description: Update a Workflows webhook handle from the Datadog Microsoft Teams
37887
+ integration.
37888
+ operationId: UpdateWorkflowsWebhookHandle
37889
+ parameters:
37890
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37891
+ requestBody:
37892
+ content:
37893
+ application/json:
37894
+ schema:
37895
+ $ref: '#/components/schemas/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest'
37896
+ description: Workflows Webhook handle payload.
37897
+ required: true
37898
+ responses:
37899
+ '200':
37900
+ content:
37901
+ application/json:
37902
+ schema:
37903
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37904
+ description: OK
37905
+ '400':
37906
+ $ref: '#/components/responses/BadRequestResponse'
37907
+ '403':
37908
+ $ref: '#/components/responses/ForbiddenResponse'
37909
+ '404':
37910
+ $ref: '#/components/responses/NotFoundResponse'
37911
+ '409':
37912
+ $ref: '#/components/responses/ConflictResponse'
37913
+ '412':
37914
+ $ref: '#/components/responses/PreconditionFailedResponse'
37915
+ '429':
37916
+ $ref: '#/components/responses/TooManyRequestsResponse'
37917
+ summary: Update Workflows webhook handle
37918
+ tags:
37919
+ - Microsoft Teams Integration
37920
+ x-codegen-request-body-name: body
37634
37921
/api/v2/integration/opsgenie/services:
37635
37922
get:
37636
37923
description: Get a list of all services from the Datadog Opsgenie integration.
0 commit comments