Skip to content

Commit ef0a885

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit ab77d015 of spec repo (#3185)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent e7b12de commit ef0a885

5 files changed

Lines changed: 15 additions & 11 deletions

File tree

.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-07-02 08:49:14.937709",
8-
"spec_repo_commit": "b431a9be"
7+
"regenerated": "2025-07-02 11:31:46.400598",
8+
"spec_repo_commit": "ab77d015"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-02 08:49:14.953615",
13-
"spec_repo_commit": "b431a9be"
12+
"regenerated": "2025-07-02 11:31:46.418602",
13+
"spec_repo_commit": "ab77d015"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16735,6 +16735,7 @@ components:
1673516735
- assertRequests
1673616736
- click
1673716737
- extractFromJavascript
16738+
- extractFromEmailBody
1673816739
- extractVariable
1673916740
- goToEmailLink
1674016741
- goToUrl
@@ -16764,6 +16765,7 @@ components:
1676416765
- ASSERT_REQUESTS
1676516766
- CLICK
1676616767
- EXTRACT_FROM_JAVASCRIPT
16768+
- EXTRACT_FROM_EMAIL_BODY
1676716769
- EXTRACT_VARIABLE
1676816770
- GO_TO_EMAIL_LINK
1676916771
- GO_TO_URL

api/datadogV1/model_synthetics_step_type.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const (
2727
SYNTHETICSSTEPTYPE_ASSERT_REQUESTS SyntheticsStepType = "assertRequests"
2828
SYNTHETICSSTEPTYPE_CLICK SyntheticsStepType = "click"
2929
SYNTHETICSSTEPTYPE_EXTRACT_FROM_JAVASCRIPT SyntheticsStepType = "extractFromJavascript"
30+
SYNTHETICSSTEPTYPE_EXTRACT_FROM_EMAIL_BODY SyntheticsStepType = "extractFromEmailBody"
3031
SYNTHETICSSTEPTYPE_EXTRACT_VARIABLE SyntheticsStepType = "extractVariable"
3132
SYNTHETICSSTEPTYPE_GO_TO_EMAIL_LINK SyntheticsStepType = "goToEmailLink"
3233
SYNTHETICSSTEPTYPE_GO_TO_URL SyntheticsStepType = "goToUrl"
@@ -56,6 +57,7 @@ var allowedSyntheticsStepTypeEnumValues = []SyntheticsStepType{
5657
SYNTHETICSSTEPTYPE_ASSERT_REQUESTS,
5758
SYNTHETICSSTEPTYPE_CLICK,
5859
SYNTHETICSSTEPTYPE_EXTRACT_FROM_JAVASCRIPT,
60+
SYNTHETICSSTEPTYPE_EXTRACT_FROM_EMAIL_BODY,
5961
SYNTHETICSSTEPTYPE_EXTRACT_VARIABLE,
6062
SYNTHETICSSTEPTYPE_GO_TO_EMAIL_LINK,
6163
SYNTHETICSSTEPTYPE_GO_TO_URL,
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-12-09T11:17:45.545Z
1+
2025-06-30T13:20:04.184Z

tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_browser_test_returns_OK_-_Returns_the_created_test_details._response.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
interactions:
22
- request:
33
body: |
4-
{"config":{"assertions":[],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","secure":true,"type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test","variables":[{"example":"secret","name":"TEST_VARIABLE","pattern":"secret","secure":true,"type":"text"}]},"locations":["aws:us-east-2"],"message":"Test message","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1733743065","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["chrome.laptop_large"],"disableCors":true,"enableProfiling":true,"enableSecurityTesting":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"tick_every":300},"steps":[{"allowFailure":false,"alwaysExecute":true,"exitIfSucceed":true,"isCritical":true,"name":"Refresh page","params":{},"type":"refresh"}],"tags":["testing:browser"],"type":"browser"}
4+
{"config":{"assertions":[],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","secure":true,"type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test","variables":[{"example":"secret","name":"TEST_VARIABLE","pattern":"secret","secure":true,"type":"text"}]},"locations":["aws:us-east-2"],"message":"Test message","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1751289604","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["chrome.laptop_large"],"disableCors":true,"enableProfiling":true,"enableSecurityTesting":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"tick_every":300},"steps":[{"allowFailure":false,"alwaysExecute":true,"exitIfSucceed":true,"isCritical":true,"name":"Refresh page","params":{},"type":"refresh"}],"tags":["testing:browser"],"type":"browser"}
55
form: {}
66
headers:
77
Accept:
@@ -12,9 +12,9 @@ interactions:
1212
method: POST
1313
url: https://api.datadoghq.com/api/v1/synthetics/tests/browser
1414
response:
15-
body: '{"public_id":"y49-diz-cwy","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1733743065","status":"paused","type":"browser","tags":["testing:browser"],"created_at":"2024-12-09T11:17:46.150300+00:00","modified_at":"2024-12-09T11:17:46.150300+00:00","config":{"assertions":[],"configVariables":[{"name":"PROPERTY","secure":true,"type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test","variables":[{"name":"TEST_VARIABLE","secure":true,"type":"text"}]},"message":"Test
16-
message","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["chrome.laptop_large"],"disableCors":true,"enableProfiling":true,"enableSecurityTesting":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"tick_every":300},"locations":["aws:us-east-2"],"created_by":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"deleted_at":null,"monitor_id":159881002,"org_id":321813,"modified_by":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"steps":[{"name":"Refresh
17-
page","params":{},"type":"refresh","public_id":"uyu-hni-jav","allowFailure":false,"isCritical":true,"exitIfSucceed":true,"alwaysExecute":true}],"stepCount":{"assertions":0,"subtests":0,"total":1}}'
15+
body: '{"public_id":"yyg-vy3-ii9","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1751289604","status":"paused","type":"browser","tags":["testing:browser"],"created_at":"2025-06-30T13:20:04.867493+00:00","modified_at":"2025-06-30T13:20:04.867493+00:00","config":{"assertions":[],"configVariables":[{"name":"PROPERTY","secure":true,"type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test","variables":[{"name":"TEST_VARIABLE","secure":true,"type":"text"}]},"message":"Test
16+
message","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["chrome.laptop_large"],"disableCors":true,"enableProfiling":true,"enableSecurityTesting":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"tick_every":300},"locations":["aws:us-east-2"],"created_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"deleted_at":null,"monitor_id":176509426,"org_id":321813,"modified_by":{"name":"frog","handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"steps":[{"name":"Refresh
17+
page","params":{},"type":"refresh","public_id":"kbc-j4p-uxx","allowFailure":false,"isCritical":true,"exitIfSucceed":true,"alwaysExecute":true}],"stepCount":{"assertions":0,"subtests":0,"total":1}}'
1818
code: 200
1919
duration: 0ms
2020
headers:
@@ -23,7 +23,7 @@ interactions:
2323
status: 200 OK
2424
- request:
2525
body: |
26-
{"public_ids":["y49-diz-cwy"]}
26+
{"public_ids":["yyg-vy3-ii9"]}
2727
form: {}
2828
headers:
2929
Accept:
@@ -34,7 +34,7 @@ interactions:
3434
method: POST
3535
url: https://api.datadoghq.com/api/v1/synthetics/tests/delete
3636
response:
37-
body: '{"deleted_tests":[{"public_id":"y49-diz-cwy","deleted_at":"2024-12-09T11:17:47.130391+00:00"}]}
37+
body: '{"deleted_tests":[{"public_id":"yyg-vy3-ii9","deleted_at":"2025-06-30T13:20:05.692513+00:00"}]}
3838
3939
'
4040
code: 200

0 commit comments

Comments
 (0)