Skip to content

Commit 578f3e8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-specskarimo
authored
Regenerate client from commit fd2aa418 of spec repo (#763)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: skarimo <[email protected]>
1 parent c960947 commit 578f3e8

File tree

14 files changed

+262
-20
lines changed

14 files changed

+262
-20
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.2",
7-
"regenerated": "2022-07-19 06:38:50.555238",
8-
"spec_repo_commit": "0fe2fba6"
7+
"regenerated": "2022-07-19 07:52:54.577154",
8+
"spec_repo_commit": "fd2aa418"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-07-19 06:38:50.567621",
13-
"spec_repo_commit": "0fe2fba6"
12+
"regenerated": "2022-07-19 07:52:54.601203",
13+
"spec_repo_commit": "fd2aa418"
1414
}
1515
}
1616
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2022-07-14T19:05:28.528Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"log": {
3+
"_recordingName": "Synthetics/Get a browser test result returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.4"
8+
},
9+
"entries": [
10+
{
11+
"_id": "c9288df8c73cbe6b2c8ceaf8893a271c",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
}
23+
],
24+
"headersSize": 561,
25+
"httpVersion": "HTTP/1.1",
26+
"method": "GET",
27+
"queryString": [],
28+
"url": "https://api.datadoghq.com/api/v1/synthetics/tests/browser/2yy-sem-mjh/results/5671719892074090418"
29+
},
30+
"response": {
31+
"bodySize": 3688,
32+
"content": {
33+
"mimeType": "application/json",
34+
"size": 3688,
35+
"text": "{\"status\":0,\"run_type\":0,\"check_time\":1657823117511,\"check_version\":2,\"result\":{\"runType\":0,\"browserType\":\"edge\",\"eventType\":\"finished\",\"stepDetails\":[{\"browserErrors\":[],\"vitalsMetrics\":[{\"url\":\"https://docs.datadoghq.com/\",\"lcp\":805.599,\"cls\":0.001}],\"skipped\":false,\"description\":\"Navigate to start URL\",\"warnings\":[],\"url\":\"about:blank\",\"snapshotBucketKey\":false,\"value\":\"https://docs.datadoghq.com/\",\"rumContext\":{\"sessionId\":\"058f89c5-df45-4ecd-ada4-3cebd80ded90\",\"applicationId\":\"737d835c-601a-46c1-853a-1af59907cff5\",\"viewId\":\"8eaade39-8793-436f-b7fb-2e74858e0583\"},\"duration\":2254,\"emailMessageBucketKeys\":false,\"allowFailure\":false,\"screenshotBucketKey\":true,\"isCritical\":false,\"type\":\"goToUrlAndMeasureTti\",\"stepId\":-1},{\"browserErrors\":[],\"vitalsMetrics\":[],\"skipped\":false,\"publicId\":\"s9n-dfr-cfw\",\"description\":\"Type text on input \\\"s\\\"\",\"emailMessageBucketKeys\":false,\"url\":\"https://docs.datadoghq.com/\",\"snapshotBucketKey\":false,\"value\":\"api\",\"rumContext\":{\"sessionId\":\"058f89c5-df45-4ecd-ada4-3cebd80ded90\",\"applicationId\":\"737d835c-601a-46c1-853a-1af59907cff5\",\"viewId\":\"8eaade39-8793-436f-b7fb-2e74858e0583\"},\"duration\":814,\"allowFailure\":false,\"screenshotBucketKey\":true,\"isCritical\":true,\"type\":\"typeText\",\"stepId\":11943140},{\"browserErrors\":[],\"vitalsMetrics\":[{\"url\":\"https://docs.datadoghq.com/search/?s=api\",\"lcp\":474.8}],\"skipped\":false,\"publicId\":\"tzz-gum-7rc\",\"description\":\"Press key 'Enter'\",\"emailMessageBucketKeys\":false,\"url\":\"https://docs.datadoghq.com/\",\"snapshotBucketKey\":false,\"value\":\"Enter\",\"rumContext\":{\"sessionId\":\"058f89c5-df45-4ecd-ada4-3cebd80ded90\",\"applicationId\":\"737d835c-601a-46c1-853a-1af59907cff5\",\"viewId\":\"2d5db8da-8605-4ca8-b001-c53b418f4cf0\"},\"duration\":1973,\"allowFailure\":false,\"screenshotBucketKey\":true,\"isCritical\":true,\"type\":\"pressKey\",\"stepId\":11943141},{\"browserErrors\":[],\"vitalsMetrics\":[{\"url\":\"https://docs.datadoghq.com/api/latest/scopes/\",\"lcp\":434.4,\"cls\":0.001}],\"skipped\":false,\"publicId\":\"waa-yji-ffq\",\"description\":\"Click on link \\\"API\\\"\",\"emailMessageBucketKeys\":false,\"url\":\"https://docs.datadoghq.com/search/?s=api\",\"snapshotBucketKey\":false,\"rumContext\":{\"sessionId\":\"058f89c5-df45-4ecd-ada4-3cebd80ded90\",\"applicationId\":\"737d835c-601a-46c1-853a-1af59907cff5\",\"viewId\":\"18bd7286-d1a6-4218-896b-33c9af642aa9\"},\"duration\":2090,\"allowFailure\":false,\"screenshotBucketKey\":true,\"isCritical\":true,\"type\":\"click\",\"stepId\":11943142}],\"browserVersion\":\"101.0.1210.32\",\"mainDC\":\"us1.prod\",\"timeToInteractive\":1596.800000011921,\"subtype\":null,\"device\":{\"name\":\"Laptop Large\",\"height\":1100,\"width\":1440,\"userAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 Edg/101.0.1210.32 DatadogSynthetics\",\"id\":\"edge.laptop_large\",\"isMobile\":false,\"browser\":\"edge\"},\"hasArtifacts\":true,\"passed\":true,\"duration\":7131,\"startUrl\":\"https://docs.datadoghq.com/\"},\"probe_dc\":\"aws:ca-central-1\",\"result_id\":\"5671719892074090418\",\"check\":{\"type\":\"browser\",\"config\":{\"variables\":[],\"setCookie\":\"\",\"request\":{\"url\":\"https://docs.datadoghq.com/\",\"headers\":{},\"method\":\"GET\"},\"assertions\":[],\"configVariables\":[]},\"options\":{\"rumSettings\":{\"isEnabled\":true,\"applicationId\":\"737d835c-601a-46c1-853a-1af59907cff5\",\"clientTokenId\":94668},\"retry\":{\"count\":1,\"interval\":300},\"min_location_failed\":1,\"monitor_options\":{\"include_tags\":true,\"notify_no_data\":false,\"notify_audit\":false,\"new_host_delay\":300,\"renotify_interval\":0},\"noScreenshot\":false,\"tick_every\":3600,\"disableCsp\":false,\"disableCors\":false,\"device_ids\":[\"chrome.laptop_large\",\"firefox.laptop_large\",\"edge.laptop_large\"],\"min_failure_duration\":600,\"ignoreServerCertificateError\":false}},\"device_id\":\"edge.laptop_large\"}"
36+
},
37+
"cookies": [],
38+
"headers": [
39+
{
40+
"name": "content-type",
41+
"value": "application/json"
42+
}
43+
],
44+
"headersSize": 667,
45+
"httpVersion": "HTTP/1.1",
46+
"redirectURL": "",
47+
"status": 200,
48+
"statusText": "OK"
49+
},
50+
"startedDateTime": "2022-07-14T19:05:28.545Z",
51+
"time": 194
52+
}
53+
],
54+
"pages": [],
55+
"version": "1.2"
56+
}
57+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2022-07-14T18:28:01.484Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"log": {
3+
"_recordingName": "Synthetics/Get a browser test's latest results summaries returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.4"
8+
},
9+
"entries": [
10+
{
11+
"_id": "99d8c7457b7efb440bf006b9b9250b5a",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
}
23+
],
24+
"headersSize": 552,
25+
"httpVersion": "HTTP/1.1",
26+
"method": "GET",
27+
"queryString": [],
28+
"url": "https://api.datadoghq.com/api/v1/synthetics/tests/browser/2yy-sem-mjh/results"
29+
},
30+
"response": {
31+
"bodySize": 1852,
32+
"content": {
33+
"mimeType": "application/json",
34+
"size": 1852,
35+
"text": "{\"last_timestamp_fetched\":1652639281000,\"results\":[{\"status\":0,\"check_time\":1657823117511,\"check_version\":2,\"result\":{\"runType\":0,\"tunnel\":false,\"errorMessage\":null,\"timings\":null,\"stepCountTotal\":4,\"stepCountCompleted\":4,\"duration\":7131,\"deviceId\":\"edge.laptop_large\",\"passed\":true,\"device\":{\"name\":\"Laptop Large\",\"height\":1100,\"width\":1440,\"userAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 Edg/101.0.1210.32 DatadogSynthetics\",\"id\":\"edge.laptop_large\",\"isMobile\":false,\"browser\":\"edge\"},\"errorCount\":0},\"probe_dc\":\"aws:ca-central-1\",\"result_id\":\"5671719892074090418\",\"device_id\":\"edge.laptop_large\"},{\"status\":0,\"check_time\":1657823117502,\"check_version\":2,\"result\":{\"runType\":0,\"tunnel\":false,\"errorMessage\":null,\"timings\":null,\"stepCountTotal\":4,\"stepCountCompleted\":4,\"duration\":4777,\"deviceId\":\"chrome.laptop_large\",\"passed\":true,\"device\":{\"name\":\"Laptop Large\",\"height\":1100,\"width\":1440,\"userAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 DatadogSynthetics\",\"id\":\"chrome.laptop_large\",\"isMobile\":false,\"browser\":\"chrome\"},\"errorCount\":1},\"probe_dc\":\"aws:ca-central-1\",\"result_id\":\"4818974208458839907\",\"device_id\":\"chrome.laptop_large\"},{\"status\":0,\"check_time\":1657823117502,\"check_version\":2,\"result\":{\"runType\":0,\"tunnel\":false,\"errorMessage\":null,\"timings\":null,\"stepCountTotal\":4,\"stepCountCompleted\":4,\"duration\":5838,\"deviceId\":\"firefox.laptop_large\",\"passed\":true,\"device\":{\"name\":\"Laptop Large\",\"height\":1100,\"width\":1440,\"userAgent\":\"Mozilla/5.0 (X11; Linux x86_64) Gecko/20100101 Firefox/98.0.2 DatadogSynthetics\",\"id\":\"firefox.laptop_large\",\"isMobile\":false,\"browser\":\"firefox\"},\"errorCount\":0},\"probe_dc\":\"aws:ca-central-1\",\"result_id\":\"5020771801584744095\",\"device_id\":\"firefox.laptop_large\"}]}"
36+
},
37+
"cookies": [],
38+
"headers": [
39+
{
40+
"name": "content-type",
41+
"value": "application/json"
42+
}
43+
],
44+
"headersSize": 681,
45+
"httpVersion": "HTTP/1.1",
46+
"redirectURL": "",
47+
"status": 200,
48+
"statusText": "OK"
49+
},
50+
"startedDateTime": "2022-07-14T18:28:01.498Z",
51+
"time": 641
52+
}
53+
],
54+
"pages": [],
55+
"version": "1.2"
56+
}
57+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2022-07-14T18:46:34.950Z"
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"log": {
3+
"_recordingName": "Synthetics/Get an API test result returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.4"
8+
},
9+
"entries": [
10+
{
11+
"_id": "15689fcec0f15ce2702303851b0cde98",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
}
23+
],
24+
"headersSize": 553,
25+
"httpVersion": "HTTP/1.1",
26+
"method": "GET",
27+
"queryString": [],
28+
"url": "https://api.datadoghq.com/api/v1/synthetics/tests/hwb-332-3xe/results/3420446318379485707"
29+
},
30+
"response": {
31+
"bodySize": 1331,
32+
"content": {
33+
"mimeType": "application/json",
34+
"size": 1331,
35+
"text": "{\"status\":0,\"run_type\":0,\"check_time\":1657824307023,\"check_version\":1,\"result\":{\"dnsServer\":\"8.8.4.4\",\"eventType\":\"finished\",\"resolutionAttempts\":[],\"timings\":{\"firstByte\":21.2,\"tcp\":2.4,\"ssl\":18,\"dns\":10.9,\"download\":0.2,\"total\":52.7},\"subtype\":\"http\",\"mainDC\":\"us1.prod\",\"passed\":true,\"resolvedIp\":\"142.250.189.238\",\"runType\":0,\"httpStatusCode\":301,\"assertionResults\":[{\"expected\":\"2000\",\"operator\":\"lessThan\",\"valid\":true,\"actual\":52.7,\"type\":\"responseTime\"},{\"expected\":\"301\",\"operator\":\"is\",\"valid\":true,\"actual\":301,\"type\":\"statusCode\"},{\"actual\":\"text/html; charset=UTF-8\",\"expected\":\"text/html; charset=UTF-8\",\"valid\":true,\"operator\":\"is\",\"property\":\"content-type\",\"type\":\"header\"}],\"responseSize\":220},\"probe_dc\":\"aws:us-west-1\",\"result_id\":\"3420446318379485707\",\"check\":{\"type\":\"api\",\"config\":{\"request\":{\"url\":\"https://google.com\",\"method\":\"GET\"},\"assertions\":[{\"operator\":\"lessThan\",\"type\":\"responseTime\",\"target\":2000},{\"operator\":\"is\",\"type\":\"statusCode\",\"target\":301},{\"operator\":\"is\",\"property\":\"content-type\",\"type\":\"header\",\"target\":\"text/html; charset=UTF-8\"}]},\"options\":{\"min_location_failed\":1,\"monitor_options\":{\"include_tags\":true,\"notify_no_data\":false,\"notify_audit\":false,\"new_host_delay\":300,\"renotify_interval\":0},\"tick_every\":60,\"monitor_name\":\"Tesst\",\"min_failure_duration\":0,\"httpVersion\":\"http1\"}}}"
36+
},
37+
"cookies": [],
38+
"headers": [
39+
{
40+
"name": "content-type",
41+
"value": "application/json"
42+
}
43+
],
44+
"headersSize": 667,
45+
"httpVersion": "HTTP/1.1",
46+
"redirectURL": "",
47+
"status": 200,
48+
"statusText": "OK"
49+
},
50+
"startedDateTime": "2022-07-14T18:46:34.968Z",
51+
"time": 196
52+
}
53+
],
54+
"pages": [],
55+
"version": "1.2"
56+
}
57+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2022-07-14T18:37:24.177Z"

cassettes/v1/Synthetics_2658572017/Get-an-API-test-s-latest-results-summaries-returns-OK-response_3978495627/recording.har

Lines changed: 57 additions & 0 deletions
Large diffs are not rendered by default.

examples/v1/synthetics/GetAPITestLatestResults.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const configuration = client.createConfiguration();
88
const apiInstance = new v1.SyntheticsApi(configuration);
99

1010
const params: v1.SyntheticsApiGetAPITestLatestResultsRequest = {
11-
publicId: "public_id",
11+
publicId: "hwb-332-3xe",
1212
};
1313

1414
apiInstance

0 commit comments

Comments
 (0)