Skip to content

Commit a691cfc

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 817239f2 of spec repo
1 parent f91d0ad commit a691cfc

File tree

20 files changed

+145
-96
lines changed

20 files changed

+145
-96
lines changed

Diff for: .apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2023-01-11 12:48:18.150151",
8-
"spec_repo_commit": "c986b09e"
7+
"regenerated": "2023-01-11 22:36:31.086929",
8+
"spec_repo_commit": "817239f2"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-01-11 12:48:18.167468",
13-
"spec_repo_commit": "c986b09e"
12+
"regenerated": "2023-01-11 22:36:31.098543",
13+
"spec_repo_commit": "817239f2"
1414
}
1515
}
1616
}

Diff for: .generator/schemas/v1/openapi.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -13449,6 +13449,8 @@ components:
1344913449
follow_redirects:
1345013450
description: For API HTTP test, whether or not the test should follow redirects.
1345113451
type: boolean
13452+
httpVersion:
13453+
$ref: '#/components/schemas/SyntheticsTestOptionsHTTPVersion'
1345213454
ignoreServerCertificateError:
1345313455
description: Ignore server certificate error for browser tests.
1345413456
type: boolean
@@ -13495,6 +13497,17 @@ components:
1349513497
minimum: 30
1349613498
type: integer
1349713499
type: object
13500+
SyntheticsTestOptionsHTTPVersion:
13501+
description: HTTP version to use for a Synthetic test.
13502+
enum:
13503+
- http1
13504+
- http2
13505+
- any
13506+
type: string
13507+
x-enum-varnames:
13508+
- HTTP1
13509+
- HTTP2
13510+
- HTTP2_FALLBACK_TO_HTTP1
1349813511
SyntheticsTestOptionsMonitorOptions:
1349913512
description: 'Object containing the options for a Synthetic test as a monitor
1350013513

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-11-21T13:20:41.192Z"
1+
"2023-01-11T22:27:09.960Z"

Diff for: cassettes/v1/Monitors_4022238206/Get-a-synthetics-monitor-s-details_2292154114/recording.har

