diff --git a/.apigentools-info b/.apigentools-info index abb3c44dfba..d1abee8b799 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.2.0", - "regenerated": "2020-09-25 15:17:59.409665", - "spec_repo_commit": "f2bdaa1" + "regenerated": "2020-09-28 09:03:27.551405", + "spec_repo_commit": "a60f5da" }, "v2": { "apigentools_version": "1.2.0", - "regenerated": "2020-09-25 15:18:05.085082", - "spec_repo_commit": "f2bdaa1" + "regenerated": "2020-09-28 09:03:33.555272", + "spec_repo_commit": "a60f5da" } } } \ No newline at end of file diff --git a/api/v1/datadog/api/openapi.yaml b/api/v1/datadog/api/openapi.yaml index 20b7dc55764..9aa47247269 100644 --- a/api/v1/datadog/api/openapi.yaml +++ b/api/v1/datadog/api/openapi.yaml @@ -12995,6 +12995,8 @@ components: - certificate - responseTime - property + - recordEvery + - recordSome type: string x-enum-varnames: - BODY @@ -13003,6 +13005,8 @@ components: - CERTIFICATE - RESPONSE_TIME - PROPERTY + - RECORD_EVERY + - RECORD_SOME SyntheticsBasicAuth: description: Object to handle basic authentication when performing the test. example: diff --git a/api/v1/datadog/model_synthetics_assertion_type.go b/api/v1/datadog/model_synthetics_assertion_type.go index 98ccb38fb0d..b785c3e4bd8 100644 --- a/api/v1/datadog/model_synthetics_assertion_type.go +++ b/api/v1/datadog/model_synthetics_assertion_type.go @@ -24,6 +24,8 @@ const ( SYNTHETICSASSERTIONTYPE_CERTIFICATE SyntheticsAssertionType = "certificate" SYNTHETICSASSERTIONTYPE_RESPONSE_TIME SyntheticsAssertionType = "responseTime" SYNTHETICSASSERTIONTYPE_PROPERTY SyntheticsAssertionType = "property" + SYNTHETICSASSERTIONTYPE_RECORD_EVERY SyntheticsAssertionType = "recordEvery" + SYNTHETICSASSERTIONTYPE_RECORD_SOME SyntheticsAssertionType = "recordSome" ) func (v *SyntheticsAssertionType) UnmarshalJSON(src []byte) error { @@ -33,7 +35,7 @@ func (v *SyntheticsAssertionType) UnmarshalJSON(src []byte) error { return err } enumTypeValue := SyntheticsAssertionType(value) - for _, existing := range []SyntheticsAssertionType{"body", "header", "statusCode", "certificate", "responseTime", "property"} { + for _, existing := range []SyntheticsAssertionType{"body", "header", "statusCode", "certificate", "responseTime", "property", "recordEvery", "recordSome"} { if existing == enumTypeValue { *v = enumTypeValue return nil diff --git a/tests/api/v1/datadog/api_synthetics_test.go b/tests/api/v1/datadog/api_synthetics_test.go index eb346cd6803..e50d8d71add 100644 --- a/tests/api/v1/datadog/api_synthetics_test.go +++ b/tests/api/v1/datadog/api_synthetics_test.go @@ -106,13 +106,15 @@ func getTestSyntheticsSubtypeTCPAPI(ctx context.Context, t *testing.T) datadog.S } func getTestSyntheticsSubtypeDNSAPI(ctx context.Context, t *testing.T) datadog.SyntheticsTestDetails { - assertion2000 := datadog.NewSyntheticsAssertionTarget(datadog.SYNTHETICSASSERTIONOPERATOR_LESS_THAN, datadog.SYNTHETICSASSERTIONTYPE_RESPONSE_TIME) - assertion2000.SetTarget(target2000) + recordAssertion := datadog.NewSyntheticsAssertionTarget(datadog.SYNTHETICSASSERTIONOPERATOR_IS, datadog.SYNTHETICSASSERTIONTYPE_RECORD_SOME) + var target interface{} = "0.0.0.0" + recordAssertion.SetProperty("A") + recordAssertion.SetTarget(target) return datadog.SyntheticsTestDetails{ Config: &datadog.SyntheticsTestConfig{ Assertions: []datadog.SyntheticsAssertion{ - datadog.SyntheticsAssertionTargetAsSyntheticsAssertion(assertion2000), + datadog.SyntheticsAssertionTargetAsSyntheticsAssertion(recordAssertion), }, Request: datadog.SyntheticsTestRequest{ Host: datadog.PtrString("https://www.datadoghq.com"), @@ -425,9 +427,9 @@ func TestSyntheticsSubtypeDnsAPITestLifecycle(t *testing.T) { assert.Equal(1, len(config.GetAssertions())) for _, assertion := range config.GetAssertions() { - if assertion.SyntheticsAssertionTarget.Type == datadog.SYNTHETICSASSERTIONTYPE_RESPONSE_TIME { - assert.Equal(datadog.SYNTHETICSASSERTIONOPERATOR_LESS_THAN, assertion.SyntheticsAssertionTarget.Operator) - assert.Equal(float64(2000), assertion.SyntheticsAssertionTarget.GetTarget().(float64)) + if assertion.SyntheticsAssertionTarget.Type == datadog.SYNTHETICSASSERTIONTYPE_RECORD_SOME { + assert.Equal(datadog.SYNTHETICSASSERTIONOPERATOR_IS, assertion.SyntheticsAssertionTarget.Operator) + assert.Equal("0.0.0.0", assertion.SyntheticsAssertionTarget.GetTarget().(string)) } else { assert.Fail("Unexpected type") } diff --git a/tests/api/v1/datadog/cassettes/TestSyntheticsSubtypeDnsAPITestLifecycle.freeze b/tests/api/v1/datadog/cassettes/TestSyntheticsSubtypeDnsAPITestLifecycle.freeze index f4790d3a3db..6000af01f0a 100644 --- a/tests/api/v1/datadog/cassettes/TestSyntheticsSubtypeDnsAPITestLifecycle.freeze +++ b/tests/api/v1/datadog/cassettes/TestSyntheticsSubtypeDnsAPITestLifecycle.freeze @@ -1 +1 @@ -2020-08-18T11:07:45.639884+02:00 \ No newline at end of file +2020-09-25T11:38:22.753692+02:00 \ No newline at end of file diff --git a/tests/api/v1/datadog/cassettes/TestSyntheticsSubtypeDnsAPITestLifecycle.yaml b/tests/api/v1/datadog/cassettes/TestSyntheticsSubtypeDnsAPITestLifecycle.yaml index bd11e3e1438..e21db2708fe 100644 --- a/tests/api/v1/datadog/cassettes/TestSyntheticsSubtypeDnsAPITestLifecycle.yaml +++ b/tests/api/v1/datadog/cassettes/TestSyntheticsSubtypeDnsAPITestLifecycle.yaml @@ -3,7 +3,7 @@ version: 1 interactions: - request: body: | - {"config":{"assertions":[{"operator":"lessThan","target":2000,"type":"responseTime"}],"request":{"host":"https://www.datadoghq.com"}},"locations":["aws:us-east-2"],"message":"Go client testing Synthetics API test Subtype DNS - this is message","name":"go-TestSyntheticsSubtypeDnsAPITestLifecycle-local-1597741665","options":{"tick_every":60},"subtype":"dns","tags":["testing:api-dns"],"type":"api"} + {"config":{"assertions":[{"operator":"is","property":"A","target":"0.0.0.0","type":"recordSome"}],"request":{"host":"https://www.datadoghq.com"}},"locations":["aws:us-east-2"],"message":"Go client testing Synthetics API test Subtype DNS - this is message","name":"go-TestSyntheticsSubtypeDnsAPITestLifecycle-local-1601026702","options":{"tick_every":60},"subtype":"dns","tags":["testing:api-dns"],"type":"api"} form: {} headers: Accept: @@ -13,18 +13,18 @@ interactions: Dd-Operation-Id: - CreateTest User-Agent: - - datadog-api-client-go/1.0.0-beta.8+dev (go go1.14.4; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.4; os darwin; arch amd64) X-Datadog-Parent-Id: - - "3845018246612114315" + - "1864886286512273803" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4027410568728277544" + - "4352387542051180274" url: https://api.datadoghq.com/api/v1/synthetics/tests method: POST response: - body: '{"status":"live","public_id":"zmt-7mj-f2s","tags":["testing:api-dns"],"org_id":321813,"locations":["aws:us-east-2"],"message":"Go - client testing Synthetics API test Subtype DNS - this is message","deleted_at":null,"name":"go-TestSyntheticsSubtypeDnsAPITestLifecycle-local-1597741665","monitor_id":21226148,"type":"api","created_at":"2020-08-18T09:07:46.361593+00:00","modified_at":"2020-08-18T09:07:46.361593+00:00","subtype":"dns","config":{"request":{"host":"https://www.datadoghq.com"},"assertions":[{"operator":"lessThan","type":"responseTime","target":2000}]},"options":{"tick_every":60}}' + body: '{"status":"live","public_id":"67z-kfe-wre","tags":["testing:api-dns"],"org_id":321813,"locations":["aws:us-east-2"],"message":"Go + client testing Synthetics API test Subtype DNS - this is message","deleted_at":null,"name":"go-TestSyntheticsSubtypeDnsAPITestLifecycle-local-1601026702","monitor_id":22764828,"type":"api","created_at":"2020-09-25T09:38:23.334195+00:00","modified_at":"2020-09-25T09:38:23.334195+00:00","subtype":"dns","config":{"request":{"host":"https://www.datadoghq.com"},"assertions":[{"operator":"is","property":"A","type":"recordSome","target":"0.0.0.0"}]},"options":{"tick_every":60}}' headers: Cache-Control: - no-cache @@ -33,13 +33,13 @@ interactions: Content-Type: - application/json Date: - - Tue, 18 Aug 2020 09:07:47 GMT + - Fri, 25 Sep 2020 09:38:24 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Tue, 25-Aug-2020 09:07:46 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 09:38:23 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -48,9 +48,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - 4800hhM5D8qj6yrPc+dlMvhUa+SbSJAXG/yPCxJaOKK9a5IkPxDsNnyOdNMLl2nJ + - RquGBod+QwJwo5jKyeuGJHvfWvWfZ0hMpUnxtqqEEEpqySzsuyt8sx6iN5riB0bK X-Dd-Version: - - "35.2893774" + - "35.3088120" X-Frame-Options: - SAMEORIGIN X-Ratelimit-Limit: @@ -60,13 +60,13 @@ interactions: X-Ratelimit-Remaining: - "119" X-Ratelimit-Reset: - - "14" + - "37" status: 200 OK code: 200 duration: "" - request: body: | - {"config":{"assertions":[{"operator":"lessThan","target":2000,"type":"responseTime"}],"request":{"host":"https://www.datadoghq.com"}},"locations":["aws:us-east-2"],"message":"Go client testing Synthetics API test Subtype DNS - this is message","name":"go-TestSyntheticsSubtypeDnsAPITestLifecycle-local-1597741665-updated","options":{"tick_every":60},"status":"live","subtype":"dns","tags":["testing:api-dns"],"type":"api"} + {"config":{"assertions":[{"operator":"is","property":"A","target":"0.0.0.0","type":"recordSome"}],"request":{"host":"https://www.datadoghq.com"}},"locations":["aws:us-east-2"],"message":"Go client testing Synthetics API test Subtype DNS - this is message","name":"go-TestSyntheticsSubtypeDnsAPITestLifecycle-local-1601026702-updated","options":{"tick_every":60},"status":"live","subtype":"dns","tags":["testing:api-dns"],"type":"api"} form: {} headers: Accept: @@ -76,18 +76,18 @@ interactions: Dd-Operation-Id: - UpdateTest User-Agent: - - datadog-api-client-go/1.0.0-beta.8+dev (go go1.14.4; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.4; os darwin; arch amd64) X-Datadog-Parent-Id: - - "5857768937013141039" + - "3663378990030075317" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4027410568728277544" - url: https://api.datadoghq.com/api/v1/synthetics/tests/zmt-7mj-f2s + - "4352387542051180274" + url: https://api.datadoghq.com/api/v1/synthetics/tests/67z-kfe-wre method: PUT response: - body: '{"status":"live","public_id":"zmt-7mj-f2s","tags":["testing:api-dns"],"org_id":321813,"locations":["aws:us-east-2"],"message":"Go - client testing Synthetics API test Subtype DNS - this is message","deleted_at":null,"name":"go-TestSyntheticsSubtypeDnsAPITestLifecycle-local-1597741665-updated","monitor_id":21226148,"type":"api","created_at":"2020-08-18T09:07:46.361593+00:00","modified_at":"2020-08-18T09:07:48.038322+00:00","subtype":"dns","config":{"request":{"host":"https://www.datadoghq.com"},"assertions":[{"operator":"lessThan","type":"responseTime","target":2000}]},"options":{"tick_every":60}}' + body: '{"status":"live","public_id":"67z-kfe-wre","tags":["testing:api-dns"],"org_id":321813,"locations":["aws:us-east-2"],"message":"Go + client testing Synthetics API test Subtype DNS - this is message","deleted_at":null,"name":"go-TestSyntheticsSubtypeDnsAPITestLifecycle-local-1601026702-updated","monitor_id":22764828,"type":"api","created_at":"2020-09-25T09:38:23.334195+00:00","modified_at":"2020-09-25T09:38:24.646440+00:00","subtype":"dns","config":{"request":{"host":"https://www.datadoghq.com"},"assertions":[{"operator":"is","property":"A","type":"recordSome","target":"0.0.0.0"}]},"options":{"tick_every":60}}' headers: Cache-Control: - no-cache @@ -96,13 +96,13 @@ interactions: Content-Type: - application/json Date: - - Tue, 18 Aug 2020 09:07:48 GMT + - Fri, 25 Sep 2020 09:38:25 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Tue, 25-Aug-2020 09:07:47 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 09:38:24 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -111,9 +111,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - cdvpcwnkjuISrw6rfWS7apTmBr9FZehyT0DDN5M25OjQvVqdwR/v3ItBF4P2Rbv7 + - ViVCPXX6Ly37Yq2uFkha4NuJPBq3hQNknFQSAg7/RbVncSIYTDoKelvl87NEURiA X-Dd-Version: - - "35.2893774" + - "35.3088120" X-Frame-Options: - SAMEORIGIN X-Ratelimit-Limit: @@ -123,7 +123,7 @@ interactions: X-Ratelimit-Remaining: - "499" X-Ratelimit-Reset: - - "13" + - "36" status: 200 OK code: 200 duration: "" @@ -136,18 +136,18 @@ interactions: Dd-Operation-Id: - GetTest User-Agent: - - datadog-api-client-go/1.0.0-beta.8+dev (go go1.14.4; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.4; os darwin; arch amd64) X-Datadog-Parent-Id: - - "6769938948177068344" + - "955941866169137403" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4027410568728277544" - url: https://api.datadoghq.com/api/v1/synthetics/tests/zmt-7mj-f2s + - "4352387542051180274" + url: https://api.datadoghq.com/api/v1/synthetics/tests/67z-kfe-wre method: GET response: - body: '{"status":"live","public_id":"zmt-7mj-f2s","tags":["testing:api-dns"],"locations":["aws:us-east-2"],"message":"Go - client testing Synthetics API test Subtype DNS - this is message","name":"go-TestSyntheticsSubtypeDnsAPITestLifecycle-local-1597741665-updated","monitor_id":21226148,"type":"api","subtype":"dns","config":{"request":{"host":"https://www.datadoghq.com"},"assertions":[{"operator":"lessThan","type":"responseTime","target":2000}]},"options":{"tick_every":60}}' + body: '{"status":"live","public_id":"67z-kfe-wre","tags":["testing:api-dns"],"locations":["aws:us-east-2"],"message":"Go + client testing Synthetics API test Subtype DNS - this is message","name":"go-TestSyntheticsSubtypeDnsAPITestLifecycle-local-1601026702-updated","monitor_id":22764828,"type":"api","subtype":"dns","config":{"request":{"host":"https://www.datadoghq.com"},"assertions":[{"operator":"is","property":"A","type":"recordSome","target":"0.0.0.0"}]},"options":{"tick_every":60}}' headers: Cache-Control: - no-cache @@ -156,13 +156,13 @@ interactions: Content-Type: - application/json Date: - - Tue, 18 Aug 2020 09:07:48 GMT + - Fri, 25 Sep 2020 09:38:25 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Tue, 25-Aug-2020 09:07:48 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 09:38:25 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -171,9 +171,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - HvCCHsTxMdYM0gaKHtI2IcmEJsAxsAXyEwSakV4VwU0gJM0DBm5BMD3H6ZYBdo1H + - ab9XUIoH2WQru6KxGEk/Ky3/8hPDJn6S4CroFe2GTMSO5ISVqinE+UtO1EgJ/Q5E X-Dd-Version: - - "35.2893774" + - "35.3088120" X-Frame-Options: - SAMEORIGIN X-Ratelimit-Limit: @@ -183,7 +183,7 @@ interactions: X-Ratelimit-Remaining: - "999" X-Ratelimit-Reset: - - "12" + - "35" status: 200 OK code: 200 duration: "" @@ -199,14 +199,14 @@ interactions: Dd-Operation-Id: - UpdateTestPauseStatus User-Agent: - - datadog-api-client-go/1.0.0-beta.8+dev (go go1.14.4; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.4; os darwin; arch amd64) X-Datadog-Parent-Id: - - "1117492410754540084" + - "1702836837589844282" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4027410568728277544" - url: https://api.datadoghq.com/api/v1/synthetics/tests/zmt-7mj-f2s/status + - "4352387542051180274" + url: https://api.datadoghq.com/api/v1/synthetics/tests/67z-kfe-wre/status method: PUT response: body: "true" @@ -220,22 +220,22 @@ interactions: Content-Type: - application/json Date: - - Tue, 18 Aug 2020 09:07:48 GMT + - Fri, 25 Sep 2020 09:38:25 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Tue, 25-Aug-2020 09:07:48 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 09:38:25 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - sbJ6i3VupQQcT7EDgPAdOxGmcKsvZJqf4l3SlQaWZNaaFfahh7BdNF3x5CttmH4Q + - Kee9VS5NjjPfA/YHh7xlRIB+loWgKfgYfbh+K0I50KRAhLkjH2oXj4YLUubPn5Pt X-Dd-Version: - - "35.2893774" + - "35.3088120" X-Frame-Options: - SAMEORIGIN X-Ratelimit-Limit: @@ -245,7 +245,7 @@ interactions: X-Ratelimit-Remaining: - "118" X-Ratelimit-Reset: - - "12" + - "35" status: 200 OK code: 200 duration: "" @@ -261,14 +261,14 @@ interactions: Dd-Operation-Id: - UpdateTestPauseStatus User-Agent: - - datadog-api-client-go/1.0.0-beta.8+dev (go go1.14.4; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.4; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7220266245330148537" + - "7087771272758428799" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4027410568728277544" - url: https://api.datadoghq.com/api/v1/synthetics/tests/zmt-7mj-f2s/status + - "4352387542051180274" + url: https://api.datadoghq.com/api/v1/synthetics/tests/67z-kfe-wre/status method: PUT response: body: "true" @@ -282,22 +282,22 @@ interactions: Content-Type: - application/json Date: - - Tue, 18 Aug 2020 09:07:49 GMT + - Fri, 25 Sep 2020 09:38:25 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Tue, 25-Aug-2020 09:07:48 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 09:38:25 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - - qQXsO+f4B3HCvLT+wx7LVBDCKoA9+mEzcYYTapfT4+npOWtAMz9R4B+8HSWkVhsm + - uHOv5pdB1PveHLHifUeHewDqzfK3bQT4PA6+oh5BOE9GG8iP9eBr1zLtfDAkxY0n X-Dd-Version: - - "35.2893774" + - "35.3088120" X-Frame-Options: - SAMEORIGIN X-Ratelimit-Limit: @@ -307,7 +307,7 @@ interactions: X-Ratelimit-Remaining: - "117" X-Ratelimit-Reset: - - "12" + - "35" status: 200 OK code: 200 duration: "" @@ -320,17 +320,17 @@ interactions: Dd-Operation-Id: - GetAPITestLatestResults User-Agent: - - datadog-api-client-go/1.0.0-beta.8+dev (go go1.14.4; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.4; os darwin; arch amd64) X-Datadog-Parent-Id: - - "187975964670019185" + - "477549842303479007" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4027410568728277544" - url: https://api.datadoghq.com/api/v1/synthetics/tests/zmt-7mj-f2s/results?from_ts=0&probe_dc=aws%3Aus-east-2&to_ts=1597741665000 + - "4352387542051180274" + url: https://api.datadoghq.com/api/v1/synthetics/tests/67z-kfe-wre/results?from_ts=0&probe_dc=aws%3Aus-east-2&to_ts=1601026702000 method: GET response: - body: '{"last_timestamp_fetched":1592557669000,"results":[]}' + body: '{"last_timestamp_fetched":1595842706000,"results":[]}' headers: Cache-Control: - no-cache @@ -339,13 +339,13 @@ interactions: Content-Type: - application/json Date: - - Tue, 18 Aug 2020 09:07:49 GMT + - Fri, 25 Sep 2020 09:38:26 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Tue, 25-Aug-2020 09:07:49 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 09:38:25 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -354,9 +354,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - AqBVHmyy+L9zrCUEAQ2Jd2pwskksgC+7nOsWqbNjcjcM+9M/ChipUo2OR6Q8oPwE + - 0uWdRml6qahBDARd1CJm6K1SN/TZRSfeTs10desnuzZPhCWC9tfQLSVfNbr08c6A X-Dd-Version: - - "35.2893774" + - "35.3088120" X-Frame-Options: - SAMEORIGIN X-Ratelimit-Limit: @@ -366,13 +366,13 @@ interactions: X-Ratelimit-Remaining: - "999" X-Ratelimit-Reset: - - "11" + - "35" status: 200 OK code: 200 duration: "" - request: body: | - {"public_ids":["zmt-7mj-f2s"]} + {"public_ids":["67z-kfe-wre"]} form: {} headers: Accept: @@ -382,17 +382,17 @@ interactions: Dd-Operation-Id: - DeleteTests User-Agent: - - datadog-api-client-go/1.0.0-beta.8+dev (go go1.14.4; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.4; os darwin; arch amd64) X-Datadog-Parent-Id: - - "3100449387795565912" + - "3410688579921498658" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4027410568728277544" + - "4352387542051180274" url: https://api.datadoghq.com/api/v1/synthetics/tests/delete method: POST response: - body: '{"deleted_tests":[{"deleted_at":"2020-08-18T09:07:49.542073+00:00","public_id":"zmt-7mj-f2s"}]}' + body: '{"deleted_tests":[{"deleted_at":"2020-09-25T09:38:26.160795+00:00","public_id":"67z-kfe-wre"}]}' headers: Cache-Control: - no-cache @@ -401,13 +401,13 @@ interactions: Content-Type: - application/json Date: - - Tue, 18 Aug 2020 09:07:51 GMT + - Fri, 25 Sep 2020 09:38:26 GMT Dd-Pool: - dogweb Pragma: - no-cache Set-Cookie: - - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Tue, 25-Aug-2020 09:07:49 GMT; + - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Fri, 02-Oct-2020 09:38:26 GMT; secure; HttpOnly Strict-Transport-Security: - max-age=15724800; @@ -416,9 +416,9 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Debug: - - L5YZybc1cyjBP6Pj7fxCLn7WXppFUz91jOJ8laQX9oZfrQHZBjzm1VU3LVztvJTa + - motUb+3MrSbL60qP2VQvKfticEMFw/ITb9aZ1t0IvCT8MphWULXKj1d6mnYOkJDn X-Dd-Version: - - "35.2893774" + - "35.3088120" X-Frame-Options: - SAMEORIGIN X-Ratelimit-Limit: @@ -428,13 +428,13 @@ interactions: X-Ratelimit-Remaining: - "119" X-Ratelimit-Reset: - - "11" + - "34" status: 200 OK code: 200 duration: "" - request: body: | - {"public_ids":["zmt-7mj-f2s"]} + {"public_ids":["67z-kfe-wre"]} form: {} headers: Accept: @@ -444,13 +444,13 @@ interactions: Dd-Operation-Id: - DeleteTests User-Agent: - - datadog-api-client-go/1.0.0-beta.8+dev (go go1.14.4; os darwin; arch amd64) + - datadog-api-client-go/1.0.0-beta.9+dev (go go1.14.4; os darwin; arch amd64) X-Datadog-Parent-Id: - - "7267781299307749772" + - "4550948456500647640" X-Datadog-Sampling-Priority: - "1" X-Datadog-Trace-Id: - - "4027410568728277544" + - "4352387542051180274" url: https://api.datadoghq.com/api/v1/synthetics/tests/delete method: POST response: @@ -463,7 +463,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 18 Aug 2020 09:07:51 GMT + - Fri, 25 Sep 2020 09:38:26 GMT Dd-Pool: - dogweb Pragma: @@ -475,7 +475,7 @@ interactions: X-Content-Type-Options: - nosniff X-Dd-Version: - - "35.2893774" + - "35.3088120" X-Frame-Options: - SAMEORIGIN X-Ratelimit-Limit: @@ -485,7 +485,7 @@ interactions: X-Ratelimit-Remaining: - "118" X-Ratelimit-Reset: - - "9" + - "34" status: 404 Not Found code: 404 duration: ""