Skip to content

Commit a20fb03

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
allow variables in port (#2624)
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>
1 parent e1f71c2 commit a20fb03

File tree

26 files changed

+95
-93
lines changed

26 files changed

+95
-93
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-21 21:10:04.969554",
8-
"spec_repo_commit": "46829234"
7+
"regenerated": "2024-08-22 19:11:02.049857",
8+
"spec_repo_commit": "9ce6b1ec"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-21 21:10:04.996374",
13-
"spec_repo_commit": "46829234"
12+
"regenerated": "2024-08-22 19:11:02.068139",
13+
"spec_repo_commit": "9ce6b1ec"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16237,10 +16237,7 @@ components:
1623716237
type: string
1623816238
dnsServerPort:
1623916239
description: DNS server port to use for DNS tests.
16240-
format: int32
16241-
maximum: 65535
16242-
minimum: 1
16243-
type: integer
16240+
type: string
1624416241
files:
1624516242
description: Files to be used as part of the request in the test.
1624616243
items:
@@ -16280,8 +16277,7 @@ components:
1628016277
type: boolean
1628116278
port:
1628216279
description: Port to use when performing the test.
16283-
format: int64
16284-
type: integer
16280+
type: string
1628516281
proxy:
1628616282
$ref: '#/components/schemas/SyntheticsTestRequestProxy'
1628716283
query:

api/datadogV1/model_synthetics_test_request.go

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type SyntheticsTestRequest struct {
3131
// DNS server to use for DNS tests.
3232
DnsServer *string `json:"dnsServer,omitempty"`
3333
// DNS server port to use for DNS tests.
34-
DnsServerPort *int32 `json:"dnsServerPort,omitempty"`
34+
DnsServerPort *string `json:"dnsServerPort,omitempty"`
3535
// Files to be used as part of the request in the test.
3636
Files []SyntheticsTestRequestBodyFile `json:"files,omitempty"`
3737
// Specifies whether or not the request follows redirects.
@@ -55,7 +55,7 @@ type SyntheticsTestRequest struct {
5555
// Persist cookies across redirects.
5656
PersistCookies *bool `json:"persistCookies,omitempty"`
5757
// Port to use when performing the test.
58-
Port *int64 `json:"port,omitempty"`
58+
Port *string `json:"port,omitempty"`
5959
// The proxy to perform the test.
6060
Proxy *SyntheticsTestRequestProxy `json:"proxy,omitempty"`
6161
// Query to use for the test.
@@ -375,17 +375,17 @@ func (o *SyntheticsTestRequest) SetDnsServer(v string) {
375375
}
376376

377377
// GetDnsServerPort returns the DnsServerPort field value if set, zero value otherwise.
378-
func (o *SyntheticsTestRequest) GetDnsServerPort() int32 {
378+
func (o *SyntheticsTestRequest) GetDnsServerPort() string {
379379
if o == nil || o.DnsServerPort == nil {
380-
var ret int32
380+
var ret string
381381
return ret
382382
}
383383
return *o.DnsServerPort
384384
}
385385

386386
// GetDnsServerPortOk returns a tuple with the DnsServerPort field value if set, nil otherwise
387387
// and a boolean to check if the value has been set.
388-
func (o *SyntheticsTestRequest) GetDnsServerPortOk() (*int32, bool) {
388+
func (o *SyntheticsTestRequest) GetDnsServerPortOk() (*string, bool) {
389389
if o == nil || o.DnsServerPort == nil {
390390
return nil, false
391391
}
@@ -397,8 +397,8 @@ func (o *SyntheticsTestRequest) HasDnsServerPort() bool {
397397
return o != nil && o.DnsServerPort != nil
398398
}
399399

400-
// SetDnsServerPort gets a reference to the given int32 and assigns it to the DnsServerPort field.
401-
func (o *SyntheticsTestRequest) SetDnsServerPort(v int32) {
400+
// SetDnsServerPort gets a reference to the given string and assigns it to the DnsServerPort field.
401+
func (o *SyntheticsTestRequest) SetDnsServerPort(v string) {
402402
o.DnsServerPort = &v
403403
}
404404

@@ -711,17 +711,17 @@ func (o *SyntheticsTestRequest) SetPersistCookies(v bool) {
711711
}
712712

713713
// GetPort returns the Port field value if set, zero value otherwise.
714-
func (o *SyntheticsTestRequest) GetPort() int64 {
714+
func (o *SyntheticsTestRequest) GetPort() string {
715715
if o == nil || o.Port == nil {
716-
var ret int64
716+
var ret string
717717
return ret
718718
}
719719
return *o.Port
720720
}
721721

722722
// GetPortOk returns a tuple with the Port field value if set, nil otherwise
723723
// and a boolean to check if the value has been set.
724-
func (o *SyntheticsTestRequest) GetPortOk() (*int64, bool) {
724+
func (o *SyntheticsTestRequest) GetPortOk() (*string, bool) {
725725
if o == nil || o.Port == nil {
726726
return nil, false
727727
}
@@ -733,8 +733,8 @@ func (o *SyntheticsTestRequest) HasPort() bool {
733733
return o != nil && o.Port != nil
734734
}
735735

736-
// SetPort gets a reference to the given int64 and assigns it to the Port field.
737-
func (o *SyntheticsTestRequest) SetPort(v int64) {
736+
// SetPort gets a reference to the given string and assigns it to the Port field.
737+
func (o *SyntheticsTestRequest) SetPort(v string) {
738738
o.Port = &v
739739
}
740740

@@ -1050,7 +1050,7 @@ func (o *SyntheticsTestRequest) UnmarshalJSON(bytes []byte) (err error) {
10501050
CompressedJsonDescriptor *string `json:"compressedJsonDescriptor,omitempty"`
10511051
CompressedProtoFile *string `json:"compressedProtoFile,omitempty"`
10521052
DnsServer *string `json:"dnsServer,omitempty"`
1053-
DnsServerPort *int32 `json:"dnsServerPort,omitempty"`
1053+
DnsServerPort *string `json:"dnsServerPort,omitempty"`
10541054
Files []SyntheticsTestRequestBodyFile `json:"files,omitempty"`
10551055
FollowRedirects *bool `json:"follow_redirects,omitempty"`
10561056
Headers map[string]string `json:"headers,omitempty"`
@@ -1062,7 +1062,7 @@ func (o *SyntheticsTestRequest) UnmarshalJSON(bytes []byte) (err error) {
10621062
NoSavingResponseBody *bool `json:"noSavingResponseBody,omitempty"`
10631063
NumberOfPackets *int32 `json:"numberOfPackets,omitempty"`
10641064
PersistCookies *bool `json:"persistCookies,omitempty"`
1065-
Port *int64 `json:"port,omitempty"`
1065+
Port *string `json:"port,omitempty"`
10661066
Proxy *SyntheticsTestRequestProxy `json:"proxy,omitempty"`
10671067
Query interface{} `json:"query,omitempty"`
10681068
Servername *string `json:"servername,omitempty"`

examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func main() {
2525
},
2626
Request: &datadogV1.SyntheticsTestRequest{
2727
Host: datadog.PtrString("datadoghq.com"),
28-
Port: datadog.PtrInt64(443),
28+
Port: datadog.PtrString("443"),
2929
},
3030
},
3131
Locations: []string{

examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func main() {
8787
},
8888
Request: datadogV1.SyntheticsTestRequest{
8989
Host: datadog.PtrString("grpcbin.test.k6.io"),
90-
Port: datadog.PtrInt64(9000),
90+
Port: datadog.PtrString("9000"),
9191
Service: datadog.PtrString("grpcbin.GRPCBin"),
9292
Method: datadog.PtrString("Index"),
9393
Message: datadog.PtrString("{}"),

examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func main() {
3838
},
3939
Request: &datadogV1.SyntheticsTestRequest{
4040
Host: datadog.PtrString("localhost"),
41-
Port: datadog.PtrInt64(50051),
41+
Port: datadog.PtrString("50051"),
4242
Service: datadog.PtrString("Hello"),
4343
Method: datadog.PtrString("GET"),
4444
Message: datadog.PtrString(""),

examples/v1/synthetics/CreateSyntheticsAPITest_3829801148.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func main() {
3333
Request: &datadogV1.SyntheticsTestRequest{
3434
Host: datadog.PtrString("https://datadoghq.com"),
3535
Message: datadog.PtrString("message"),
36-
Port: datadog.PtrInt64(443),
36+
Port: datadog.PtrString("443"),
3737
},
3838
},
3939
Locations: []string{
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-08-14T08:58:43.057Z
1+
2024-08-21T13:17:18.467Z

tests/scenarios/cassettes/TestScenarios/v1/Feature_Synthetics/Scenario_Create_a_FIDO_global_variable_returns_OK_response.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
interactions:
22
- request:
33
body: |
4-
{"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"}
4+
{"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-1724246238","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-1724246238","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"subtype":"multi","tags":["testing:api"],"type":"api"}
55
form: {}
66
headers:
77
Accept:
@@ -12,10 +12,12 @@ interactions:
1212
method: POST
1313
url: https://api.datadoghq.com/api/v1/synthetics/tests/api
1414
response:
15-
body: '{"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
16-
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
17-
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
18-
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]"}}'
15+
body: '{"public_id":"yvw-pgh-sk7","name":"Test-Create_a_FIDO_global_variable_returns_OK_response-1724246238","status":"live","type":"api","tags":["testing:api"],"created_at":"2024-08-21T13:17:19.015080+00:00","modified_at":"2024-08-21T13:17:19.015080+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
16+
is sent","request":{"httpVersion":"http2","method":"GET","timeout":10,"url":"https://datadoghq.com"},"retry":{"count":5,"interval":1000},"subtype":"http","id":"gam-njf-7gp"},{"name":"Wait","subtype":"wait","value":1,"id":"y9u-9hp-bqu"},{"allowFailure":false,"assertions":[{"operator":"lessThan","target":1000,"type":"responseTime"}],"extractedValues":[],"isCritical":true,"name":"GRPC
17+
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":"bcb-fqr-bhg"}]},"message":"BDD
18+
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-1724246238","monitor_priority":5,"retry":{"count":3,"interval":1000},"tick_every":60},"locations":["aws:us-east-2"],"subtype":"multi","created_by":{"name":"CI
19+
Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"[email protected]"},"deleted_at":null,"monitor_id":151908777,"org_id":321813,"modified_by":{"name":"CI
20+
Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"[email protected]"}}'
1921
code: 200
2022
duration: 0ms
2123
headers:
@@ -24,7 +26,7 @@ interactions:
2426
status: 200 OK
2527
- request:
2628
body: |
27-
{"description":"","is_fido":true,"name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1723625923","tags":[]}
29+
{"description":"","is_fido":true,"name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1724246238","tags":[]}
2830
form: {}
2931
headers:
3032
Accept:
@@ -35,7 +37,7 @@ interactions:
3537
method: POST
3638
url: https://api.datadoghq.com/api/v1/synthetics/variables
3739
response:
38-
body: '{"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}}
40+
body: '{"id":"07e4657c-34e0-4815-b906-449c9f28ab5a","name":"GLOBAL_VARIABLE_FIDO_PAYLOAD_TESTCREATEAFIDOGLOBALVARIABLERETURNSOKRESPONSE1724246238","description":"","type":"variable","tags":[],"last_error":null,"is_fido":true,"value":{"secure":true}}
3941
4042
'
4143
code: 200
@@ -52,7 +54,7 @@ interactions:
5254
- '*/*'
5355
id: 2
5456
method: DELETE
55-
url: https://api.datadoghq.com/api/v1/synthetics/variables/bf2cc5f0-2529-433c-b892-84e83e13a759
57+
url: https://api.datadoghq.com/api/v1/synthetics/variables/07e4657c-34e0-4815-b906-449c9f28ab5a
5658
response:
5759
body: ''
5860
code: 200
@@ -63,7 +65,7 @@ interactions:
6365
status: 200 OK
6466
- request:
6567
body: |
66-
{"public_ids":["ntf-3e2-mti"]}
68+
{"public_ids":["yvw-pgh-sk7"]}
6769
form: {}
6870
headers:
6971
Accept:
@@ -74,7 +76,7 @@ interactions:
7476
method: POST
7577
url: https://api.datadoghq.com/api/v1/synthetics/tests/delete
7678
response:
77-
body: '{"deleted_tests":[{"public_id":"ntf-3e2-mti","deleted_at":"2024-08-14T08:58:45.504158+00:00"}]}
79+
body: '{"deleted_tests":[{"public_id":"yvw-pgh-sk7","deleted_at":"2024-08-21T13:17:21.136962+00:00"}]}
7880
7981
'
8082
code: 200
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-08-14T08:58:58.240Z
1+
2024-08-21T13:17:21.302Z

0 commit comments

Comments
 (0)