Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-06-16 08:24:58.433873",
"spec_repo_commit": "b2c4e7e8"
"regenerated": "2025-06-16 16:45:03.092535",
"spec_repo_commit": "6e1eb13f"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-06-16 08:24:58.453363",
"spec_repo_commit": "b2c4e7e8"
"regenerated": "2025-06-16 16:45:03.110724",
"spec_repo_commit": "6e1eb13f"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static void main(String[] args) {
.attributes(
new MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes()
.name("Example-Microsoft-Teams-Integration")
.url("https://fake.url.com"))
.url("https://example.logic.azure.com/workflows/123"))
.type(MicrosoftTeamsWorkflowsWebhookHandleType.WORKFLOWS_WEBHOOK_HANDLE));

try {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-28T19:36:52.782Z
2025-05-28T18:45:50.103Z
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"httpRequest": {
"body": {
"type": "JSON",
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_workflow_webhook_handle_returns_CREATED_response-1738093012\",\"url\":\"https://fake.url.com\"},\"type\":\"workflows-webhook-handle\"}}"
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_workflow_webhook_handle_returns_CREATED_response-1748457950\",\"url\":\"https://example.logic.azure.com/workflows/123\"},\"type\":\"workflows-webhook-handle\"}}"
},
"headers": {},
"method": "POST",
Expand All @@ -12,7 +12,7 @@
"secure": true
},
"httpResponse": {
"body": "{\"data\":{\"id\":\"264ae337-af6e-4c54-8e90-2612426f270e\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Create_workflow_webhook_handle_returns_CREATED_response-1738093012\"}}}",
"body": "{\"data\":{\"id\":\"6207c675-cdc3-4cd4-903a-e7a6a3fbac0d\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Create_workflow_webhook_handle_returns_CREATED_response-1748457950\"}}}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -27,13 +27,13 @@
"timeToLive": {
"unlimited": true
},
"id": "2cd4a6d4-0ecb-e5f5-c0a8-6a4f800af0b6"
"id": "e165a4b1-de73-3824-ce4a-b8968076268f"
},
{
"httpRequest": {
"headers": {},
"method": "DELETE",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/264ae337-af6e-4c54-8e90-2612426f270e",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/6207c675-cdc3-4cd4-903a-e7a6a3fbac0d",
"keepAlive": false,
"secure": true
},
Expand All @@ -48,6 +48,6 @@
"timeToLive": {
"unlimited": true
},
"id": "c1bbdff8-4281-f2e9-b7e1-21c4b15d1dcb"
"id": "55239a92-9e91-1f35-1085-d76e828f7e14"
}
]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-28T19:36:53.060Z
2025-05-28T18:45:50.331Z
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"httpRequest": {
"body": {
"type": "JSON",
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_workflow_webhook_handle_returns_OK_response-1738093013\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}"
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_workflow_webhook_handle_returns_OK_response-1748457950\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}"
},
"headers": {},
"method": "POST",
Expand All @@ -12,7 +12,7 @@
"secure": true
},
"httpResponse": {
"body": "{\"data\":{\"id\":\"859e58f9-f63e-4ead-bde4-31265b79c6a7\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Delete_workflow_webhook_handle_returns_OK_response-1738093013\"}}}",
"body": "{\"data\":{\"id\":\"9d270a4a-287c-4225-a1cf-3b657416a471\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Delete_workflow_webhook_handle_returns_OK_response-1748457950\"}}}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -27,13 +27,13 @@
"timeToLive": {
"unlimited": true
},
"id": "e34f8f00-072a-5a55-1341-b203e4216b14"
"id": "6412ee2b-8e27-4d87-8b56-4b88ff69e470"
},
{
"httpRequest": {
"headers": {},
"method": "DELETE",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/859e58f9-f63e-4ead-bde4-31265b79c6a7",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/9d270a4a-287c-4225-a1cf-3b657416a471",
"keepAlive": false,
"secure": true
},
Expand All @@ -48,13 +48,13 @@
"timeToLive": {
"unlimited": true
},
"id": "69e34f33-e902-3723-7253-ab21ad55ee59"
"id": "644ee317-5c4d-dd68-e94c-d8889b5e8891"
},
{
"httpRequest": {
"headers": {},
"method": "DELETE",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/859e58f9-f63e-4ead-bde4-31265b79c6a7",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/9d270a4a-287c-4225-a1cf-3b657416a471",
"keepAlive": false,
"secure": true
},
Expand All @@ -69,6 +69,6 @@
"timeToLive": {
"unlimited": true
},
"id": "69e34f33-e902-3723-7253-ab21ad55ee5a"
"id": "644ee317-5c4d-dd68-e94c-d8889b5e8892"
}
]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-28T19:36:53.337Z
2025-05-28T18:45:50.625Z
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"httpRequest": {
"body": {
"type": "JSON",
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_all_workflow_webhook_handles_returns_OK_response-1738093013\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}"
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_all_workflow_webhook_handles_returns_OK_response-1748457950\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}"
},
"headers": {},
"method": "POST",
Expand All @@ -12,7 +12,7 @@
"secure": true
},
"httpResponse": {
"body": "{\"data\":{\"id\":\"49cc81df-ccaf-48e3-b532-abf24d3b5287\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Get_all_workflow_webhook_handles_returns_OK_response-1738093013\"}}}",
"body": "{\"data\":{\"id\":\"a415a4f2-2b2b-49ad-9f53-3ff6cf5427a4\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Get_all_workflow_webhook_handles_returns_OK_response-1748457950\"}}}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "95d7bcc7-5e76-9897-0917-99a183f8f722"
"id": "eedad5aa-ff13-bfdb-0019-e49637900e25"
},
{
"httpRequest": {
Expand All @@ -38,7 +38,7 @@
"secure": true
},
"httpResponse": {
"body": "{\"data\":[{\"id\":\"49cc81df-ccaf-48e3-b532-abf24d3b5287\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Get_all_workflow_webhook_handles_returns_OK_response-1738093013\"}}]}",
"body": "{\"data\":[{\"id\":\"250dc9c5-c441-4dd5-95af-eff475b0f03a\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Example-Create_workflow_webhook_handle_returns_CREATED_response_1742407475\"}},{\"id\":\"905704d9-dd74-4b4a-9904-3d77aafb2bb7\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Example-Get_workflow_webhook_handle_information_returns_OK_response_1745273073\"}},{\"id\":\"97465cdf-3af2-4e22-bcf1-9cfee14cc54a\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Example-Update_workflow_webhook_handle_returns_OK_response_1745273074\"}},{\"id\":\"612d2d5d-0d3a-417c-91a3-080bdc967d76\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Example-Delete_workflow_webhook_handle_returns_OK_response_1745273075\"}},{\"id\":\"aa140346-f905-4e95-aad6-e50f6ca1a645\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Example-Create_workflow_webhook_handle_returns_CREATED_response_1745273075\"}},{\"id\":\"15dec2cf-1457-41dc-bb81-3fefbdaf37b2\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Example-Get_all_workflow_webhook_handles_returns_OK_response_1745273074\"}},{\"id\":\"a12261ae-dae6-4733-847d-16d4865b94a7\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Example-Create_workflow_webhook_handle_returns_CREATED_response_1747943050\"}},{\"id\":\"a415a4f2-2b2b-49ad-9f53-3ff6cf5427a4\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Get_all_workflow_webhook_handles_returns_OK_response-1748457950\"}}]}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -59,7 +59,7 @@
"httpRequest": {
"headers": {},
"method": "DELETE",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/49cc81df-ccaf-48e3-b532-abf24d3b5287",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/a415a4f2-2b2b-49ad-9f53-3ff6cf5427a4",
"keepAlive": false,
"secure": true
},
Expand All @@ -74,6 +74,6 @@
"timeToLive": {
"unlimited": true
},
"id": "f51b0784-46ce-bb74-1d3b-328a283b7362"
"id": "33fba3e4-e2cb-f7c1-a425-0fd3ea20ffe3"
}
]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-28T19:36:53.606Z
2025-05-28T18:45:51.042Z
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"httpRequest": {
"body": {
"type": "JSON",
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_workflow_webhook_handle_information_returns_OK_response-1738093013\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}"
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_workflow_webhook_handle_information_returns_OK_response-1748457951\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}"
},
"headers": {},
"method": "POST",
Expand All @@ -12,7 +12,7 @@
"secure": true
},
"httpResponse": {
"body": "{\"data\":{\"id\":\"cf3d9006-205e-47b2-9e6a-bea534a2d38b\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Get_workflow_webhook_handle_information_returns_OK_response-1738093013\"}}}",
"body": "{\"data\":{\"id\":\"ac10e097-66cf-4ab3-8659-a6f6c413d51b\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Get_workflow_webhook_handle_information_returns_OK_response-1748457951\"}}}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -27,18 +27,18 @@
"timeToLive": {
"unlimited": true
},
"id": "f051e89c-9491-f2a9-3ce5-12103332339d"
"id": "7dfdefd6-ad34-fe55-8040-a8fb608f1b69"
},
{
"httpRequest": {
"headers": {},
"method": "GET",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/cf3d9006-205e-47b2-9e6a-bea534a2d38b",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/ac10e097-66cf-4ab3-8659-a6f6c413d51b",
"keepAlive": false,
"secure": true
},
"httpResponse": {
"body": "{\"data\":{\"id\":\"cf3d9006-205e-47b2-9e6a-bea534a2d38b\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Get_workflow_webhook_handle_information_returns_OK_response-1738093013\"}}}",
"body": "{\"data\":{\"id\":\"ac10e097-66cf-4ab3-8659-a6f6c413d51b\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Get_workflow_webhook_handle_information_returns_OK_response-1748457951\"}}}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -53,13 +53,13 @@
"timeToLive": {
"unlimited": true
},
"id": "95a0c8d7-a5c5-a947-9729-b7029ad9e5bd"
"id": "a4f5d2ef-8be4-e8ef-1fa0-ff3bc985a493"
},
{
"httpRequest": {
"headers": {},
"method": "DELETE",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/cf3d9006-205e-47b2-9e6a-bea534a2d38b",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/ac10e097-66cf-4ab3-8659-a6f6c413d51b",
"keepAlive": false,
"secure": true
},
Expand All @@ -74,6 +74,6 @@
"timeToLive": {
"unlimited": true
},
"id": "e2dc0777-5e13-be64-16f2-afd5c37cab92"
"id": "3b925b06-ba38-210a-db2f-8a9109d55a42"
}
]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-28T19:36:53.897Z
2025-05-28T18:45:51.379Z
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"httpRequest": {
"body": {
"type": "JSON",
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_workflow_webhook_handle_returns_OK_response-1738093013\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}"
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951\",\"url\":\"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234\"},\"type\":\"workflows-webhook-handle\"}}"
},
"headers": {},
"method": "POST",
Expand All @@ -12,7 +12,7 @@
"secure": true
},
"httpResponse": {
"body": "{\"data\":{\"id\":\"756d04a2-e0b5-439a-9be0-8772b62ba02c\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Update_workflow_webhook_handle_returns_OK_response-1738093013\"}}}",
"body": "{\"data\":{\"id\":\"5c6eadf5-0758-416a-ab9e-f69aa76d69f1\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951\"}}}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -27,22 +27,22 @@
"timeToLive": {
"unlimited": true
},
"id": "838f46de-bf54-5ed0-b209-f2f21c763a8e"
"id": "c6f5c560-e9b9-da2f-01b2-12841471af21"
},
{
"httpRequest": {
"body": {
"type": "JSON",
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_workflow_webhook_handle_returns_OK_response-1738093013--updated\"},\"type\":\"workflows-webhook-handle\"}}"
"json": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951--updated\"},\"type\":\"workflows-webhook-handle\"}}"
},
"headers": {},
"method": "PATCH",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/756d04a2-e0b5-439a-9be0-8772b62ba02c",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/5c6eadf5-0758-416a-ab9e-f69aa76d69f1",
"keepAlive": false,
"secure": true
},
"httpResponse": {
"body": "{\"data\":{\"id\":\"756d04a2-e0b5-439a-9be0-8772b62ba02c\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Update_workflow_webhook_handle_returns_OK_response-1738093013--updated\"}}}",
"body": "{\"data\":{\"id\":\"5c6eadf5-0758-416a-ab9e-f69aa76d69f1\",\"type\":\"workflows-webhook-handle\",\"attributes\":{\"name\":\"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951--updated\"}}}",
"headers": {
"Content-Type": [
"application/vnd.api+json"
Expand All @@ -57,13 +57,13 @@
"timeToLive": {
"unlimited": true
},
"id": "2f3def58-42ca-7770-b8d0-a06a6bbf31c4"
"id": "91aabbec-7769-576c-b153-26ac5c8070a2"
},
{
"httpRequest": {
"headers": {},
"method": "DELETE",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/756d04a2-e0b5-439a-9be0-8772b62ba02c",
"path": "/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/5c6eadf5-0758-416a-ab9e-f69aa76d69f1",
"keepAlive": false,
"secure": true
},
Expand All @@ -78,6 +78,6 @@
"timeToLive": {
"unlimited": true
},
"id": "3e903108-b451-4621-9c91-cf179a305669"
"id": "442dab4e-510f-a924-b89a-c6c8fbfecb1d"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Feature: Microsoft Teams Integration
@team:DataDog/chat-integrations
Scenario: Create workflow webhook handle returns "CREATED" response
Given new "CreateWorkflowsWebhookHandle" request
And body with value {"data": {"attributes": {"name": "{{unique}}", "url": "https://fake.url.com"}, "type": "workflows-webhook-handle"}}
And body with value {"data": {"attributes": {"name": "{{unique}}", "url": "https://example.logic.azure.com/workflows/123"}, "type": "workflows-webhook-handle"}}
When the request is sent
Then the response status is 201 CREATED
And the response "data.attributes.name" is equal to "{{unique}}"
Expand Down
Loading