Skip to content

Commit bbfda23

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit cf974e8 of spec repo (#544)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent f66f014 commit bbfda23

File tree

19 files changed

+597
-87
lines changed

19 files changed

+597
-87
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-02-23 09:52:53.244865",
8-
"spec_repo_commit": "c049b6d"
7+
"regenerated": "2022-02-23 10:10:02.745830",
8+
"spec_repo_commit": "cf974e8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-02-23 09:52:53.263750",
13-
"spec_repo_commit": "c049b6d"
12+
"regenerated": "2022-02-23 10:10:02.762812",
13+
"spec_repo_commit": "cf974e8"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11874,6 +11874,10 @@ components:
1187411874
allow_insecure:
1187511875
description: Allows loading insecure content for an HTTP request.
1187611876
type: boolean
11877+
checkCertificateRevocation:
11878+
description: For SSL test, whether or not the test should fail on revoked
11879+
certificate in stapled OCSP.
11880+
type: boolean
1187711881
device_ids:
1187811882
description: For browser test, array with the different device IDs used
1187911883
to run the test.
@@ -24083,7 +24087,7 @@ paths:
2408324087
x-given:
2408424088
synthetics_api_test:
2408524089
parameters:
24086-
- file: synthetics_api_test_payload.json
24090+
- file: synthetics_api_http_test_payload.json
2408724091
name: body
2408824092
step: there is a valid "synthetics_api_test" in the system
2408924093
synthetics_api_test_with_wrong_dns:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-01-11T18:26:16.498Z"
1+
"2022-02-22T17:12:27.896Z"

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

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "8dc3dacaa935b11e2e947da57104d7a1",
11+
"_id": "780b671d6d5f7fb7ad17ba2f4a26da62",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 1272,
15+
"bodySize": 1277,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -26,23 +26,23 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 495,
29+
"headersSize": 579,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
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\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"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\":\"testgetasyntheticsmonitorsdetails1641925576\"},\"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_test_payload.json\",\"name\":\"Test-Get_a_synthetics_monitor_s_details-1641925576\",\"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-1641925576\",\"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\"}],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"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\":\"testgetasyntheticsmonitorsdetails1645549947\"},\"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-1645549947\",\"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-1645549947\",\"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": 1418,
41+
"bodySize": 1423,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 1418,
45-
"text": "{\"status\":\"live\",\"public_id\":\"6sz-zdc-kxw\",\"tags\":[\"testing:api\"],\"org_id\":321813,\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_payload.json\",\"deleted_at\":null,\"name\":\"Test-Get_a_synthetics_monitor_s_details-1641925576\",\"monitor_id\":60619271,\"type\":\"api\",\"created_at\":\"2022-01-11T18:26:17.180619+00:00\",\"modified_at\":\"2022-01-11T18:26:17.180619+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\",\"headers\":{\"unique\":\"testgetasyntheticsmonitorsdetails1641925576\"},\"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\"}}],\"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-1641925576\",\"tick_every\":60}}"
44+
"size": 1423,
45+
"text": "{\"status\":\"live\",\"public_id\":\"87q-fuj-j2g\",\"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-1645549947\",\"monitor_id\":64654478,\"type\":\"api\",\"created_at\":\"2022-02-22T17:12:28.762647+00:00\",\"modified_at\":\"2022-02-22T17:12:28.762647+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\",\"headers\":{\"unique\":\"testgetasyntheticsmonitorsdetails1645549947\"},\"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\"}}],\"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-1645549947\",\"tick_every\":60}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,17 +51,17 @@
5151
"value": "application/json"
5252
}
5353
],
54-
"headersSize": 529,
54+
"headersSize": 667,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2022-01-11T18:26:16.514Z",
61-
"time": 635
60+
"startedDateTime": "2022-02-22T17:12:27.918Z",
61+
"time": 772
6262
},
6363
{
64-
"_id": "c39dff80ab54497ddf6c21297581754f",
64+
"_id": "8cc44902c434773b34d8472888e08f66",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -74,18 +74,18 @@
7474
"value": "application/json"
7575
}
7676
],
77-
"headersSize": 423,
77+
"headersSize": 507,
7878
"httpVersion": "HTTP/1.1",
7979
"method": "GET",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v1/monitor/60619271"
81+
"url": "https://api.datadoghq.com/api/v1/monitor/64654478"
8282
},
8383
"response": {
84-
"bodySize": 782,
84+
"bodySize": 816,
8585
"content": {
8686
"mimeType": "application/json",
87-
"size": 782,
88-
"text": "{\"restricted_roles\":null,\"tags\":[\"testing:api\",\"probe_dc:aws:us-east-2\",\"check_type:api\",\"check_status:live\"],\"deleted\":null,\"query\":\"no_query\",\"message\":\"BDD test payload: synthetics_api_test_payload.json\",\"id\":60619271,\"multi\":false,\"name\":\"Test-Get_a_synthetics_monitor_s_details-1641925576\",\"created\":\"2022-01-11T18:26:17.145876+00:00\",\"created_at\":1641925577000,\"creator\":{\"id\":1445416,\"handle\":\"[email protected]\",\"name\":null,\"email\":\"[email protected]\"},\"org_id\":321813,\"modified\":\"2022-01-11T18:26:17.145876+00:00\",\"priority\":5,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"type\":\"synthetics alert\",\"options\":{\"notify_audit\":false,\"locked\":false,\"silenced\":{},\"include_tags\":true,\"new_host_delay\":300,\"notify_no_data\":false,\"synthetics_check_id\":\"6sz-zdc-kxw\"}}"
87+
"size": 816,
88+
"text": "{\"restricted_roles\":null,\"tags\":[\"testing:api\",\"probe_dc:aws:us-east-2\",\"check_type:api\",\"check_status:live\",\"ci_execution_rule:blocking\"],\"deleted\":null,\"query\":\"no_query\",\"message\":\"BDD test payload: synthetics_api_http_test_payload.json\",\"id\":64654478,\"multi\":false,\"name\":\"Test-Get_a_synthetics_monitor_s_details-1645549947\",\"created\":\"2022-02-22T17:12:28.732932+00:00\",\"created_at\":1645549948000,\"creator\":{\"id\":1445416,\"handle\":\"[email protected]\",\"name\":null,\"email\":\"[email protected]\"},\"org_id\":321813,\"modified\":\"2022-02-22T17:12:28.732932+00:00\",\"priority\":5,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"type\":\"synthetics alert\",\"options\":{\"notify_audit\":false,\"locked\":false,\"silenced\":{},\"include_tags\":true,\"new_host_delay\":300,\"notify_no_data\":false,\"synthetics_check_id\":\"87q-fuj-j2g\"}}"
8989
},
9090
"cookies": [],
9191
"headers": [
@@ -94,17 +94,17 @@
9494
"value": "application/json"
9595
}
9696
],
97-
"headersSize": 515,
97+
"headersSize": 665,
9898
"httpVersion": "HTTP/1.1",
9999
"redirectURL": "",
100100
"status": 200,
101101
"statusText": "OK"
102102
},
103-
"startedDateTime": "2022-01-11T18:26:17.154Z",
104-
"time": 12349
103+
"startedDateTime": "2022-02-22T17:12:28.697Z",
104+
"time": 502
105105
},
106106
{
107-
"_id": "2c9213f07e84bce1f3a1355b9e7cf69a",
107+
"_id": "fa3ec63ad4ec0f090db7f3baf22fed5b",
108108
"_order": 0,
109109
"cache": {},
110110
"request": {
@@ -122,13 +122,13 @@
122122
"value": "application/json"
123123
}
124124
],
125-
"headersSize": 484,
125+
"headersSize": 568,
126126
"httpVersion": "HTTP/1.1",
127127
"method": "POST",
128128
"postData": {
129129
"mimeType": "application/json",
130130
"params": [],
131-
"text": "{\"public_ids\":[\"6sz-zdc-kxw\"]}"
131+
"text": "{\"public_ids\":[\"87q-fuj-j2g\"]}"
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": 95,
141-
"text": "{\"deleted_tests\":[{\"deleted_at\":\"2022-01-11T18:26:29.979222+00:00\",\"public_id\":\"6sz-zdc-kxw\"}]}"
141+
"text": "{\"deleted_tests\":[{\"deleted_at\":\"2022-02-22T17:12:29.793575+00:00\",\"public_id\":\"87q-fuj-j2g\"}]}"
142142
},
143143
"cookies": [],
144144
"headers": [
@@ -147,14 +147,14 @@
147147
"value": "application/json"
148148
}
149149
],
150-
"headersSize": 528,
150+
"headersSize": 665,
151151
"httpVersion": "HTTP/1.1",
152152
"redirectURL": "",
153153
"status": 200,
154154
"statusText": "OK"
155155
},
156-
"startedDateTime": "2022-01-11T18:26:29.511Z",
157-
"time": 589
156+
"startedDateTime": "2022-02-22T17:12:29.205Z",
157+
"time": 637
158158
}
159159
],
160160
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2022-02-22T17:12:29.866Z"

0 commit comments

Comments
 (0)