@@ -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
@@ -18686,6 +18700,14 @@ components:
18686
18700
required:
18687
18701
- data
18688
18702
type: object
18703
+ MicrosoftTeamsCreateWorkflowsWebhookHandleRequest:
18704
+ description: Create Workflows webhook handle request.
18705
+ properties:
18706
+ data:
18707
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleRequestData'
18708
+ required:
18709
+ - data
18710
+ type: object
18689
18711
MicrosoftTeamsGetChannelByNameResponse:
18690
18712
description: Response with channel, team, and tenant ID information.
18691
18713
properties:
@@ -18900,6 +18922,127 @@ components:
18900
18922
- type
18901
18923
- attributes
18902
18924
type: object
18925
+ MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest:
18926
+ description: Update Workflows webhook handle request.
18927
+ properties:
18928
+ data:
18929
+ $ref: '#/components/schemas/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequestData'
18930
+ required:
18931
+ - data
18932
+ type: object
18933
+ MicrosoftTeamsUpdateWorkflowsWebhookHandleRequestData:
18934
+ description: Workflows Webhook handle data from a response.
18935
+ properties:
18936
+ attributes:
18937
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleAttributes'
18938
+ type:
18939
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleType'
18940
+ required:
18941
+ - type
18942
+ - attributes
18943
+ type: object
18944
+ MicrosoftTeamsWorkflowsWebhookHandleAttributes:
18945
+ description: Workflows Webhook handle attributes.
18946
+ properties:
18947
+ name:
18948
+ description: Workflows Webhook handle name.
18949
+ example: fake-handle-name
18950
+ maxLength: 255
18951
+ type: string
18952
+ url:
18953
+ description: Workflows Webhook URL.
18954
+ example: https://fake.url.com
18955
+ maxLength: 255
18956
+ type: string
18957
+ type: object
18958
+ MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes:
18959
+ description: Workflows Webhook handle attributes.
18960
+ properties:
18961
+ name:
18962
+ description: Workflows Webhook handle name.
18963
+ example: fake-handle-name
18964
+ maxLength: 255
18965
+ type: string
18966
+ url:
18967
+ description: Workflows Webhook URL.
18968
+ example: https://fake.url.com
18969
+ maxLength: 255
18970
+ type: string
18971
+ required:
18972
+ - name
18973
+ - url
18974
+ type: object
18975
+ MicrosoftTeamsWorkflowsWebhookHandleRequestData:
18976
+ description: Workflows Webhook handle data from a response.
18977
+ properties:
18978
+ attributes:
18979
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes'
18980
+ type:
18981
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleType'
18982
+ required:
18983
+ - type
18984
+ - attributes
18985
+ type: object
18986
+ MicrosoftTeamsWorkflowsWebhookHandleResponse:
18987
+ description: Response of a Workflows webhook handle.
18988
+ properties:
18989
+ data:
18990
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponseData'
18991
+ required:
18992
+ - data
18993
+ type: object
18994
+ MicrosoftTeamsWorkflowsWebhookHandleResponseData:
18995
+ description: Workflows Webhook handle data from a response.
18996
+ properties:
18997
+ attributes:
18998
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookResponseAttributes'
18999
+ id:
19000
+ description: The ID of the Workflows webhook handle.
19001
+ example: 596da4af-0563-4097-90ff-07230c3f9db3
19002
+ maxLength: 100
19003
+ minLength: 1
19004
+ type: string
19005
+ type:
19006
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleType'
19007
+ type: object
19008
+ MicrosoftTeamsWorkflowsWebhookHandleType:
19009
+ default: workflows-webhook-handle
19010
+ description: Specifies the Workflows webhook handle resource type.
19011
+ enum:
19012
+ - workflows-webhook-handle
19013
+ example: workflows-webhook-handle
19014
+ type: string
19015
+ x-enum-varnames:
19016
+ - WORKFLOWS_WEBHOOK_HANDLE
19017
+ MicrosoftTeamsWorkflowsWebhookHandlesResponse:
19018
+ description: Response with a list of Workflows webhook handles.
19019
+ properties:
19020
+ data:
19021
+ description: An array of Workflows webhook handles.
19022
+ example:
19023
+ - attributes:
19024
+ name: general-handle
19025
+ id: 596da4af-0563-4097-90ff-07230c3f9db3
19026
+ type: workflows-webhook-handle
19027
+ - attributes:
19028
+ name: general-handle-2
19029
+ id: 596da4af-0563-4097-90ff-07230c3f9db4
19030
+ type: workflows-webhook-handle
19031
+ items:
19032
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponseData'
19033
+ type: array
19034
+ required:
19035
+ - data
19036
+ type: object
19037
+ MicrosoftTeamsWorkflowsWebhookResponseAttributes:
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
+ type: object
18903
19046
MonitorConfigPolicyAttributeCreateRequest:
18904
19047
description: Policy and policy type for a monitor configuration policy.
18905
19048
properties:
@@ -37538,6 +37681,150 @@ paths:
37538
37681
tags:
37539
37682
- Microsoft Teams Integration
37540
37683
x-codegen-request-body-name: body
37684
+ /api/v2/integration/ms-teams/configuration/workflows-webhook-handles:
37685
+ get:
37686
+ description: Get a list of all Workflows webhook handles from the Datadog Microsoft
37687
+ Teams integration.
37688
+ operationId: ListWorkflowsWebhookHandles
37689
+ parameters:
37690
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleNameQueryParameter'
37691
+ responses:
37692
+ '200':
37693
+ content:
37694
+ application/json:
37695
+ schema:
37696
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandlesResponse'
37697
+ description: OK
37698
+ '400':
37699
+ $ref: '#/components/responses/BadRequestResponse'
37700
+ '403':
37701
+ $ref: '#/components/responses/ForbiddenResponse'
37702
+ '404':
37703
+ $ref: '#/components/responses/NotFoundResponse'
37704
+ '412':
37705
+ $ref: '#/components/responses/PreconditionFailedResponse'
37706
+ '429':
37707
+ $ref: '#/components/responses/TooManyRequestsResponse'
37708
+ summary: Get all Workflows webhook handles
37709
+ tags:
37710
+ - Microsoft Teams Integration
37711
+ post:
37712
+ description: Create a Workflows webhook handle in the Datadog Microsoft Teams
37713
+ integration.
37714
+ operationId: CreateWorkflowsWebhookHandle
37715
+ requestBody:
37716
+ content:
37717
+ application/json:
37718
+ schema:
37719
+ $ref: '#/components/schemas/MicrosoftTeamsCreateWorkflowsWebhookHandleRequest'
37720
+ description: Workflows Webhook handle payload.
37721
+ required: true
37722
+ responses:
37723
+ '201':
37724
+ content:
37725
+ application/json:
37726
+ schema:
37727
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37728
+ description: CREATED
37729
+ '400':
37730
+ $ref: '#/components/responses/BadRequestResponse'
37731
+ '403':
37732
+ $ref: '#/components/responses/ForbiddenResponse'
37733
+ '404':
37734
+ $ref: '#/components/responses/NotFoundResponse'
37735
+ '409':
37736
+ $ref: '#/components/responses/ConflictResponse'
37737
+ '412':
37738
+ $ref: '#/components/responses/PreconditionFailedResponse'
37739
+ '429':
37740
+ $ref: '#/components/responses/TooManyRequestsResponse'
37741
+ summary: Create Workflows webhook handle
37742
+ tags:
37743
+ - Microsoft Teams Integration
37744
+ x-codegen-request-body-name: body
37745
+ /api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}:
37746
+ delete:
37747
+ description: Delete a Workflows webhook handle from the Datadog Microsoft Teams
37748
+ integration.
37749
+ operationId: DeleteWorkflowsWebhookHandle
37750
+ parameters:
37751
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37752
+ responses:
37753
+ '204':
37754
+ description: OK
37755
+ '400':
37756
+ $ref: '#/components/responses/BadRequestResponse'
37757
+ '403':
37758
+ $ref: '#/components/responses/ForbiddenResponse'
37759
+ '412':
37760
+ $ref: '#/components/responses/PreconditionFailedResponse'
37761
+ '429':
37762
+ $ref: '#/components/responses/TooManyRequestsResponse'
37763
+ summary: Delete Workflows webhook handle
37764
+ tags:
37765
+ - Microsoft Teams Integration
37766
+ get:
37767
+ description: Get the name of a Workflows webhook handle from the Datadog Microsoft
37768
+ Teams integration.
37769
+ operationId: GetWorkflowsWebhookHandle
37770
+ parameters:
37771
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37772
+ responses:
37773
+ '200':
37774
+ content:
37775
+ application/json:
37776
+ schema:
37777
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37778
+ description: OK
37779
+ '400':
37780
+ $ref: '#/components/responses/BadRequestResponse'
37781
+ '403':
37782
+ $ref: '#/components/responses/ForbiddenResponse'
37783
+ '404':
37784
+ $ref: '#/components/responses/NotFoundResponse'
37785
+ '412':
37786
+ $ref: '#/components/responses/PreconditionFailedResponse'
37787
+ '429':
37788
+ $ref: '#/components/responses/TooManyRequestsResponse'
37789
+ summary: Get Workflows webhook handle information
37790
+ tags:
37791
+ - Microsoft Teams Integration
37792
+ patch:
37793
+ description: Update a Workflows webhook handle from the Datadog Microsoft Teams
37794
+ integration.
37795
+ operationId: UpdateWorkflowsWebhookHandle
37796
+ parameters:
37797
+ - $ref: '#/components/parameters/MicrosoftTeamsWorkflowsWebhookHandleIDPathParameter'
37798
+ requestBody:
37799
+ content:
37800
+ application/json:
37801
+ schema:
37802
+ $ref: '#/components/schemas/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest'
37803
+ description: Workflows Webhook handle payload.
37804
+ required: true
37805
+ responses:
37806
+ '200':
37807
+ content:
37808
+ application/json:
37809
+ schema:
37810
+ $ref: '#/components/schemas/MicrosoftTeamsWorkflowsWebhookHandleResponse'
37811
+ description: OK
37812
+ '400':
37813
+ $ref: '#/components/responses/BadRequestResponse'
37814
+ '403':
37815
+ $ref: '#/components/responses/ForbiddenResponse'
37816
+ '404':
37817
+ $ref: '#/components/responses/NotFoundResponse'
37818
+ '409':
37819
+ $ref: '#/components/responses/ConflictResponse'
37820
+ '412':
37821
+ $ref: '#/components/responses/PreconditionFailedResponse'
37822
+ '429':
37823
+ $ref: '#/components/responses/TooManyRequestsResponse'
37824
+ summary: Update Workflows webhook handle
37825
+ tags:
37826
+ - Microsoft Teams Integration
37827
+ x-codegen-request-body-name: body
37541
37828
/api/v2/integration/opsgenie/services:
37542
37829
get:
37543
37830
description: Get a list of all services from the Datadog Opsgenie integration.
0 commit comments