diff --git a/.apigentools-info b/.apigentools-info index dfd120228944..7ae0665076cb 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-07-02 11:31:50.129984", - "spec_repo_commit": "ab77d015" + "regenerated": "2025-07-02 12:38:43.717493", + "spec_repo_commit": "4fd1c189" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-07-02 11:31:50.146274", - "spec_repo_commit": "ab77d015" + "regenerated": "2025-07-02 12:38:43.733432", + "spec_repo_commit": "4fd1c189" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index f6fdf8cd2dc3..4edeb85f407c 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -33427,6 +33427,86 @@ paths: operator: OR permissions: - synthetics_write + /api/v1/synthetics/tests/search: + get: + description: Search for Synthetic tests and Test Suites. + operationId: SearchTests + parameters: + - description: If true, include the full configuration for each test in the + response. + in: query + name: include_full_config + required: false + schema: + type: boolean + - description: If true, returns suites instead of tests. + in: query + name: search_suites + required: false + schema: + type: boolean + - description: If true, return only facets instead of full test details. + in: query + name: facets_only + required: false + schema: + type: boolean + - description: The offset from which to start returning results. + in: query + name: start + required: false + schema: + default: 0 + format: int64 + type: integer + - description: The maximum number of results to return. + in: query + name: count + required: false + schema: + default: 50 + format: int64 + type: integer + - description: The sort order for the results (e.g., 'name,asc' or 'name,desc'). + in: query + name: sort + required: false + schema: + default: name,asc + type: string + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/SyntheticsListTestsResponse' + description: OK - Returns the list of Synthetic tests matching the search. + '403': + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: Forbidden + '404': + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: Not found + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - synthetics_read + summary: Search Synthetic tests + tags: + - Synthetics + x-permission: + operator: OR + permissions: + - synthetics_read /api/v1/synthetics/tests/trigger: post: description: Trigger a set of Synthetic tests. @@ -37222,13 +37302,21 @@ tags: name: Slack Integration - description: Take graph snapshots using the API. name: Snapshots -- description: "Datadog Synthetic Monitoring uses simulated user requests and browser - rendering to help you ensure uptime,\nidentify regional issues, and track your - application performance. Synthetic tests come in\ntwo different flavors, [API - tests](https://docs.datadoghq.com/synthetics/api_tests/?tab=httptest)\nand [browser - tests](https://docs.datadoghq.com/synthetics/browser_tests). You can use Datadog\u2019s - API to\nmanage both test types programmatically.\n\nFor more information, see - the [Synthetic Monitoring documentation](https://docs.datadoghq.com/synthetics/)." +- description: 'Datadog Synthetic Monitoring uses simulated user requests and browser + rendering to help you ensure uptime, + + identify regional issues, and track your application performance. Synthetic tests + come in + + two different flavors, [API tests](https://docs.datadoghq.com/synthetics/api_tests/?tab=httptest) + + and [browser tests](https://docs.datadoghq.com/synthetics/browser_tests). You + can use Datadog''s API to + + manage both test types programmatically. + + + For more information, see the [Synthetic Monitoring documentation](https://docs.datadoghq.com/synthetics/).' name: Synthetics - description: 'The tag endpoint allows you to assign tags to hosts, diff --git a/cassettes/features/v1/synthetics/Search-Synthetic-tests-with-boolean-query-parameters.frozen b/cassettes/features/v1/synthetics/Search-Synthetic-tests-with-boolean-query-parameters.frozen new file mode 100644 index 000000000000..0e385540a56b --- /dev/null +++ b/cassettes/features/v1/synthetics/Search-Synthetic-tests-with-boolean-query-parameters.frozen @@ -0,0 +1 @@ +2025-07-01T15:52:56.329Z \ No newline at end of file diff --git a/cassettes/features/v1/synthetics/Search-Synthetic-tests-with-boolean-query-parameters.yml b/cassettes/features/v1/synthetics/Search-Synthetic-tests-with-boolean-query-parameters.yml new file mode 100644 index 000000000000..56751b2f6829 --- /dev/null +++ b/cassettes/features/v1/synthetics/Search-Synthetic-tests-with-boolean-query-parameters.yml @@ -0,0 +1,20 @@ +http_interactions: +- recorded_at: Tue, 01 Jul 2025 15:52:56 GMT + request: + body: null + headers: + Accept: + - application/json + method: GET + uri: https://api.datadoghq.com/api/v1/synthetics/tests/search?include_full_config=true&search_suites=true&facets_only=true&start=10&count=5&sort=name%2Cdesc + response: + body: + encoding: UTF-8 + string: '{"tests":[],"total":0,"facets":[]}' + headers: + Content-Type: + - application/json + status: + code: 200 + message: OK +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.frozen b/cassettes/features/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.frozen index f8d959f63b01..180c55be4c8a 100644 --- a/cassettes/features/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.frozen +++ b/cassettes/features/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.frozen @@ -1 +1 @@ -2024-12-09T11:18:22.632Z \ No newline at end of file +2025-07-01T15:52:56.929Z \ No newline at end of file diff --git a/cassettes/features/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.yml b/cassettes/features/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.yml index 0f3c62b989ee..1f68372268ba 100644 --- a/cassettes/features/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.yml +++ b/cassettes/features/v1/synthetics/Trigger-Synthetic-tests-returns-OK-response.yml @@ -1,12 +1,12 @@ http_interactions: -- recorded_at: Mon, 09 Dec 2024 11:18:22 GMT +- recorded_at: Tue, 01 Jul 2025 15:52:56 GMT request: body: encoding: UTF-8 string: '{"config":{"assertions":[{"operator":"is","property":"{{ PROPERTY }}","target":"text/html","type":"header"},{"operator":"lessThan","target":2000,"timingsScope":"withoutDNS","type":"responseTime"},{"operator":"validatesJSONPath","target":{"jsonPath":"topKey","operator":"isNot","targetValue":"0"},"type":"body"},{"operator":"validatesJSONPath","target":{"elementsOperator":"atLeastOneElementMatches","jsonPath":"topKey","operator":"isNot","targetValue":"0"},"type":"body"},{"operator":"validatesJSONSchema","target":{"jsonSchema":"{\"type\": \"object\", \"properties\":{\"slideshow\":{\"type\":\"object\"}}}","metaSchema":"draft-07"},"type":"body"},{"operator":"validatesXPath","target":{"operator":"contains","targetValue":"0","xPath":"target-xpath"},"type":"body"},{"operator":"md5","target":"a","type":"bodyHash"},{"code":"const - hello = ''world'';","type":"javascript"}],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"request":{"basicAuth":{"accessTokenUrl":"https://datadog-token.com","audience":"audience","clientId":"client-id","clientSecret":"client-secret","resource":"resource","scope":"yoyo","tokenApiAuthentication":"header","type":"oauth-client"},"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":"testtriggersynthetictestsreturnsokresponse1733743102"},"method":"GET","persistCookies":true,"proxy":{"headers":{},"url":"https://datadoghq.com"},"timeout":10,"url":"https://datadoghq.com"},"variablesFromScript":"dd.variable.set(\"FOO\", - \"foo\")"},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_http_test_payload.json","name":"Test-Trigger_Synthetic_tests_returns_OK_response-1733743102","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"httpVersion":"http2","min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Trigger_Synthetic_tests_returns_OK_response-1733743102","monitor_priority":5,"retry":{"count":3,"interval":10},"tick_every":60},"subtype":"http","tags":["testing:api"],"type":"api"}' + hello = ''world'';","type":"javascript"}],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"request":{"basicAuth":{"accessTokenUrl":"https://datadog-token.com","audience":"audience","clientId":"client-id","clientSecret":"client-secret","resource":"resource","scope":"yoyo","tokenApiAuthentication":"header","type":"oauth-client"},"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":"testtriggersynthetictestsreturnsokresponse1751385176"},"method":"GET","persistCookies":true,"proxy":{"headers":{},"url":"https://datadoghq.com"},"timeout":10,"url":"https://datadoghq.com"},"variablesFromScript":"dd.variable.set(\"FOO\", + \"foo\")"},"locations":["aws:us-east-2"],"message":"BDD test payload: synthetics_api_http_test_payload.json","name":"Test-Trigger_Synthetic_tests_returns_OK_response-1751385176","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"httpVersion":"http2","min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Trigger_Synthetic_tests_returns_OK_response-1751385176","monitor_priority":5,"retry":{"count":3,"interval":10},"tick_every":60},"subtype":"http","tags":["testing:api"],"type":"api"}' headers: Accept: - application/json @@ -17,22 +17,24 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"public_id":"qcp-t22-5fm","name":"Test-Trigger_Synthetic_tests_returns_OK_response-1733743102","status":"live","type":"api","subtype":"http","tags":["testing:api"],"created_at":"2024-12-09T11:18:23.202027+00:00","modified_at":"2024-12-09T11:18:23.202027+00:00","config":{"assertions":[{"operator":"is","property":"{{ + string: '{"public_id":"tau-wah-m7h","name":"Test-Trigger_Synthetic_tests_returns_OK_response-1751385176","status":"live","type":"api","subtype":"http","tags":["testing:api"],"created_at":"2025-07-01T15:52:57.254092+00:00","modified_at":"2025-07-01T15:52:57.254092+00:00","config":{"assertions":[{"operator":"is","property":"{{ PROPERTY }}","target":"text/html","type":"header"},{"operator":"lessThan","target":2000,"timingsScope":"withoutDNS","type":"responseTime"},{"operator":"validatesJSONPath","target":{"jsonPath":"topKey","operator":"isNot","targetValue":"0"},"type":"body"},{"operator":"validatesJSONPath","target":{"elementsOperator":"atLeastOneElementMatches","jsonPath":"topKey","operator":"isNot","targetValue":"0"},"type":"body"},{"operator":"validatesJSONSchema","target":{"jsonSchema":"{\"type\": \"object\", \"properties\":{\"slideshow\":{\"type\":\"object\"}}}","metaSchema":"draft-07"},"type":"body"},{"operator":"validatesXPath","target":{"operator":"contains","targetValue":"0","xPath":"target-xpath"},"type":"body"},{"operator":"md5","target":"a","type":"bodyHash"},{"code":"const - hello = ''world'';","type":"javascript"}],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"request":{"basicAuth":{"accessTokenUrl":"https://datadog-token.com","audience":"audience","clientId":"client-id","clientSecret":"client-secret","resource":"resource","scope":"yoyo","tokenApiAuthentication":"header","type":"oauth-client"},"certificate":{"cert":{"filename":"cert-filename","updatedAt":"2020-10-16T09:23:24.857Z"},"key":{"filename":"key-filename","updatedAt":"2020-10-16T09:23:24.857Z"}},"headers":{"unique":"testtriggersynthetictestsreturnsokresponse1733743102"},"method":"GET","persistCookies":true,"proxy":{"headers":{},"url":"https://datadoghq.com"},"timeout":10,"url":"https://datadoghq.com"},"variablesFromScript":"dd.variable.set(\"FOO\", - \"foo\")"},"message":"BDD test payload: synthetics_api_http_test_payload.json","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"httpVersion":"http2","min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Trigger_Synthetic_tests_returns_OK_response-1733743102","monitor_priority":5,"retry":{"count":3,"interval":10},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"deleted_at":null,"monitor_id":159881062,"org_id":321813,"modified_by":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com"}}' + hello = ''world'';","type":"javascript"}],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"request":{"basicAuth":{"accessTokenUrl":"https://datadog-token.com","audience":"audience","clientId":"client-id","clientSecret":"client-secret","resource":"resource","scope":"yoyo","tokenApiAuthentication":"header","type":"oauth-client"},"certificate":{"cert":{"filename":"cert-filename","updatedAt":"2020-10-16T09:23:24.857Z"},"key":{"filename":"key-filename","updatedAt":"2020-10-16T09:23:24.857Z"}},"headers":{"unique":"testtriggersynthetictestsreturnsokresponse1751385176"},"method":"GET","persistCookies":true,"proxy":{"headers":{},"url":"https://datadoghq.com"},"timeout":10,"url":"https://datadoghq.com"},"variablesFromScript":"dd.variable.set(\"FOO\", + \"foo\")"},"message":"BDD test payload: synthetics_api_http_test_payload.json","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"httpVersion":"http2","min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Trigger_Synthetic_tests_returns_OK_response-1751385176","monitor_priority":5,"retry":{"count":3,"interval":10},"tick_every":60},"locations":["aws:us-east-2"],"created_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"},"deleted_at":null,"monitor_id":176652841,"org_id":321813,"modified_by":{"name":"CI + Account","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","email":"team-intg-tools-libs-spam@datadoghq.com"}}' headers: Content-Type: - application/json status: code: 200 message: OK -- recorded_at: Mon, 09 Dec 2024 11:18:22 GMT +- recorded_at: Tue, 01 Jul 2025 15:52:56 GMT request: body: encoding: UTF-8 - string: '{"tests":[{"public_id":"qcp-t22-5fm"}]}' + string: '{"tests":[{"public_id":"tau-wah-m7h"}]}' headers: Accept: - application/json @@ -43,7 +45,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"triggered_check_ids":["qcp-t22-5fm"],"results":[{"public_id":"qcp-t22-5fm","location":30005,"result_id":"8474340998000589087"}],"locations":[{"id":30005,"name":"aws:us-east-2","display_name":"Ohio + string: '{"triggered_check_ids":["tau-wah-m7h"],"results":[{"public_id":"tau-wah-m7h","location":30005,"result_id":"6667089110128797476"}],"locations":[{"id":30005,"name":"aws:us-east-2","display_name":"Ohio (AWS)","region":"Americas","is_active":true,"is_public":true,"metadata":null}],"batch_id":null} ' @@ -53,11 +55,11 @@ http_interactions: status: code: 200 message: OK -- recorded_at: Mon, 09 Dec 2024 11:18:22 GMT +- recorded_at: Tue, 01 Jul 2025 15:52:56 GMT request: body: encoding: UTF-8 - string: '{"public_ids":["qcp-t22-5fm"]}' + string: '{"public_ids":["tau-wah-m7h"]}' headers: Accept: - application/json @@ -68,7 +70,7 @@ http_interactions: response: body: encoding: UTF-8 - string: '{"deleted_tests":[{"public_id":"qcp-t22-5fm","deleted_at":"2024-12-09T11:18:24.733378+00:00"}]} + string: '{"deleted_tests":[{"public_id":"tau-wah-m7h","deleted_at":"2025-07-01T15:52:58.035839+00:00"}]} ' headers: diff --git a/examples/v1/synthetics/SearchTests.rb b/examples/v1/synthetics/SearchTests.rb new file mode 100644 index 000000000000..660bec834526 --- /dev/null +++ b/examples/v1/synthetics/SearchTests.rb @@ -0,0 +1,5 @@ +# Search Synthetic tests returns "OK - Returns the list of Synthetic tests matching the search." response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V1::SyntheticsAPI.new +p api_instance.search_tests() diff --git a/examples/v1/synthetics/SearchTests_195957771.rb b/examples/v1/synthetics/SearchTests_195957771.rb new file mode 100644 index 000000000000..71fe6924b68b --- /dev/null +++ b/examples/v1/synthetics/SearchTests_195957771.rb @@ -0,0 +1,13 @@ +# Search Synthetic tests with boolean query parameters + +require "datadog_api_client" +api_instance = DatadogAPIClient::V1::SyntheticsAPI.new +opts = { + include_full_config: true, + search_suites: true, + facets_only: true, + start: 10, + count: 5, + sort: "name,desc", +} +p api_instance.search_tests(opts) diff --git a/features/scenarios_model_mapping.rb b/features/scenarios_model_mapping.rb index 4e2672b6e18f..dc22ab35d1d3 100644 --- a/features/scenarios_model_mapping.rb +++ b/features/scenarios_model_mapping.rb @@ -753,6 +753,14 @@ "public_id" => "String", "body" => "SyntheticsMobileTest", }, + "v1.SearchTests" => { + "include_full_config" => "Boolean", + "search_suites" => "Boolean", + "facets_only" => "Boolean", + "start" => "Integer", + "count" => "Integer", + "sort" => "String", + }, "v1.TriggerTests" => { "body" => "SyntheticsTriggerBody", }, diff --git a/features/v1/synthetics.feature b/features/v1/synthetics.feature index 8ac89dcd26ec..45dcf7ceada4 100644 --- a/features/v1/synthetics.feature +++ b/features/v1/synthetics.feature @@ -6,7 +6,7 @@ Feature: Synthetics flavors, [API tests](https://docs.datadoghq.com/synthetics/api_tests/?tab=httptest) and [browser tests](https://docs.datadoghq.com/synthetics/browser_tests). You - can use Datadog’s API to manage both test types programmatically. For + can use Datadog's API to manage both test types programmatically. For more information, see the [Synthetic Monitoring documentation](https://docs.datadoghq.com/synthetics/). @@ -790,6 +790,30 @@ Feature: Synthetics When the request is sent Then the response status is 200 OK - Returns a boolean indicating if the update was successful. + @generated @skip @team:DataDog/synthetics-ct + Scenario: Search Synthetic tests returns "Not found" response + Given new "SearchTests" request + When the request is sent + Then the response status is 404 Not found + + @generated @skip @team:DataDog/synthetics-ct + Scenario: Search Synthetic tests returns "OK - Returns the list of Synthetic tests matching the search." response + Given new "SearchTests" request + When the request is sent + Then the response status is 200 OK - Returns the list of Synthetic tests matching the search. + + @team:DataDog/synthetics-ct + Scenario: Search Synthetic tests with boolean query parameters + Given new "SearchTests" request + And request contains "include_full_config" parameter with value true + And request contains "search_suites" parameter with value true + And request contains "facets_only" parameter with value true + And request contains "start" parameter with value 10 + And request contains "count" parameter with value 5 + And request contains "sort" parameter with value "name,desc" + When the request is sent + Then the response status is 200 OK - Returns the list of Synthetic tests matching the search. + @generated @skip @team:DataDog/synthetics-ct Scenario: Trigger Synthetic tests returns "Bad Request" response Given new "TriggerTests" request diff --git a/features/v1/undo.json b/features/v1/undo.json index f2bfacfa4860..341ebe6c4eed 100644 --- a/features/v1/undo.json +++ b/features/v1/undo.json @@ -1227,6 +1227,12 @@ "type": "idempotent" } }, + "SearchTests": { + "tag": "Synthetics", + "undo": { + "type": "safe" + } + }, "TriggerTests": { "tag": "Synthetics", "undo": { diff --git a/lib/datadog_api_client/v1/api/synthetics_api.rb b/lib/datadog_api_client/v1/api/synthetics_api.rb index b4935365e7f5..74d06ee745e7 100644 --- a/lib/datadog_api_client/v1/api/synthetics_api.rb +++ b/lib/datadog_api_client/v1/api/synthetics_api.rb @@ -1775,6 +1775,78 @@ def patch_test_with_http_info(public_id, body, opts = {}) return data, status_code, headers end + # Search Synthetic tests. + # + # @see #search_tests_with_http_info + def search_tests(opts = {}) + data, _status_code, _headers = search_tests_with_http_info(opts) + data + end + + # Search Synthetic tests. + # + # Search for Synthetic tests and Test Suites. + # + # @param opts [Hash] the optional parameters + # @option opts [Boolean] :include_full_config If true, include the full configuration for each test in the response. + # @option opts [Boolean] :search_suites If true, returns suites instead of tests. + # @option opts [Boolean] :facets_only If true, return only facets instead of full test details. + # @option opts [Integer] :start The offset from which to start returning results. + # @option opts [Integer] :count The maximum number of results to return. + # @option opts [String] :sort The sort order for the results (e.g., 'name,asc' or 'name,desc'). + # @return [Array<(SyntheticsListTestsResponse, Integer, Hash)>] SyntheticsListTestsResponse data, response status code and response headers + def search_tests_with_http_info(opts = {}) + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: SyntheticsAPI.search_tests ...' + end + # resource path + local_var_path = '/api/v1/synthetics/tests/search' + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'include_full_config'] = opts[:'include_full_config'] if !opts[:'include_full_config'].nil? + query_params[:'search_suites'] = opts[:'search_suites'] if !opts[:'search_suites'].nil? + query_params[:'facets_only'] = opts[:'facets_only'] if !opts[:'facets_only'].nil? + query_params[:'start'] = opts[:'start'] if !opts[:'start'].nil? + query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil? + query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'SyntheticsListTestsResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] + + new_options = opts.merge( + :operation => :search_tests, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type, + :api_version => "V1" + ) + + data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: SyntheticsAPI#search_tests\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Trigger tests from CI/CD pipelines. # # @see #trigger_ci_tests_with_http_info