Skip to content

Commit a1e7406

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 2d231c9 of spec repo (#3593)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 339f9a0 commit a1e7406

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138112,7 +138112,7 @@ paths:
138112138112
get:
138113138113
description: |-
138114138114
Returns a list of environments for the organization.
138115-
Supports filtering by name and key.
138115+
Supports filtering by name, key, and DD_ENV.
138116138116
operationId: ListFeatureFlagsEnvironments
138117138117
parameters:
138118138118
- description: Filter environments by name (partial matching).
@@ -138127,6 +138127,12 @@ paths:
138127138127
name: key
138128138128
schema:
138129138129
type: string
138130+
- description: Filter environments by queries that contain the provided DD_ENV value.
138131+
example: "staging"
138132+
in: query
138133+
name: dd_env
138134+
schema:
138135+
type: string
138130138136
- description: Maximum number of results to return.
138131138137
example: 10
138132138138
in: query

features/scenarios_model_mapping.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3315,6 +3315,7 @@
33153315
"v2.ListFeatureFlagsEnvironments" => {
33163316
"name" => "String",
33173317
"key" => "String",
3318+
"dd_env" => "String",
33183319
"limit" => "Integer",
33193320
"offset" => "Integer",
33203321
},

lib/datadog_api_client/v2/api/feature_flags_api.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,11 +875,12 @@ def list_feature_flags_environments(opts = {})
875875
# List environments.
876876
#
877877
# Returns a list of environments for the organization.
878-
# Supports filtering by name and key.
878+
# Supports filtering by name, key, and DD_ENV.
879879
#
880880
# @param opts [Hash] the optional parameters
881881
# @option opts [String] :name Filter environments by name (partial matching).
882882
# @option opts [String] :key Filter environments by key (partial matching).
883+
# @option opts [String] :dd_env Filter environments by queries that contain the provided DD_ENV value.
883884
# @option opts [Integer] :limit Maximum number of results to return.
884885
# @option opts [Integer] :offset Number of results to skip.
885886
# @return [Array<(ListEnvironmentsResponse, Integer, Hash)>] ListEnvironmentsResponse data, response status code and response headers
@@ -904,6 +905,7 @@ def list_feature_flags_environments_with_http_info(opts = {})
904905
query_params = opts[:query_params] || {}
905906
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
906907
query_params[:'key'] = opts[:'key'] if !opts[:'key'].nil?
908+
query_params[:'dd_env'] = opts[:'dd_env'] if !opts[:'dd_env'].nil?
907909
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
908910
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
909911

0 commit comments

Comments
 (0)