Skip to content

Commit 0962c62

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add domain prefix filter query parameter to list status pages API (#3226)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent eba9d1c commit 0962c62

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115344,6 +115344,11 @@ paths:
115344115344
schema:
115345115345
default: 50
115346115346
type: integer
115347+
- description: Filter status pages by exact domain prefix match. Returns at most one result.
115348+
in: query
115349+
name: filter[domain_prefix]
115350+
schema:
115351+
type: string
115347115352
- description: "Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user."
115348115353
in: query
115349115354
name: include

features/scenarios_model_mapping.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4086,6 +4086,7 @@
40864086
"v2.ListStatusPages" => {
40874087
"page_offset" => "Integer",
40884088
"page_limit" => "Integer",
4089+
"filter_domain_prefix" => "String",
40894090
"include" => "String",
40904091
},
40914092
"v2.CreateStatusPage" => {

lib/datadog_api_client/v2/api/status_pages_api.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,7 @@ def list_status_pages(opts = {})
10321032
# @param opts [Hash] the optional parameters
10331033
# @option opts [Integer] :page_offset Offset to use as the start of the page.
10341034
# @option opts [Integer] :page_limit The number of status pages to return per page.
1035+
# @option opts [String] :filter_domain_prefix Filter status pages by exact domain prefix match. Returns at most one result.
10351036
# @option opts [String] :include Comma-separated list of resources to include. Supported values: created_by_user, last_modified_by_user.
10361037
# @return [Array<(StatusPageArray, Integer, Hash)>] StatusPageArray data, response status code and response headers
10371038
def list_status_pages_with_http_info(opts = {})
@@ -1046,6 +1047,7 @@ def list_status_pages_with_http_info(opts = {})
10461047
query_params = opts[:query_params] || {}
10471048
query_params[:'page[offset]'] = opts[:'page_offset'] if !opts[:'page_offset'].nil?
10481049
query_params[:'page[limit]'] = opts[:'page_limit'] if !opts[:'page_limit'].nil?
1050+
query_params[:'filter[domain_prefix]'] = opts[:'filter_domain_prefix'] if !opts[:'filter_domain_prefix'].nil?
10491051
query_params[:'include'] = opts[:'include'] if !opts[:'include'].nil?
10501052

10511053
# header parameters

0 commit comments

Comments
 (0)