Skip to content

Commit dc1acf7

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-specskarimo
authored
Regenerate client from commit 1b56c3ba of spec repo (#1728)
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 9c4c520 commit dc1acf7

File tree

25 files changed

+1021
-71
lines changed

25 files changed

+1021
-71
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.6",
7-
"regenerated": "2024-08-14 22:32:08.174345",
8-
"spec_repo_commit": "07d72513"
7+
"regenerated": "2024-08-16 13:40:37.635915",
8+
"spec_repo_commit": "1b56c3ba"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-14 22:32:08.192333",
13-
"spec_repo_commit": "07d72513"
12+
"regenerated": "2024-08-16 13:40:37.656678",
13+
"spec_repo_commit": "1b56c3ba"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15143,6 +15143,12 @@ components:
1514315143
description: Unique identifier of the global variable.
1514415144
readOnly: true
1514515145
type: string
15146+
is_fido:
15147+
description: Determines if the global variable is a FIDO variable.
15148+
type: boolean
15149+
is_totp:
15150+
description: Determines if the global variable is a TOTP/MFA variable.
15151+
type: boolean
1514615152
name:
1514715153
description: Name of the global variable. Unique across Synthetic global
1514815154
variables.
@@ -15233,6 +15239,53 @@ components:
1523315239
- JSON_PATH
1523415240
- REGEX
1523515241
- X_PATH
15242+
SyntheticsGlobalVariableRequest:
15243+
description: Details of the global variable to create.
15244+
properties:
15245+
attributes:
15246+
$ref: '#/components/schemas/SyntheticsGlobalVariableAttributes'
15247+
description:
15248+
description: Description of the global variable.
15249+
example: Example description
15250+
type: string
15251+
id:
15252+
description: Unique identifier of the global variable.
15253+
readOnly: true
15254+
type: string
15255+
is_fido:
15256+
description: Determines if the global variable is a FIDO variable.
15257+
type: boolean
15258+
is_totp:
15259+
description: Determines if the global variable is a TOTP/MFA variable.
15260+
type: boolean
15261+
name:
15262+
description: Name of the global variable. Unique across Synthetic global
15263+
variables.
15264+
example: MY_VARIABLE
15265+
type: string
15266+
parse_test_options:
15267+
$ref: '#/components/schemas/SyntheticsGlobalVariableParseTestOptions'
15268+
parse_test_public_id:
15269+
description: A Synthetic test ID to use as a test to generate the variable
15270+
value.
15271+
example: abc-def-123
15272+
type: string
15273+
tags:
15274+
description: Tags of the global variable.
15275+
example:
15276+
- team:front
15277+
- test:workflow-1
15278+
items:
15279+
description: Tag name.
15280+
type: string
15281+
type: array
15282+
value:
15283+
$ref: '#/components/schemas/SyntheticsGlobalVariableValue'
15284+
required:
15285+
- description
15286+
- name
15287+
- tags
15288+
type: object
1523615289
SyntheticsGlobalVariableTOTPParameters:
1523715290
description: Parameters for the TOTP/MFA variable
1523815291
properties:
@@ -31194,7 +31247,7 @@ paths:
3119431247
content:
3119531248
application/json:
3119631249
schema:
31197-
$ref: '#/components/schemas/SyntheticsGlobalVariable'
31250+
$ref: '#/components/schemas/SyntheticsGlobalVariableRequest'
3119831251
description: Details of the global variable to create.
3119931252
required: true
3120031253
responses:
@@ -31328,7 +31381,7 @@ paths:
3132831381
content:
3132931382
application/json:
3133031383
schema:
31331-
$ref: '#/components/schemas/SyntheticsGlobalVariable'
31384+
$ref: '#/components/schemas/SyntheticsGlobalVariableRequest'
3133231385
description: Details of the global variable to update.
3133331386
required: true
3133431387
responses:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2024-08-14T08:58:43.057Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
{
2+
"log": {
3+
"_recordingName": "Synthetics/Create a FIDO global variable returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "101b08b3d0fc7c6a2038449d764ee091",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 2207,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 579,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "POST",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"httpVersion\":\"http2\",\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"name\":\"Wait\",\"subtype\":\"wait\",\"value\":1},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_a_FIDO_global_variable_returns_OK_response-1723625923\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_FIDO_global_variable_returns_OK_response-1723625923\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v1/synthetics/tests/api"
39+
},
40+
"response": {
41+
"bodySize": 2634,
42+
"content": {
43+
"mimeType": "application/json",
44+
"size": 2634,
45+
"text": "{\"public_id\":\"ntf-3e2-mti\",\"name\":\"Test-Create_a_FIDO_global_variable_returns_OK_response-1723625923\",\"status\":\"live\",\"type\":\"api\",\"tags\":[\"testing:api\"],\"created_at\":\"2024-08-14T08:58:43.764902+00:00\",\"modified_at\":\"2024-08-14T08:58:43.764902+00:00\",\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"httpVersion\":\"http2\",\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\",\"id\":\"tj8-4ij-ddd\"},{\"name\":\"Wait\",\"subtype\":\"wait\",\"value\":1,\"id\":\"w3m-csm-75k\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\",\"id\":\"h3x-7i4-rcp\"}]},\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_FIDO_global_variable_returns_OK_response-1723625923\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"locations\":[\"aws:us-east-2\"],\"subtype\":\"multi\",\"created_by\":{\"name\":null,\"handle\":\"[email protected]\",\"email\":\"[email protected]\"},\"deleted_at\":null,\"monitor_id\":151290037,\"org_id\":321813,\"modified_by\":{\"name\":null,\"handle\":\"[email protected]\",\"email\":\"[email protected]\"}}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/json"
52+
}
53+
],
54+
"headersSize": 663,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 200,
58+
"statusText": "OK"
59+
},
60+
"startedDateTime": "2024-08-14T08:58:43.068Z",
61+
"time": 786
62+
},
63+
{
64+
"_id": "c9fbd453a8c53d2614f18e3ba352b056",
65+
"_order": 0,
66+
"cache": {},
67+
"request": {
68+
"bodySize": 138,
69+
"cookies": [],
70+
"headers": [
71+
{
72+
"_fromType": "array",
73+
"name": "accept",
74+
"value": "application/json"
75+
},
76+
{
77+
"_fromType": "array",
78+
"name": "content-type",
79+
"value": "application/json"
80+
}
81+
],
82+
"headersSize": 575,
83+
"httpVersion": "HTTP/1.1",
84+
"method": "POST",
85+
"postData": {
86+
"mimeType": "application/json",
87+
"params": [],
88+
"text": "{\"description\":\"\",\"is_fido\":true,\"name\":\"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1723625923\",\"tags\":[]}"
89+
},
90+
"queryString": [],
91+
"url": "https://api.datadoghq.com/api/v1/synthetics/variables"
92+
},
93+
"response": {
94+
"bodySize": 243,
95+
"content": {
96+
"mimeType": "application/json",
97+
"size": 243,
98+
"text": "{\"id\":\"bf2cc5f0-2529-433c-b892-84e83e13a759\",\"name\":\"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1723625923\",\"description\":\"\",\"type\":\"variable\",\"tags\":[],\"last_error\":null,\"is_fido\":true,\"value\":{\"secure\":true}}\n"
99+
},
100+
"cookies": [],
101+
"headers": [
102+
{
103+
"name": "content-type",
104+
"value": "application/json"
105+
}
106+
],
107+
"headersSize": 666,
108+
"httpVersion": "HTTP/1.1",
109+
"redirectURL": "",
110+
"status": 200,
111+
"statusText": "OK"
112+
},
113+
"startedDateTime": "2024-08-14T08:58:43.860Z",
114+
"time": 469
115+
},
116+
{
117+
"_id": "abddc75442e496c4e530e5e5d9df591a",
118+
"_order": 0,
119+
"cache": {},
120+
"request": {
121+
"bodySize": 0,
122+
"cookies": [],
123+
"headers": [
124+
{
125+
"_fromType": "array",
126+
"name": "accept",
127+
"value": "*/*"
128+
}
129+
],
130+
"headersSize": 548,
131+
"httpVersion": "HTTP/1.1",
132+
"method": "DELETE",
133+
"queryString": [],
134+
"url": "https://api.datadoghq.com/api/v1/synthetics/variables/bf2cc5f0-2529-433c-b892-84e83e13a759"
135+
},
136+
"response": {
137+
"bodySize": 0,
138+
"content": {
139+
"mimeType": "text/html; charset=utf-8",
140+
"size": 0
141+
},
142+
"cookies": [],
143+
"headers": [
144+
{
145+
"name": "content-type",
146+
"value": "text/html; charset=utf-8"
147+
}
148+
],
149+
"headersSize": 649,
150+
"httpVersion": "HTTP/1.1",
151+
"redirectURL": "",
152+
"status": 200,
153+
"statusText": "OK"
154+
},
155+
"startedDateTime": "2024-08-14T08:58:44.343Z",
156+
"time": 474
157+
},
158+
{
159+
"_id": "c579bd0b6068ed55e4725c02a0c3dfde",
160+
"_order": 0,
161+
"cache": {},
162+
"request": {
163+
"bodySize": 30,
164+
"cookies": [],
165+
"headers": [
166+
{
167+
"_fromType": "array",
168+
"name": "accept",
169+
"value": "application/json"
170+
},
171+
{
172+
"_fromType": "array",
173+
"name": "content-type",
174+
"value": "application/json"
175+
}
176+
],
177+
"headersSize": 568,
178+
"httpVersion": "HTTP/1.1",
179+
"method": "POST",
180+
"postData": {
181+
"mimeType": "application/json",
182+
"params": [],
183+
"text": "{\"public_ids\":[\"ntf-3e2-mti\"]}"
184+
},
185+
"queryString": [],
186+
"url": "https://api.datadoghq.com/api/v1/synthetics/tests/delete"
187+
},
188+
"response": {
189+
"bodySize": 96,
190+
"content": {
191+
"mimeType": "application/json",
192+
"size": 96,
193+
"text": "{\"deleted_tests\":[{\"public_id\":\"ntf-3e2-mti\",\"deleted_at\":\"2024-08-14T08:58:45.504158+00:00\"}]}\n"
194+
},
195+
"cookies": [],
196+
"headers": [
197+
{
198+
"name": "content-type",
199+
"value": "application/json"
200+
}
201+
],
202+
"headersSize": 662,
203+
"httpVersion": "HTTP/1.1",
204+
"redirectURL": "",
205+
"status": 200,
206+
"statusText": "OK"
207+
},
208+
"startedDateTime": "2024-08-14T08:58:44.824Z",
209+
"time": 814
210+
}
211+
],
212+
"pages": [],
213+
"version": "1.2"
214+
}
215+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2024-08-14T08:58:58.240Z"

0 commit comments

Comments
 (0)