Skip to content

Commit df309d0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 26831bc8 of spec repo
1 parent e310381 commit df309d0

13 files changed

+33
-33
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-05-27 17:12:13.841874",
8-
"spec_repo_commit": "ed439f7c"
7+
"regenerated": "2025-05-28 18:51:56.671066",
8+
"spec_repo_commit": "26831bc8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-27 17:12:13.857049",
13-
"spec_repo_commit": "ed439f7c"
12+
"regenerated": "2025-05-28 18:51:56.687255",
13+
"spec_repo_commit": "26831bc8"
1414
}
1515
}
1616
}

examples/v2/microsoft-teams-integration/CreateWorkflowsWebhookHandle_1716851881.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
data=MicrosoftTeamsWorkflowsWebhookHandleRequestData(
2222
attributes=MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes(
2323
name="Example-Microsoft-Teams-Integration",
24-
url="https://fake.url.com",
24+
url="https://example.logic.azure.com/workflows/123",
2525
),
2626
type=MicrosoftTeamsWorkflowsWebhookHandleType.WORKFLOWS_WEBHOOK_HANDLE,
2727
),
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-01-28T19:36:52.782Z
1+
2025-05-28T18:45:50.103Z

tests/v2/cassettes/test_scenarios/test_create_workflow_webhook_handle_returns_created_response.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"data":{"attributes":{"name":"Test-Create_workflow_webhook_handle_returns_CREATED_response-1738093012","url":"https://fake.url.com"},"type":"workflows-webhook-handle"}}'
3+
body: '{"data":{"attributes":{"name":"Test-Create_workflow_webhook_handle_returns_CREATED_response-1748457950","url":"https://example.logic.azure.com/workflows/123"},"type":"workflows-webhook-handle"}}'
44
headers:
55
accept:
66
- application/json
@@ -10,7 +10,7 @@ interactions:
1010
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
1111
response:
1212
body:
13-
string: '{"data":{"id":"264ae337-af6e-4c54-8e90-2612426f270e","type":"workflows-webhook-handle","attributes":{"name":"Test-Create_workflow_webhook_handle_returns_CREATED_response-1738093012"}}}'
13+
string: '{"data":{"id":"6207c675-cdc3-4cd4-903a-e7a6a3fbac0d","type":"workflows-webhook-handle","attributes":{"name":"Test-Create_workflow_webhook_handle_returns_CREATED_response-1748457950"}}}'
1414
headers:
1515
content-type:
1616
- application/vnd.api+json
@@ -23,7 +23,7 @@ interactions:
2323
accept:
2424
- '*/*'
2525
method: DELETE
26-
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/264ae337-af6e-4c54-8e90-2612426f270e
26+
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/6207c675-cdc3-4cd4-903a-e7a6a3fbac0d
2727
response:
2828
body:
2929
string: ''
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-01-28T19:36:53.060Z
1+
2025-05-28T18:45:50.331Z

tests/v2/cassettes/test_scenarios/test_delete_workflow_webhook_handle_returns_ok_response.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"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"}}'
3+
body: '{"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"}}'
44
headers:
55
accept:
66
- application/json
@@ -10,7 +10,7 @@ interactions:
1010
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
1111
response:
1212
body:
13-
string: '{"data":{"id":"859e58f9-f63e-4ead-bde4-31265b79c6a7","type":"workflows-webhook-handle","attributes":{"name":"Test-Delete_workflow_webhook_handle_returns_OK_response-1738093013"}}}'
13+
string: '{"data":{"id":"9d270a4a-287c-4225-a1cf-3b657416a471","type":"workflows-webhook-handle","attributes":{"name":"Test-Delete_workflow_webhook_handle_returns_OK_response-1748457950"}}}'
1414
headers:
1515
content-type:
1616
- application/vnd.api+json
@@ -23,7 +23,7 @@ interactions:
2323
accept:
2424
- '*/*'
2525
method: DELETE
26-
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/859e58f9-f63e-4ead-bde4-31265b79c6a7
26+
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/9d270a4a-287c-4225-a1cf-3b657416a471
2727
response:
2828
body:
2929
string: ''
@@ -37,7 +37,7 @@ interactions:
3737
accept:
3838
- '*/*'
3939
method: DELETE
40-
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/859e58f9-f63e-4ead-bde4-31265b79c6a7
40+
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/9d270a4a-287c-4225-a1cf-3b657416a471
4141
response:
4242
body:
4343
string: ''
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-01-28T19:36:53.337Z
1+
2025-05-28T18:45:50.625Z

tests/v2/cassettes/test_scenarios/test_get_all_workflow_webhook_handles_returns_ok_response.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"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"}}'
3+
body: '{"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"}}'
44
headers:
55
accept:
66
- application/json
@@ -10,7 +10,7 @@ interactions:
1010
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
1111
response:
1212
body:
13-
string: '{"data":{"id":"49cc81df-ccaf-48e3-b532-abf24d3b5287","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_all_workflow_webhook_handles_returns_OK_response-1738093013"}}}'
13+
string: '{"data":{"id":"a415a4f2-2b2b-49ad-9f53-3ff6cf5427a4","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_all_workflow_webhook_handles_returns_OK_response-1748457950"}}}'
1414
headers:
1515
content-type:
1616
- application/vnd.api+json
@@ -26,7 +26,7 @@ interactions:
2626
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
2727
response:
2828
body:
29-
string: '{"data":[{"id":"49cc81df-ccaf-48e3-b532-abf24d3b5287","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_all_workflow_webhook_handles_returns_OK_response-1738093013"}}]}'
29+
string: '{"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"}}]}'
3030
headers:
3131
content-type:
3232
- application/vnd.api+json
@@ -39,7 +39,7 @@ interactions:
3939
accept:
4040
- '*/*'
4141
method: DELETE
42-
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/49cc81df-ccaf-48e3-b532-abf24d3b5287
42+
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/a415a4f2-2b2b-49ad-9f53-3ff6cf5427a4
4343
response:
4444
body:
4545
string: ''
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-01-28T19:36:53.606Z
1+
2025-05-28T18:45:51.042Z

