File tree Expand file tree Collapse file tree 6 files changed +13
-2
lines changed
lib/datadog_api_client/v1/api Expand file tree Collapse file tree 6 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11{
2- "spec_repo_commit": "8ca2883 ",
3- "generated": "2025-07-22 07:14:48.428 "
2+ "spec_repo_commit": "2a29c79 ",
3+ "generated": "2025-07-22 12:27:12.712 "
44}
Original file line number Diff line number Diff line change @@ -33827,6 +33827,12 @@ paths:
3382733827 description: Search for Synthetic tests and Test Suites.
3382833828 operationId: SearchTests
3382933829 parameters:
33830+ - description: The search query.
33831+ in: query
33832+ name: text
33833+ required: false
33834+ schema:
33835+ type: string
3383033836 - description: If true, include the full configuration for each test in the
3383133837 response.
3383233838 in: query
Original file line number Diff line number Diff line change 33require "datadog_api_client"
44api_instance = DatadogAPIClient ::V1 ::SyntheticsAPI . new
55opts = {
6+ text : "tag:value" ,
67 include_full_config : true ,
78 search_suites : true ,
89 facets_only : true ,
Original file line number Diff line number Diff line change 754754 "body" => "SyntheticsMobileTest" ,
755755 } ,
756756 "v1.SearchTests" => {
757+ "text" => "String" ,
757758 "include_full_config" => "Boolean" ,
758759 "search_suites" => "Boolean" ,
759760 "facets_only" => "Boolean" ,
Original file line number Diff line number Diff line change @@ -806,6 +806,7 @@ Feature: Synthetics
806806 @team:DataDog/synthetics-ct
807807 Scenario : Search Synthetic tests with boolean query parameters
808808 Given new "SearchTests" request
809+ And request contains "text" parameter with value "tag:value"
809810 And request contains "include_full_config" parameter with value true
810811 And request contains "search_suites" parameter with value true
811812 And request contains "facets_only" parameter with value true
Original file line number Diff line number Diff line change @@ -1788,6 +1788,7 @@ def search_tests(opts = {})
17881788 # Search for Synthetic tests and Test Suites.
17891789 #
17901790 # @param opts [Hash] the optional parameters
1791+ # @option opts [String] :text The search query.
17911792 # @option opts [Boolean] :include_full_config If true, include the full configuration for each test in the response.
17921793 # @option opts [Boolean] :search_suites If true, returns suites instead of tests.
17931794 # @option opts [Boolean] :facets_only If true, return only facets instead of full test details.
@@ -1805,6 +1806,7 @@ def search_tests_with_http_info(opts = {})
18051806
18061807 # query parameters
18071808 query_params = opts [ :query_params ] || { }
1809+ query_params [ :'text' ] = opts [ :'text' ] if !opts [ :'text' ] . nil?
18081810 query_params [ :'include_full_config' ] = opts [ :'include_full_config' ] if !opts [ :'include_full_config' ] . nil?
18091811 query_params [ :'search_suites' ] = opts [ :'search_suites' ] if !opts [ :'search_suites' ] . nil?
18101812 query_params [ :'facets_only' ] = opts [ :'facets_only' ] if !opts [ :'facets_only' ] . nil?
You can’t perform that action at this time.
0 commit comments