Skip to content

Commit 6d4696f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-specjirikuncar
authored
Regenerate client from commit 74ee362 of spec repo (#443)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: Jiri Kuncar <[email protected]>
1 parent 017043d commit 6d4696f

File tree

26 files changed

+574
-121
lines changed

26 files changed

+574
-121
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.5.1.dev2",
7-
"regenerated": "2022-01-13 12:57:46.651047",
8-
"spec_repo_commit": "1ae19d0"
7+
"regenerated": "2022-01-13 17:02:38.864934",
8+
"spec_repo_commit": "74ee362"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2022-01-13 12:57:46.681987",
13-
"spec_repo_commit": "1ae19d0"
12+
"regenerated": "2022-01-13 17:02:38.888363",
13+
"spec_repo_commit": "74ee362"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10107,20 +10107,122 @@ components:
1010710107
- NETWORK_HOP
1010810108
- RECEIVED_MESSAGE
1010910109
SyntheticsBasicAuth:
10110+
description: Object to handle basic authentication when performing the test.
10111+
oneOf:
10112+
- $ref: '#/components/schemas/SyntheticsBasicAuthWeb'
10113+
- $ref: '#/components/schemas/SyntheticsBasicAuthSigv4'
10114+
- $ref: '#/components/schemas/SyntheticsBasicAuthNTLM'
10115+
type: object
10116+
SyntheticsBasicAuthNTLM:
10117+
description: Object to handle `NTLM` authentication when performing the test.
10118+
properties:
10119+
domain:
10120+
description: Domain for the authentication to use when performing the test.
10121+
example: DOMAINNAME
10122+
type: string
10123+
password:
10124+
description: Password for the authentication to use when performing the
10125+
test.
10126+
example: examplepassword
10127+
type: string
10128+
type:
10129+
$ref: '#/components/schemas/SyntheticsBasicAuthNTLMType'
10130+
username:
10131+
description: Username for the authentication to use when performing the
10132+
test.
10133+
example: joedoe
10134+
type: string
10135+
workstation:
10136+
description: Workstation for the authentication to use when performing the
10137+
test.
10138+
example: ''
10139+
type: string
10140+
required:
10141+
- type
10142+
type: object
10143+
SyntheticsBasicAuthNTLMType:
10144+
default: ntlm
10145+
description: The type of authentication to use when performing the test.
10146+
enum:
10147+
- ntlm
10148+
example: ntlm
10149+
type: string
10150+
x-enum-varnames:
10151+
- NTLM
10152+
SyntheticsBasicAuthSigv4:
10153+
description: Object to handle `SIGV4` authentication when performing the test.
10154+
properties:
10155+
accessKey:
10156+
description: Access key for the `SIGV4` authentication.
10157+
example: AKIAIOSFODNN7EXAMPLE
10158+
type: string
10159+
region:
10160+
description: Region for the `SIGV4` authentication.
10161+
example: us-east-1
10162+
type: string
10163+
secretKey:
10164+
description: Secret key for the `SIGV4` authentication.
10165+
example: wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY
10166+
type: string
10167+
serviceName:
10168+
description: Service name for the `SIGV4` authentication.
10169+
example: execute-api
10170+
type: string
10171+
sessionToken:
10172+
description: Session token for the `SIGV4` authentication.
10173+
example: 'AQoEXAMPLEH4aoAH0gNCAPyJxz4BlCFFxWNE1OPTgk5TthT+FvwqnKwRcOIfrRh3c/L
10174+
10175+
To6UDdyJwOOvEVPvLXCrrrUtdnniCEXAMPLE/IvU1dYUg2RVAJBanLiHb4IgRmpRV3z
10176+
10177+
rkuWJOgQs8IZZaIv2BXIa2R4OlgkBN9bkUDNCJiBeb/AXlzBBko7b15fjrBs2+cTQtp
10178+
10179+
Z3CYWFXG8C5zqx37wnOE49mRl/+OtkIKGO7fAE
10180+
10181+
'
10182+
type: string
10183+
type:
10184+
$ref: '#/components/schemas/SyntheticsBasicAuthSigv4Type'
10185+
required:
10186+
- accessKey
10187+
- secretKey
10188+
- type
10189+
type: object
10190+
SyntheticsBasicAuthSigv4Type:
10191+
default: sigv4
10192+
description: The type of authentication to use when performing the test.
10193+
enum:
10194+
- sigv4
10195+
example: sigv4
10196+
type: string
10197+
x-enum-varnames:
10198+
- SIGV4
10199+
SyntheticsBasicAuthWeb:
1011010200
description: Object to handle basic authentication when performing the test.
1011110201
properties:
1011210202
password:
1011310203
description: Password to use for the basic authentication.
1011410204
example: ''
1011510205
type: string
10206+
type:
10207+
$ref: '#/components/schemas/SyntheticsBasicAuthWebType'
1011610208
username:
1011710209
description: Username to use for the basic authentication.
1011810210
example: ''
1011910211
type: string
1012010212
required:
1012110213
- password
1012210214
- username
10215+
- type
1012310216
type: object
10217+
SyntheticsBasicAuthWebType:
10218+
default: web
10219+
description: The type of basic authentication to use when performing the test.
10220+
enum:
10221+
- web
10222+
example: web
10223+
type: string
10224+
x-enum-varnames:
10225+
- WEB
1012410226
SyntheticsBatchDetails:
1012510227
description: Details about a batch response.
1012610228
properties:
@@ -11583,6 +11685,8 @@ components:
1158311685
description: Port to use when performing the test.
1158411686
format: int64
1158511687
type: integer
11688+
proxy:
11689+
$ref: '#/components/schemas/SyntheticsTestRequestProxy'
1158611690
query:
1158711691
description: Query to use for the test.
1158811692
type: object
@@ -11628,6 +11732,18 @@ components:
1162811732
description: Date of update of the certificate or key, ISO format.
1162911733
type: string
1163011734
type: object
11735+
SyntheticsTestRequestProxy:
11736+
description: The proxy to perform the test.
11737+
properties:
11738+
headers:
11739+
$ref: '#/components/schemas/SyntheticsTestHeaders'
11740+
url:
11741+
description: URL of the proxy to perform the test.
11742+
example: https://example.com
11743+
type: string
11744+
required:
11745+
- url
11746+
type: object
1163111747
SyntheticsTiming:
1163211748
description: 'Object containing all metrics and their values collected for a
1163311749
Synthetic API test.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-01-06T00:50:58.700Z"
1+
"2022-01-11T18:26:16.498Z"

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

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "e6120031a912d5b42bfe4433de9c6026",
11+
"_id": "8dc3dacaa935b11e2e947da57104d7a1",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 1219,
15+
"bodySize": 1272,
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\"}],\"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\":\"testgetasyntheticsmonitorsdetails1641430258\"},\"method\":\"GET\",\"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-1641430258\",\"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-1641430258\",\"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\":\"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\"}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/synthetics/tests/api"
3939
},
4040
"response": {
41-
"bodySize": 1365,
41+
"bodySize": 1418,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 1365,
45-
"text": "{\"status\":\"live\",\"public_id\":\"hrd-b6w-xp2\",\"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-1641430258\",\"monitor_id\":59800673,\"type\":\"api\",\"created_at\":\"2022-01-06T00:50:59.090835+00:00\",\"modified_at\":\"2022-01-06T00:50:59.090835+00:00\",\"subtype\":\"http\",\"config\":{\"request\":{\"url\":\"https://datadoghq.com\",\"headers\":{\"unique\":\"testgetasyntheticsmonitorsdetails1641430258\"},\"certificate\":{\"cert\":{\"filename\":\"cert-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"},\"key\":{\"filename\":\"key-filename\",\"updatedAt\":\"2020-10-16T09:23:24.857Z\"}},\"method\":\"GET\",\"timeout\":10},\"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-1641430258\",\"tick_every\":60}}"
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}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,17 +51,17 @@
5151
"value": "application/json"
5252
}
5353
],
54-
"headersSize": 528,
54+
"headersSize": 529,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2022-01-06T00:50:58.703Z",
61-
"time": 447
60+
"startedDateTime": "2022-01-11T18:26:16.514Z",
61+
"time": 635
6262
},
6363
{
64-
"_id": "58434e1947e0c55fec0f3d268e4f26c1",
64+
"_id": "c39dff80ab54497ddf6c21297581754f",
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/59800673"
81+
"url": "https://api.datadoghq.com/api/v1/monitor/60619271"
8282
},
8383
"response": {
8484
"bodySize": 782,
8585
"content": {
8686
"mimeType": "application/json",
8787
"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\":59800673,\"multi\":false,\"name\":\"Test-Get_a_synthetics_monitor_s_details-1641430258\",\"created\":\"2022-01-06T00:50:59.038416+00:00\",\"created_at\":1641430259000,\"creator\":{\"id\":1445416,\"handle\":\"[email protected]\",\"name\":null,\"email\":\"[email protected]\"},\"org_id\":321813,\"modified\":\"2022-01-06T00:50:59.038416+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\":\"hrd-b6w-xp2\"}}"
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\"}}"
8989
},
9090
"cookies": [],
9191
"headers": [
@@ -100,11 +100,11 @@
100100
"status": 200,
101101
"statusText": "OK"
102102
},
103-
"startedDateTime": "2022-01-06T00:50:59.153Z",
104-
"time": 198
103+
"startedDateTime": "2022-01-11T18:26:17.154Z",
104+
"time": 12349
105105
},
106106
{
107-
"_id": "cdeb1f5f4f96e2995ea8b5aa704bdc0a",
107+
"_id": "2c9213f07e84bce1f3a1355b9e7cf69a",
108108
"_order": 0,
109109
"cache": {},
110110
"request": {
@@ -128,7 +128,7 @@
128128
"postData": {
129129
"mimeType": "application/json",
130130
"params": [],
131-
"text": "{\"public_ids\":[\"hrd-b6w-xp2\"]}"
131+
"text": "{\"public_ids\":[\"6sz-zdc-kxw\"]}"
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-06T00:50:59.545565+00:00\",\"public_id\":\"hrd-b6w-xp2\"}]}"
141+
"text": "{\"deleted_tests\":[{\"deleted_at\":\"2022-01-11T18:26:29.979222+00:00\",\"public_id\":\"6sz-zdc-kxw\"}]}"
142142
},
143143
"cookies": [],
144144
"headers": [
@@ -147,14 +147,14 @@
147147
"value": "application/json"
148148
}
149149
],
150-
"headersSize": 527,
150+
"headersSize": 528,
151151
"httpVersion": "HTTP/1.1",
152152
"redirectURL": "",
153153
"status": 200,
154154
"statusText": "OK"
155155
},
156-
"startedDateTime": "2022-01-06T00:50:59.355Z",
157-
"time": 329
156+
"startedDateTime": "2022-01-11T18:26:29.511Z",
157+
"time": 589
158158
}
159159
],
160160
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-01-06T00:51:14.279Z"
1+
"2022-01-11T18:26:30.141Z"

0 commit comments

Comments
 (0)