Skip to content

Commit 1097988

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit fbd41896 of spec repo
1 parent f0a7e7a commit 1097988

File tree

25 files changed

+1011
-61
lines changed

25 files changed

+1011
-61
lines changed

.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.6",
7-
"regenerated": "2024-08-01 14:34:27.223580",
8-
"spec_repo_commit": "d28278c6"
7+
"regenerated": "2024-08-01 16:59:28.821380",
8+
"spec_repo_commit": "fbd41896"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-01 14:34:27.242264",
13-
"spec_repo_commit": "d28278c6"
12+
"regenerated": "2024-08-01 16:59:28.843148",
13+
"spec_repo_commit": "fbd41896"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+54-1
Original file line numberDiff line numberDiff line change
@@ -15144,6 +15144,12 @@ components:
1514415144
description: Unique identifier of the global variable.
1514515145
readOnly: true
1514615146
type: string
15147+
is_fido:
15148+
description: Determines if the global variable is a FIDO variable.
15149+
type: boolean
15150+
is_totp:
15151+
description: Determines if the global variable is a TOTP/MFA variable.
15152+
type: boolean
1514715153
name:
1514815154
description: Name of the global variable. Unique across Synthetic global
1514915155
variables.
@@ -15234,6 +15240,53 @@ components:
1523415240
- JSON_PATH
1523515241
- REGEX
1523615242
- X_PATH
15243+
SyntheticsGlobalVariableRequest:
15244+
description: Details of the global variable to create.
15245+
properties:
15246+
attributes:
15247+
$ref: '#/components/schemas/SyntheticsGlobalVariableAttributes'
15248+
description:
15249+
description: Description of the global variable.
15250+
example: Example description
15251+
type: string
15252+
id:
15253+
description: Unique identifier of the global variable.
15254+
readOnly: true
15255+
type: string
15256+
is_fido:
15257+
description: Determines if the global variable is a FIDO variable.
15258+
type: boolean
15259+
is_totp:
15260+
description: Determines if the global variable is a TOTP/MFA variable.
15261+
type: boolean
15262+
name:
15263+
description: Name of the global variable. Unique across Synthetic global
15264+
variables.
15265+
example: MY_VARIABLE
15266+
type: string
15267+
parse_test_options:
15268+
$ref: '#/components/schemas/SyntheticsGlobalVariableParseTestOptions'
15269+
parse_test_public_id:
15270+
description: A Synthetic test ID to use as a test to generate the variable
15271+
value.
15272+
example: abc-def-123
15273+
type: string
15274+
tags:
15275+
description: Tags of the global variable.
15276+
example:
15277+
- team:front
15278+
- test:workflow-1
15279+
items:
15280+
description: Tag name.
15281+
type: string
15282+
type: array
15283+
value:
15284+
$ref: '#/components/schemas/SyntheticsGlobalVariableValue'
15285+
required:
15286+
- description
15287+
- name
15288+
- tags
15289+
type: object
1523715290
SyntheticsGlobalVariableTOTPParameters:
1523815291
description: Parameters for the TOTP/MFA variable
1523915292
properties:
@@ -31148,7 +31201,7 @@ paths:
3114831201
content:
3114931202
application/json:
3115031203
schema:
31151-
$ref: '#/components/schemas/SyntheticsGlobalVariable'
31204+
$ref: '#/components/schemas/SyntheticsGlobalVariableRequest'
3115231205
description: Details of the global variable to create.
3115331206
required: true
3115431207
responses:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2024-07-26T09:01:59.421Z"
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": "9ab117c6d8465e3838c54a16cdba1b1a",
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-1721984519\",\"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-1721984519\",\"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\":\"mii-st7-n4s\",\"name\":\"Test-Create_a_FIDO_global_variable_returns_OK_response-1721984519\",\"status\":\"live\",\"type\":\"api\",\"tags\":[\"testing:api\"],\"created_at\":\"2024-07-26T09:02:00.143327+00:00\",\"modified_at\":\"2024-07-26T09:02:00.143327+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\":\"uud-iug-63b\"},{\"name\":\"Wait\",\"subtype\":\"wait\",\"value\":1,\"id\":\"uyz-cba-cqa\"},{\"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\":\"pmq-xaa-4vk\"}]},\"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-1721984519\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"locations\":[\"aws:us-east-2\"],\"subtype\":\"multi\",\"created_by\":{\"name\":null,\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"},\"deleted_at\":null,\"monitor_id\":149935286,\"org_id\":321813,\"modified_by\":{\"name\":null,\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"}}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/json"
52+
}
53+
],
54+
"headersSize": 662,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 200,
58+
"statusText": "OK"
59+
},
60+
"startedDateTime": "2024-07-26T09:01:59.434Z",
61+
"time": 808
62+
},
63+
{
64+
"_id": "a69a501623a018c39e28eca0325abcee",
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_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1721984519\",\"tags\":[]}"
89+
},
90+
"queryString": [],
91+
"url": "https://api.datadoghq.com/api/v1/synthetics/variables"
92+
},
93+
"response": {
94+
"bodySize": 366,
95+
"content": {
96+
"mimeType": "application/json",
97+
"size": 366,
98+
"text": "{\"id\":\"f3ce33ce-de76-421a-a403-5e77837fb19d\",\"name\":\"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1721984519\",\"description\":\"\",\"type\":\"variable\",\"tags\":[],\"parse_test_public_id\":null,\"parse_test_name\":null,\"parse_test_options\":null,\"parse_test_extracted_at\":null,\"is_totp\":null,\"is_fido\":true,\"last_error\":null,\"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-07-26T09:02:00.250Z",
114+
"time": 424
115+
},
116+
{
117+
"_id": "6e19fcbab7b45e1bfbae1cc5eb0f1c55",
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/f3ce33ce-de76-421a-a403-5e77837fb19d"
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-07-26T09:02:00.682Z",
156+
"time": 685
157+
},
158+
{
159+
"_id": "359fab15c085d4eb8befd93e0d7a74e2",
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\":[\"mii-st7-n4s\"]}"
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\":\"mii-st7-n4s\",\"deleted_at\":\"2024-07-26T09:02:02.194932+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-07-26T09:02:01.370Z",
209+
"time": 1021
210+
}
211+
],
212+
"pages": [],
213+
"version": "1.2"
214+
}
215+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2024-07-26T09:03:37.829Z"

0 commit comments

Comments
 (0)