@@ -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
@@ -18685,6 +18699,14 @@ components:
18685
18699
required:
18686
18700
- data
18687
18701
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
18688
18710
MicrosoftTeamsGetChannelByNameResponse:
18689
18711
description: Response with channel, team, and tenant ID information.
18690
18712
properties:
@@ -18899,6 +18921,127 @@ components:
18899
18921
- type
18900
18922
- attributes
18901
18923
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
18902
19045
MonitorConfigPolicyAttributeCreateRequest:
18903
19046
description: Policy and policy type for a monitor configuration policy.
18904
19047
properties:
@@ -37537,6 +37680,150 @@ paths:
37537
37680
tags:
37538
37681
- Microsoft Teams Integration
37539
37682
x-codegen-request-body-name: body
37683
+ /api/v2/integration/ms-teams/configuration/workflows-webhook-handles:
37684
+ get:
37685
+ description: Get a list of all Workflows webhook handles from the Datadog Microsoft
37686
+ Teams integration.
37687
+ operationId: ListWorkflowsWebhookHandles
37688
+ parameters:
37689
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleNameQueryParameter'
37690
+ responses:
37691
+ '200':
37692
+ content:
37693
+ application/json:
37694
+ schema:
37695
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandlesResponse'
37696
+ description: OK
37697
+ '400':
37698
+ $ref: '#/components/responses/BadRequestResponse'
37699
+ '403':
37700
+ $ref: '#/components/responses/ForbiddenResponse'
37701
+ '404':
37702
+ $ref: '#/components/responses/NotFoundResponse'
37703
+ '412':
37704
+ $ref: '#/components/responses/PreconditionFailedResponse'
37705
+ '429':
37706
+ $ref: '#/components/responses/TooManyRequestsResponse'
37707
+ summary: Get all Workflows webhook handles
37708
+ tags:
37709
+ - Microsoft Teams Integration
37710
+ post:
37711
+ description: Create a Workflows webhook handle in the Datadog Microsoft Teams
37712
+ integration.
37713
+ operationId: CreateWorkflowsWebhookHandle
37714
+ requestBody:
37715
+ content:
37716
+ application/json:
37717
+ schema:
37718
+ $ref: '#/components/schemas/MicrosoftTeamsCreateWorkflowsWebhookHandleRequest'
37719
+ description: Workflows Webhook handle payload.
37720
+ required: true
37721
+ responses:
37722
+ '201':
37723
+ content:
37724
+ application/json:
37725
+ schema:
37726
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37727
+ description: CREATED
37728
+ '400':
37729
+ $ref: '#/components/responses/BadRequestResponse'
37730
+ '403':
37731
+ $ref: '#/components/responses/ForbiddenResponse'
37732
+ '404':
37733
+ $ref: '#/components/responses/NotFoundResponse'
37734
+ '409':
37735
+ $ref: '#/components/responses/ConflictResponse'
37736
+ '412':
37737
+ $ref: '#/components/responses/PreconditionFailedResponse'
37738
+ '429':
37739
+ $ref: '#/components/responses/TooManyRequestsResponse'
37740
+ summary: Create Workflows webhook handle
37741
+ tags:
37742
+ - Microsoft Teams Integration
37743
+ x-codegen-request-body-name: body
37744
+ /api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}:
37745
+ delete:
37746
+ description: Delete a Workflows webhook handle from the Datadog Microsoft Teams
37747
+ integration.
37748
+ operationId: DeleteWorkflowsWebhookHandle
37749
+ parameters:
37750
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37751
+ responses:
37752
+ '204':
37753
+ description: OK
37754
+ '400':
37755
+ $ref: '#/components/responses/BadRequestResponse'
37756
+ '403':
37757
+ $ref: '#/components/responses/ForbiddenResponse'
37758
+ '412':
37759
+ $ref: '#/components/responses/PreconditionFailedResponse'
37760
+ '429':
37761
+ $ref: '#/components/responses/TooManyRequestsResponse'
37762
+ summary: Delete Workflows webhook handle
37763
+ tags:
37764
+ - Microsoft Teams Integration
37765
+ get:
37766
+ description: Get the name of a Workflows webhook handle from the Datadog Microsoft
37767
+ Teams integration.
37768
+ operationId: GetWorkflowsWebhookHandle
37769
+ parameters:
37770
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37771
+ responses:
37772
+ '200':
37773
+ content:
37774
+ application/json:
37775
+ schema:
37776
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37777
+ description: OK
37778
+ '400':
37779
+ $ref: '#/components/responses/BadRequestResponse'
37780
+ '403':
37781
+ $ref: '#/components/responses/ForbiddenResponse'
37782
+ '404':
37783
+ $ref: '#/components/responses/NotFoundResponse'
37784
+ '412':
37785
+ $ref: '#/components/responses/PreconditionFailedResponse'
37786
+ '429':
37787
+ $ref: '#/components/responses/TooManyRequestsResponse'
37788
+ summary: Get Workflows webhook handle information
37789
+ tags:
37790
+ - Microsoft Teams Integration
37791
+ patch:
37792
+ description: Update a Workflows webhook handle from the Datadog Microsoft Teams
37793
+ integration.
37794
+ operationId: UpdateWorkflowsWebhookHandle
37795
+ parameters:
37796
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37797
+ requestBody:
37798
+ content:
37799
+ application/json:
37800
+ schema:
37801
+ $ref: '#/components/schemas/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest'
37802
+ description: Workflows Webhook handle payload.
37803
+ required: true
37804
+ responses:
37805
+ '200':
37806
+ content:
37807
+ application/json:
37808
+ schema:
37809
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37810
+ description: OK
37811
+ '400':
37812
+ $ref: '#/components/responses/BadRequestResponse'
37813
+ '403':
37814
+ $ref: '#/components/responses/ForbiddenResponse'
37815
+ '404':
37816
+ $ref: '#/components/responses/NotFoundResponse'
37817
+ '409':
37818
+ $ref: '#/components/responses/ConflictResponse'
37819
+ '412':
37820
+ $ref: '#/components/responses/PreconditionFailedResponse'
37821
+ '429':
37822
+ $ref: '#/components/responses/TooManyRequestsResponse'
37823
+ summary: Update Workflows webhook handle
37824
+ tags:
37825
+ - Microsoft Teams Integration
37826
+ x-codegen-request-body-name: body
37540
37827
/api/v2/integration/opsgenie/services:
37541
37828
get:
37542
37829
description: Get a list of all services from the Datadog Opsgenie integration.
0 commit comments