tests/v2/cassettes/test_scenarios/test_get_workflow_webhook_handle_information_returns_ok_response.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"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"}}'
3+
body: '{"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"}}'
44
headers:
55
accept:
66
- application/json
@@ -10,7 +10,7 @@ interactions:
1010
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
1111
response:
1212
body:
13-
string: '{"data":{"id":"cf3d9006-205e-47b2-9e6a-bea534a2d38b","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_workflow_webhook_handle_information_returns_OK_response-1738093013"}}}'
13+
string: '{"data":{"id":"ac10e097-66cf-4ab3-8659-a6f6c413d51b","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_workflow_webhook_handle_information_returns_OK_response-1748457951"}}}'
1414
headers:
1515
content-type:
1616
- application/vnd.api+json
@@ -23,10 +23,10 @@ interactions:
2323
accept:
2424
- application/json
2525
method: GET
26-
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/cf3d9006-205e-47b2-9e6a-bea534a2d38b
26+
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/ac10e097-66cf-4ab3-8659-a6f6c413d51b
2727
response:
2828
body:
29-
string: '{"data":{"id":"cf3d9006-205e-47b2-9e6a-bea534a2d38b","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_workflow_webhook_handle_information_returns_OK_response-1738093013"}}}'
29+
string: '{"data":{"id":"ac10e097-66cf-4ab3-8659-a6f6c413d51b","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_workflow_webhook_handle_information_returns_OK_response-1748457951"}}}'
3030
headers:
3131
content-type:
3232
- application/vnd.api+json
@@ -39,7 +39,7 @@ interactions:
3939
accept:
4040
- '*/*'
4141
method: DELETE
42-
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/cf3d9006-205e-47b2-9e6a-bea534a2d38b
42+
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/ac10e097-66cf-4ab3-8659-a6f6c413d51b
4343
response:
4444
body:
4545
string: ''
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-01-28T19:36:53.897Z
1+
2025-05-28T18:45:51.379Z

tests/v2/cassettes/test_scenarios/test_update_workflow_webhook_handle_returns_ok_response.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"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"}}'
3+
body: '{"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"}}'
44
headers:
55
accept:
66
- application/json
@@ -10,25 +10,25 @@ interactions:
1010
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
1111
response:
1212
body:
13-
string: '{"data":{"id":"756d04a2-e0b5-439a-9be0-8772b62ba02c","type":"workflows-webhook-handle","attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1738093013"}}}'
13+
string: '{"data":{"id":"5c6eadf5-0758-416a-ab9e-f69aa76d69f1","type":"workflows-webhook-handle","attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951"}}}'
1414
headers:
1515
content-type:
1616
- application/vnd.api+json
1717
status:
1818
code: 201
1919
message: Created
2020
- request:
21-
body: '{"data":{"attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1738093013--updated"},"type":"workflows-webhook-handle"}}'
21+
body: '{"data":{"attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951--updated"},"type":"workflows-webhook-handle"}}'
2222
headers:
2323
accept:
2424
- application/json
2525
content-type:
2626
- application/json
2727
method: PATCH
28-
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/756d04a2-e0b5-439a-9be0-8772b62ba02c
28+
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/5c6eadf5-0758-416a-ab9e-f69aa76d69f1
2929
response:
3030
body:
31-
string: '{"data":{"id":"756d04a2-e0b5-439a-9be0-8772b62ba02c","type":"workflows-webhook-handle","attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1738093013--updated"}}}'
31+
string: '{"data":{"id":"5c6eadf5-0758-416a-ab9e-f69aa76d69f1","type":"workflows-webhook-handle","attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951--updated"}}}'
3232
headers:
3333
content-type:
3434
- application/vnd.api+json
@@ -41,7 +41,7 @@ interactions:
4141
accept:
4242
- '*/*'
4343
method: DELETE
44-
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/756d04a2-e0b5-439a-9be0-8772b62ba02c
44+
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/5c6eadf5-0758-416a-ab9e-f69aa76d69f1
4545
response:
4646
body:
4747
string: ''

tests/v2/features/microsoft_teams_integration.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Feature: Microsoft Teams Integration
9191
@team:DataDog/chat-integrations
9292
Scenario: Create workflow webhook handle returns "CREATED" response
9393
Given new "CreateWorkflowsWebhookHandle" request
94-
And body with value {"data": {"attributes": {"name": "{{unique}}", "url": "https://fake.url.com"}, "type": "workflows-webhook-handle"}}
94+
And body with value {"data": {"attributes": {"name": "{{unique}}", "url": "https://example.logic.azure.com/workflows/123"}, "type": "workflows-webhook-handle"}}
9595
When the request is sent
9696
Then the response status is 201 CREATED
9797
And the response "data.attributes.name" is equal to "{{unique}}"

0 commit comments

Comments
 (0)