+21-21
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "3a11d1dbd49031df6f3bc5d71212d8cd",
11+
"_id": "9bb94ad5dcf8dde20b92c4664ff8bebe",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 1623,
15+
"bodySize": 1645,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -32,17 +32,17 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testgetasyntheticsmonitorsdetails1669036841\"},\"method\":\"GET\",\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"}},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Get_a_synthetics_monitor_s_details-1669036841\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Get_a_synthetics_monitor_s_details-1669036841\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}"
35+
"text": "{\"config\":{\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"target\":\"text/html\",\"type\":\"header\"},{\"operator\":\"lessThan\",\"target\":2000,\"type\":\"responseTime\"},{\"operator\":\"validatesJSONPath\",\"target\":{\"jsonPath\":\"topKey\",\"operator\":\"isNot\",\"targetValue\":\"0\"},\"type\":\"body\"},{\"operator\":\"validatesXPath\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"},\"type\":\"body\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"basicAuth\":{\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"scope\":\"yoyo\",\"tokenApiAuthentication\":\"header\",\"type\":\"oauth-client\"},\"certificate\":{\"cert\":{\"content\":\"cert-content\",\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"content\":\"key-content\",\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"headers\":{\"unique\":\"testgetasyntheticsmonitorsdetails1673476029\"},\"method\":\"GET\",\"proxy\":{\"headers\":{},\"url\":\"https://datadoghq.com\"},\"timeout\":10,\"url\":\"https://datadoghq.com\"}},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"name\":\"Test-Get_a_synthetics_monitor_s_details-1673476029\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"httpVersion\":\"http2\",\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Get_a_synthetics_monitor_s_details-1673476029\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":10},\"tick_every\":60},\"subtype\":\"http\",\"tags\":[\"testing:api\"],\"type\":\"api\"}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/synthetics/tests/api"
3939
},
4040
"response": {
41-
"bodySize": 1771,
41+
"bodySize": 1793,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 1771,
45-
"text": "{\"status\":\"live\",\"public_id\":\"ahw-qah-d9b\",\"tags\":[\"testing:api\"],\"org_id\":569509,\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"deleted_at\":null,\"name\":\"Test-Get_a_synthetics_monitor_s_details-1669036841\",\"monitor_id\":103654710,\"type\":\"api\",\"created_at\":\"2022-11-21T13:20:41.629289+00:00\",\"modified_at\":\"2022-11-21T13:20:41.629289+00:00\",\"subtype\":\"http\",\"config\":{\"request\":{\"certificate\":{\"cert\":{\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"url\":\"https://datadoghq.com\",\"basicAuth\":{\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"scope\":\"yoyo\",\"type\":\"oauth-client\",\"tokenApiAuthentication\":\"header\"},\"headers\":{\"unique\":\"testgetasyntheticsmonitorsdetails1669036841\"},\"proxy\":{\"url\":\"https://datadoghq.com\",\"headers\":{}},\"timeout\":10,\"method\":\"GET\"},\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"type\":\"header\",\"target\":\"text/html\"},{\"operator\":\"lessThan\",\"type\":\"responseTime\",\"target\":2000},{\"operator\":\"validatesJSONPath\",\"type\":\"body\",\"target\":{\"operator\":\"isNot\",\"targetValue\":\"0\",\"jsonPath\":\"topKey\"}},{\"operator\":\"validatesXPath\",\"type\":\"body\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"}}],\"configVariables\":[{\"pattern\":\"content-type\",\"type\":\"text\",\"example\":\"content-type\",\"name\":\"PROPERTY\"}]},\"options\":{\"accept_self_signed\":false,\"retry\":{\"count\":3,\"interval\":10},\"min_location_failed\":1,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"monitor_priority\":5,\"monitor_name\":\"Test-Get_a_synthetics_monitor_s_details-1669036841\",\"tick_every\":60}}"
44+
"size": 1793,
45+
"text": "{\"status\":\"live\",\"public_id\":\"bij-9tv-kg3\",\"tags\":[\"testing:api\"],\"org_id\":321813,\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"deleted_at\":null,\"name\":\"Test-Get_a_synthetics_monitor_s_details-1673476029\",\"monitor_id\":107572460,\"type\":\"api\",\"created_at\":\"2023-01-11T22:27:10.318316+00:00\",\"modified_at\":\"2023-01-11T22:27:10.318316+00:00\",\"subtype\":\"http\",\"config\":{\"request\":{\"certificate\":{\"cert\":{\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"url\":\"https://datadoghq.com\",\"basicAuth\":{\"clientSecret\":\"client-secret\",\"resource\":\"resource\",\"accessTokenUrl\":\"https://datadog-token.com\",\"audience\":\"audience\",\"clientId\":\"client-id\",\"scope\":\"yoyo\",\"type\":\"oauth-client\",\"tokenApiAuthentication\":\"header\"},\"headers\":{\"unique\":\"testgetasyntheticsmonitorsdetails1673476029\"},\"proxy\":{\"url\":\"https://datadoghq.com\",\"headers\":{}},\"timeout\":10,\"method\":\"GET\"},\"assertions\":[{\"operator\":\"is\",\"property\":\"{{ PROPERTY }}\",\"type\":\"header\",\"target\":\"text/html\"},{\"operator\":\"lessThan\",\"type\":\"responseTime\",\"target\":2000},{\"operator\":\"validatesJSONPath\",\"type\":\"body\",\"target\":{\"operator\":\"isNot\",\"targetValue\":\"0\",\"jsonPath\":\"topKey\"}},{\"operator\":\"validatesXPath\",\"type\":\"body\",\"target\":{\"operator\":\"contains\",\"targetValue\":\"0\",\"xPath\":\"target-xpath\"}}],\"configVariables\":[{\"pattern\":\"content-type\",\"type\":\"text\",\"example\":\"content-type\",\"name\":\"PROPERTY\"}]},\"options\":{\"accept_self_signed\":false,\"retry\":{\"count\":3,\"interval\":10},\"min_location_failed\":1,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"monitor_priority\":5,\"monitor_name\":\"Test-Get_a_synthetics_monitor_s_details-1673476029\",\"tick_every\":60,\"httpVersion\":\"http2\"}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2022-11-21T13:20:41.196Z",
61-
"time": 493
60+
"startedDateTime": "2023-01-11T22:27:09.977Z",
61+
"time": 738
6262
},
6363
{
64-
"_id": "a578adb795248483ad9ef8f100c5c067",
64+
"_id": "c42b43429540ca7858fbf6a21fa51cf4",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -78,14 +78,14 @@
7878
"httpVersion": "HTTP/1.1",
7979
"method": "GET",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v1/monitor/103654710"
81+
"url": "https://api.datadoghq.com/api/v1/monitor/107572460"
8282
},
8383
"response": {
84-
"bodySize": 815,
84+
"bodySize": 813,
8585
"content": {
8686
"mimeType": "application/json",
87-
"size": 815,
88-
"text": "{\"id\":103654710,\"org_id\":569509,\"type\":\"synthetics alert\",\"name\":\"Test-Get_a_synthetics_monitor_s_details-1669036841\",\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"tags\":[\"testing:api\",\"probe_dc:aws:us-east-2\",\"check_type:api\",\"check_status:live\",\"ci_execution_rule:blocking\"],\"query\":\"no_query\",\"options\":{\"include_tags\":true,\"notify_audit\":false,\"new_host_delay\":300,\"on_missing_data\":\"show_no_data\",\"synthetics_check_id\":\"ahw-qah-d9b\",\"silenced\":{}},\"multi\":false,\"created_at\":1669036841000,\"created\":\"2022-11-21T13:20:41.610325+00:00\",\"modified\":\"2022-11-21T13:20:41.610325+00:00\",\"deleted\":null,\"restricted_roles\":null,\"priority\":5,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"creator\":{\"name\":\"Frog\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"id\":2781302}}\n"
87+
"size": 813,
88+
"text": "{\"id\":107572460,\"org_id\":321813,\"type\":\"synthetics alert\",\"name\":\"Test-Get_a_synthetics_monitor_s_details-1673476029\",\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"tags\":[\"testing:api\",\"probe_dc:aws:us-east-2\",\"check_type:api\",\"check_status:live\",\"ci_execution_rule:blocking\"],\"query\":\"no_query\",\"options\":{\"include_tags\":true,\"notify_audit\":false,\"new_host_delay\":300,\"on_missing_data\":\"show_no_data\",\"synthetics_check_id\":\"bij-9tv-kg3\",\"silenced\":{}},\"multi\":false,\"created_at\":1673476030000,\"created\":\"2023-01-11T22:27:10.299804+00:00\",\"modified\":\"2023-01-11T22:27:10.299804+00:00\",\"deleted\":null,\"restricted_roles\":null,\"priority\":5,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"creator\":{\"name\":null,\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"id\":1445416}}\n"
8989
},
9090
"cookies": [],
9191
"headers": [
@@ -94,17 +94,17 @@
9494
"value": "application/json"
9595
}
9696
],
97-
"headersSize": 622,
97+
"headersSize": 623,
9898
"httpVersion": "HTTP/1.1",
9999
"redirectURL": "",
100100
"status": 200,
101101
"statusText": "OK"
102102
},
103-
"startedDateTime": "2022-11-21T13:20:41.700Z",
104-
"time": 380
103+
"startedDateTime": "2023-01-11T22:27:10.740Z",
104+
"time": 128
105105
},
106106
{
107-
"_id": "7a690f43b3f15a19388289e3e0281138",
107+
"_id": "0820134803c253eec4f80aec48e508cd",
108108
"_order": 0,
109109
"cache": {},
110110
"request": {
@@ -128,7 +128,7 @@
128128
"postData": {
129129
"mimeType": "application/json",
130130
"params": [],
131-
"text": "{\"public_ids\":[\"ahw-qah-d9b\"]}"
131+
"text": "{\"public_ids\":[\"bij-9tv-kg3\"]}"
132132
},
133133
"queryString": [],
134134
"url": "https://api.datadoghq.com/api/v1/synthetics/tests/delete"
@@ -138,7 +138,7 @@
138138
"content": {
139139
"mimeType": "application/json",
140140
"size": 96,
141-
"text": "{\"deleted_tests\":[{\"deleted_at\":\"2022-11-21T13:20:42.443854+00:00\",\"public_id\":\"ahw-qah-d9b\"}]}\n"
141+
"text": "{\"deleted_tests\":[{\"deleted_at\":\"2023-01-11T22:27:10.992952+00:00\",\"public_id\":\"bij-9tv-kg3\"}]}\n"
142142
},
143143
"cookies": [],
144144
"headers": [
@@ -153,8 +153,8 @@
153153
"status": 200,
154154
"statusText": "OK"
155155
},
156-
"startedDateTime": "2022-11-21T13:20:42.087Z",
157-
"time": 505
156+
"startedDateTime": "2023-01-11T22:27:10.875Z",
157+
"time": 210
158158
}
159159
],
160160
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-11-14T14:48:36.716Z"
1+
"2023-01-11T22:23:00.967Z"

0 commit comments

Comments
 (0)