Skip to content

Commit 3de288d

Browse files
author
LaunchDarklyReleaseBot
committed
Version 9.0.1 automatically generated from ld-openapi.
1 parent 79ad771 commit 3de288d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+2587
-139
lines changed

.openapi-generator/FILES

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ docs/CustomWorkflowOutputRep.md
5454
docs/CustomWorkflowStageMeta.md
5555
docs/CustomWorkflowsListingOutputRep.md
5656
docs/DataExportDestinationsApi.md
57-
docs/Decimal.md
5857
docs/DefaultClientSideAvailabilityPost.md
5958
docs/Defaults.md
6059
docs/DependentFlag.md
@@ -68,15 +67,16 @@ docs/EnvironmentPost.md
6867
docs/EnvironmentsApi.md
6968
docs/EvaluationReason.md
7069
docs/ExecutionOutputRep.md
70+
docs/Experiment.md
7171
docs/ExperimentAllocationRep.md
7272
docs/ExperimentCollectionRep.md
7373
docs/ExperimentEnabledPeriodRep.md
7474
docs/ExperimentEnvironmentSettingRep.md
75+
docs/ExperimentExpandableProperties.md
7576
docs/ExperimentInfoRep.md
7677
docs/ExperimentMetadataRep.md
7778
docs/ExperimentPatchInput.md
7879
docs/ExperimentPost.md
79-
docs/ExperimentRep.md
8080
docs/ExperimentResults.md
8181
docs/ExperimentStatsRep.md
8282
docs/ExperimentTimeSeriesSlice.md
@@ -144,6 +144,7 @@ docs/IterationExpandableProperties.md
144144
docs/IterationInput.md
145145
docs/IterationRep.md
146146
docs/LastSeenMetadata.md
147+
docs/LegacyExperimentRep.md
147148
docs/Link.md
148149
docs/Member.md
149150
docs/MemberDataRep.md
@@ -160,13 +161,13 @@ docs/MetricListingRep.md
160161
docs/MetricPost.md
161162
docs/MetricRep.md
162163
docs/MetricSeen.md
164+
docs/MetricV2Rep.md
163165
docs/MetricsApi.md
164166
docs/Modification.md
165167
docs/MultiEnvironmentDependentFlag.md
166168
docs/MultiEnvironmentDependentFlags.md
167169
docs/NewMemberForm.md
168170
docs/NotFoundErrorRep.md
169-
docs/NullDecimal.md
170171
docs/OtherApi.md
171172
docs/ParameterRep.md
172173
docs/ParentResourceRep.md
@@ -232,6 +233,7 @@ docs/StatementPostData.md
232233
docs/StatementRep.md
233234
docs/StatisticCollectionRep.md
234235
docs/StatisticRep.md
236+
docs/StatisticsRep.md
235237
docs/StatisticsRoot.md
236238
docs/StatusConflictErrorRep.md
237239
docs/SubjectDataRep.md
@@ -276,6 +278,7 @@ docs/UserSettingsApi.md
276278
docs/Users.md
277279
docs/UsersApi.md
278280
docs/UsersBetaApi.md
281+
docs/UsersRep.md
279282
docs/ValuePut.md
280283
docs/Variation.md
281284
docs/VariationOrRolloutRep.md
@@ -363,7 +366,6 @@ lib/launchdarkly_api/models/custom_workflow_meta.rb
363366
lib/launchdarkly_api/models/custom_workflow_output_rep.rb
364367
lib/launchdarkly_api/models/custom_workflow_stage_meta.rb
365368
lib/launchdarkly_api/models/custom_workflows_listing_output_rep.rb
366-
lib/launchdarkly_api/models/decimal.rb
367369
lib/launchdarkly_api/models/default_client_side_availability_post.rb
368370
lib/launchdarkly_api/models/defaults.rb
369371
lib/launchdarkly_api/models/dependent_flag.rb
@@ -376,15 +378,16 @@ lib/launchdarkly_api/models/environment.rb
376378
lib/launchdarkly_api/models/environment_post.rb
377379
lib/launchdarkly_api/models/evaluation_reason.rb
378380
lib/launchdarkly_api/models/execution_output_rep.rb
381+
lib/launchdarkly_api/models/experiment.rb
379382
lib/launchdarkly_api/models/experiment_allocation_rep.rb
380383
lib/launchdarkly_api/models/experiment_collection_rep.rb
381384
lib/launchdarkly_api/models/experiment_enabled_period_rep.rb
382385
lib/launchdarkly_api/models/experiment_environment_setting_rep.rb
386+
lib/launchdarkly_api/models/experiment_expandable_properties.rb
383387
lib/launchdarkly_api/models/experiment_info_rep.rb
384388
lib/launchdarkly_api/models/experiment_metadata_rep.rb
385389
lib/launchdarkly_api/models/experiment_patch_input.rb
386390
lib/launchdarkly_api/models/experiment_post.rb
387-
lib/launchdarkly_api/models/experiment_rep.rb
388391
lib/launchdarkly_api/models/experiment_results.rb
389392
lib/launchdarkly_api/models/experiment_stats_rep.rb
390393
lib/launchdarkly_api/models/experiment_time_series_slice.rb
@@ -445,6 +448,7 @@ lib/launchdarkly_api/models/iteration_expandable_properties.rb
445448
lib/launchdarkly_api/models/iteration_input.rb
446449
lib/launchdarkly_api/models/iteration_rep.rb
447450
lib/launchdarkly_api/models/last_seen_metadata.rb
451+
lib/launchdarkly_api/models/legacy_experiment_rep.rb
448452
lib/launchdarkly_api/models/link.rb
449453
lib/launchdarkly_api/models/member.rb
450454
lib/launchdarkly_api/models/member_data_rep.rb
@@ -461,12 +465,12 @@ lib/launchdarkly_api/models/metric_listing_rep.rb
461465
lib/launchdarkly_api/models/metric_post.rb
462466
lib/launchdarkly_api/models/metric_rep.rb
463467
lib/launchdarkly_api/models/metric_seen.rb
468+
lib/launchdarkly_api/models/metric_v2_rep.rb
464469
lib/launchdarkly_api/models/modification.rb
465470
lib/launchdarkly_api/models/multi_environment_dependent_flag.rb
466471
lib/launchdarkly_api/models/multi_environment_dependent_flags.rb
467472
lib/launchdarkly_api/models/new_member_form.rb
468473
lib/launchdarkly_api/models/not_found_error_rep.rb
469-
lib/launchdarkly_api/models/null_decimal.rb
470474
lib/launchdarkly_api/models/parameter_rep.rb
471475
lib/launchdarkly_api/models/parent_resource_rep.rb
472476
lib/launchdarkly_api/models/patch_failed_error_rep.rb
@@ -526,6 +530,7 @@ lib/launchdarkly_api/models/statement_post_data.rb
526530
lib/launchdarkly_api/models/statement_rep.rb
527531
lib/launchdarkly_api/models/statistic_collection_rep.rb
528532
lib/launchdarkly_api/models/statistic_rep.rb
533+
lib/launchdarkly_api/models/statistics_rep.rb
529534
lib/launchdarkly_api/models/statistics_root.rb
530535
lib/launchdarkly_api/models/status_conflict_error_rep.rb
531536
lib/launchdarkly_api/models/subject_data_rep.rb
@@ -565,6 +570,7 @@ lib/launchdarkly_api/models/user_segment.rb
565570
lib/launchdarkly_api/models/user_segment_rule.rb
566571
lib/launchdarkly_api/models/user_segments.rb
567572
lib/launchdarkly_api/models/users.rb
573+
lib/launchdarkly_api/models/users_rep.rb
568574
lib/launchdarkly_api/models/value_put.rb
569575
lib/launchdarkly_api/models/variation.rb
570576
lib/launchdarkly_api/models/variation_or_rollout_rep.rb
@@ -647,7 +653,6 @@ spec/models/custom_workflow_meta_spec.rb
647653
spec/models/custom_workflow_output_rep_spec.rb
648654
spec/models/custom_workflow_stage_meta_spec.rb
649655
spec/models/custom_workflows_listing_output_rep_spec.rb
650-
spec/models/decimal_spec.rb
651656
spec/models/default_client_side_availability_post_spec.rb
652657
spec/models/defaults_spec.rb
653658
spec/models/dependent_flag_environment_spec.rb
@@ -664,12 +669,13 @@ spec/models/experiment_allocation_rep_spec.rb
664669
spec/models/experiment_collection_rep_spec.rb
665670
spec/models/experiment_enabled_period_rep_spec.rb
666671
spec/models/experiment_environment_setting_rep_spec.rb
672+
spec/models/experiment_expandable_properties_spec.rb
667673
spec/models/experiment_info_rep_spec.rb
668674
spec/models/experiment_metadata_rep_spec.rb
669675
spec/models/experiment_patch_input_spec.rb
670676
spec/models/experiment_post_spec.rb
671-
spec/models/experiment_rep_spec.rb
672677
spec/models/experiment_results_spec.rb
678+
spec/models/experiment_spec.rb
673679
spec/models/experiment_stats_rep_spec.rb
674680
spec/models/experiment_time_series_slice_spec.rb
675681
spec/models/experiment_time_series_variation_slice_spec.rb
@@ -729,6 +735,7 @@ spec/models/iteration_expandable_properties_spec.rb
729735
spec/models/iteration_input_spec.rb
730736
spec/models/iteration_rep_spec.rb
731737
spec/models/last_seen_metadata_spec.rb
738+
spec/models/legacy_experiment_rep_spec.rb
732739
spec/models/link_spec.rb
733740
spec/models/member_data_rep_spec.rb
734741
spec/models/member_import_item_spec.rb
@@ -745,12 +752,12 @@ spec/models/metric_listing_rep_spec.rb
745752
spec/models/metric_post_spec.rb
746753
spec/models/metric_rep_spec.rb
747754
spec/models/metric_seen_spec.rb
755+
spec/models/metric_v2_rep_spec.rb
748756
spec/models/modification_spec.rb
749757
spec/models/multi_environment_dependent_flag_spec.rb
750758
spec/models/multi_environment_dependent_flags_spec.rb
751759
spec/models/new_member_form_spec.rb
752760
spec/models/not_found_error_rep_spec.rb
753-
spec/models/null_decimal_spec.rb
754761
spec/models/parameter_rep_spec.rb
755762
spec/models/parent_resource_rep_spec.rb
756763
spec/models/patch_failed_error_rep_spec.rb
@@ -810,6 +817,7 @@ spec/models/statement_rep_spec.rb
810817
spec/models/statement_spec.rb
811818
spec/models/statistic_collection_rep_spec.rb
812819
spec/models/statistic_rep_spec.rb
820+
spec/models/statistics_rep_spec.rb
813821
spec/models/statistics_root_spec.rb
814822
spec/models/status_conflict_error_rep_spec.rb
815823
spec/models/subject_data_rep_spec.rb
@@ -848,6 +856,7 @@ spec/models/user_segment_rule_spec.rb
848856
spec/models/user_segment_spec.rb
849857
spec/models/user_segments_spec.rb
850858
spec/models/user_spec.rb
859+
spec/models/users_rep_spec.rb
851860
spec/models/users_spec.rb
852861
spec/models/value_put_spec.rb
853862
spec/models/variation_or_rollout_rep_spec.rb

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ script:
1111
- bundle install --path vendor/bundle
1212
- bundle exec rspec
1313
- gem build launchdarkly_api.gemspec
14-
- gem install ./launchdarkly_api-9.0.0.gem
14+
- gem install ./launchdarkly_api-9.0.1.gem

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ If you would like to upgrade your integration to use a new API version, you can
458458
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
459459

460460
- API version: 2.0
461-
- Package version: 9.0.0
461+
- Package version: 9.0.1
462462
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
463463
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
464464

@@ -475,16 +475,16 @@ gem build launchdarkly_api.gemspec
475475
Then either install the gem locally:
476476

477477
```shell
478-
gem install ./launchdarkly_api-9.0.0.gem
478+
gem install ./launchdarkly_api-9.0.1.gem
479479
```
480480

481-
(for development, run `gem install --dev ./launchdarkly_api-9.0.0.gem` to install the development dependencies)
481+
(for development, run `gem install --dev ./launchdarkly_api-9.0.1.gem` to install the development dependencies)
482482

483483
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
484484

485485
Finally add this to the Gemfile:
486486

487-
gem 'launchdarkly_api', '~> 9.0.0'
487+
gem 'launchdarkly_api', '~> 9.0.1'
488488

489489
### Install from Git
490490

@@ -544,7 +544,7 @@ Class | Method | HTTP request | Description
544544
*LaunchDarklyApi::AccountMembersApi* | [**get_member**](docs/AccountMembersApi.md#get_member) | **GET** /api/v2/members/{id} | Get account member
545545
*LaunchDarklyApi::AccountMembersApi* | [**get_members**](docs/AccountMembersApi.md#get_members) | **GET** /api/v2/members | List account members
546546
*LaunchDarklyApi::AccountMembersApi* | [**patch_member**](docs/AccountMembersApi.md#patch_member) | **PATCH** /api/v2/members/{id} | Modify an account member
547-
*LaunchDarklyApi::AccountMembersApi* | [**post_member_teams**](docs/AccountMembersApi.md#post_member_teams) | **POST** /api/v2/members/{id}/teams | Add member to teams
547+
*LaunchDarklyApi::AccountMembersApi* | [**post_member_teams**](docs/AccountMembersApi.md#post_member_teams) | **POST** /api/v2/members/{id}/teams | Add a member to teams
548548
*LaunchDarklyApi::AccountMembersApi* | [**post_members**](docs/AccountMembersApi.md#post_members) | **POST** /api/v2/members | Invite new members
549549
*LaunchDarklyApi::AccountUsageBetaApi* | [**get_evaluations_usage**](docs/AccountUsageBetaApi.md#get_evaluations_usage) | **GET** /api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey} | Get evaluations usage
550550
*LaunchDarklyApi::AccountUsageBetaApi* | [**get_events_usage**](docs/AccountUsageBetaApi.md#get_events_usage) | **GET** /api/v2/usage/events/{type} | Get events usage
@@ -680,7 +680,7 @@ Class | Method | HTTP request | Description
680680
*LaunchDarklyApi::TeamsBetaApi* | [**get_teams**](docs/TeamsBetaApi.md#get_teams) | **GET** /api/v2/teams | List teams
681681
*LaunchDarklyApi::TeamsBetaApi* | [**patch_team**](docs/TeamsBetaApi.md#patch_team) | **PATCH** /api/v2/teams/{teamKey} | Update team
682682
*LaunchDarklyApi::TeamsBetaApi* | [**post_team**](docs/TeamsBetaApi.md#post_team) | **POST** /api/v2/teams | Create team
683-
*LaunchDarklyApi::TeamsBetaApi* | [**post_team_members**](docs/TeamsBetaApi.md#post_team_members) | **POST** /api/v2/teams/{teamKey}/members | Add members to team
683+
*LaunchDarklyApi::TeamsBetaApi* | [**post_team_members**](docs/TeamsBetaApi.md#post_team_members) | **POST** /api/v2/teams/{teamKey}/members | Add multiple members to team
684684
*LaunchDarklyApi::UserSettingsApi* | [**get_expiring_flags_for_user**](docs/UserSettingsApi.md#get_expiring_flags_for_user) | **GET** /api/v2/users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey} | Get expiring dates on flags for user
685685
*LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_setting**](docs/UserSettingsApi.md#get_user_flag_setting) | **GET** /api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Get flag setting for user
686686
*LaunchDarklyApi::UserSettingsApi* | [**get_user_flag_settings**](docs/UserSettingsApi.md#get_user_flag_settings) | **GET** /api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags | List flag settings for user
@@ -744,7 +744,6 @@ Class | Method | HTTP request | Description
744744
- [LaunchDarklyApi::CustomWorkflowOutputRep](docs/CustomWorkflowOutputRep.md)
745745
- [LaunchDarklyApi::CustomWorkflowStageMeta](docs/CustomWorkflowStageMeta.md)
746746
- [LaunchDarklyApi::CustomWorkflowsListingOutputRep](docs/CustomWorkflowsListingOutputRep.md)
747-
- [LaunchDarklyApi::Decimal](docs/Decimal.md)
748747
- [LaunchDarklyApi::DefaultClientSideAvailabilityPost](docs/DefaultClientSideAvailabilityPost.md)
749748
- [LaunchDarklyApi::Defaults](docs/Defaults.md)
750749
- [LaunchDarklyApi::DependentFlag](docs/DependentFlag.md)
@@ -757,15 +756,16 @@ Class | Method | HTTP request | Description
757756
- [LaunchDarklyApi::EnvironmentPost](docs/EnvironmentPost.md)
758757
- [LaunchDarklyApi::EvaluationReason](docs/EvaluationReason.md)
759758
- [LaunchDarklyApi::ExecutionOutputRep](docs/ExecutionOutputRep.md)
759+
- [LaunchDarklyApi::Experiment](docs/Experiment.md)
760760
- [LaunchDarklyApi::ExperimentAllocationRep](docs/ExperimentAllocationRep.md)
761761
- [LaunchDarklyApi::ExperimentCollectionRep](docs/ExperimentCollectionRep.md)
762762
- [LaunchDarklyApi::ExperimentEnabledPeriodRep](docs/ExperimentEnabledPeriodRep.md)
763763
- [LaunchDarklyApi::ExperimentEnvironmentSettingRep](docs/ExperimentEnvironmentSettingRep.md)
764+
- [LaunchDarklyApi::ExperimentExpandableProperties](docs/ExperimentExpandableProperties.md)
764765
- [LaunchDarklyApi::ExperimentInfoRep](docs/ExperimentInfoRep.md)
765766
- [LaunchDarklyApi::ExperimentMetadataRep](docs/ExperimentMetadataRep.md)
766767
- [LaunchDarklyApi::ExperimentPatchInput](docs/ExperimentPatchInput.md)
767768
- [LaunchDarklyApi::ExperimentPost](docs/ExperimentPost.md)
768-
- [LaunchDarklyApi::ExperimentRep](docs/ExperimentRep.md)
769769
- [LaunchDarklyApi::ExperimentResults](docs/ExperimentResults.md)
770770
- [LaunchDarklyApi::ExperimentStatsRep](docs/ExperimentStatsRep.md)
771771
- [LaunchDarklyApi::ExperimentTimeSeriesSlice](docs/ExperimentTimeSeriesSlice.md)
@@ -826,6 +826,7 @@ Class | Method | HTTP request | Description
826826
- [LaunchDarklyApi::IterationInput](docs/IterationInput.md)
827827
- [LaunchDarklyApi::IterationRep](docs/IterationRep.md)
828828
- [LaunchDarklyApi::LastSeenMetadata](docs/LastSeenMetadata.md)
829+
- [LaunchDarklyApi::LegacyExperimentRep](docs/LegacyExperimentRep.md)
829830
- [LaunchDarklyApi::Link](docs/Link.md)
830831
- [LaunchDarklyApi::Member](docs/Member.md)
831832
- [LaunchDarklyApi::MemberDataRep](docs/MemberDataRep.md)
@@ -842,12 +843,12 @@ Class | Method | HTTP request | Description
842843
- [LaunchDarklyApi::MetricPost](docs/MetricPost.md)
843844
- [LaunchDarklyApi::MetricRep](docs/MetricRep.md)
844845
- [LaunchDarklyApi::MetricSeen](docs/MetricSeen.md)
846+
- [LaunchDarklyApi::MetricV2Rep](docs/MetricV2Rep.md)
845847
- [LaunchDarklyApi::Modification](docs/Modification.md)
846848
- [LaunchDarklyApi::MultiEnvironmentDependentFlag](docs/MultiEnvironmentDependentFlag.md)
847849
- [LaunchDarklyApi::MultiEnvironmentDependentFlags](docs/MultiEnvironmentDependentFlags.md)
848850
- [LaunchDarklyApi::NewMemberForm](docs/NewMemberForm.md)
849851
- [LaunchDarklyApi::NotFoundErrorRep](docs/NotFoundErrorRep.md)
850-
- [LaunchDarklyApi::NullDecimal](docs/NullDecimal.md)
851852
- [LaunchDarklyApi::ParameterRep](docs/ParameterRep.md)
852853
- [LaunchDarklyApi::ParentResourceRep](docs/ParentResourceRep.md)
853854
- [LaunchDarklyApi::PatchFailedErrorRep](docs/PatchFailedErrorRep.md)
@@ -907,6 +908,7 @@ Class | Method | HTTP request | Description
907908
- [LaunchDarklyApi::StatementRep](docs/StatementRep.md)
908909
- [LaunchDarklyApi::StatisticCollectionRep](docs/StatisticCollectionRep.md)
909910
- [LaunchDarklyApi::StatisticRep](docs/StatisticRep.md)
911+
- [LaunchDarklyApi::StatisticsRep](docs/StatisticsRep.md)
910912
- [LaunchDarklyApi::StatisticsRoot](docs/StatisticsRoot.md)
911913
- [LaunchDarklyApi::StatusConflictErrorRep](docs/StatusConflictErrorRep.md)
912914
- [LaunchDarklyApi::SubjectDataRep](docs/SubjectDataRep.md)
@@ -946,6 +948,7 @@ Class | Method | HTTP request | Description
946948
- [LaunchDarklyApi::UserSegmentRule](docs/UserSegmentRule.md)
947949
- [LaunchDarklyApi::UserSegments](docs/UserSegments.md)
948950
- [LaunchDarklyApi::Users](docs/Users.md)
951+
- [LaunchDarklyApi::UsersRep](docs/UsersRep.md)
949952
- [LaunchDarklyApi::ValuePut](docs/ValuePut.md)
950953
- [LaunchDarklyApi::Variation](docs/Variation.md)
951954
- [LaunchDarklyApi::VariationOrRolloutRep](docs/VariationOrRolloutRep.md)

docs/AccountMembersApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ All URIs are relative to *https://app.launchdarkly.com*
88
| [**get_member**](AccountMembersApi.md#get_member) | **GET** /api/v2/members/{id} | Get account member |
99
| [**get_members**](AccountMembersApi.md#get_members) | **GET** /api/v2/members | List account members |
1010
| [**patch_member**](AccountMembersApi.md#patch_member) | **PATCH** /api/v2/members/{id} | Modify an account member |
11-
| [**post_member_teams**](AccountMembersApi.md#post_member_teams) | **POST** /api/v2/members/{id}/teams | Add member to teams |
11+
| [**post_member_teams**](AccountMembersApi.md#post_member_teams) | **POST** /api/v2/members/{id}/teams | Add a member to teams |
1212
| [**post_members**](AccountMembersApi.md#post_members) | **POST** /api/v2/members | Invite new members |
1313

1414

@@ -88,7 +88,7 @@ nil (empty response body)
8888
8989
Get account member
9090

91-
Get a single account member by ID
91+
Get a single account member by ID. `me` is a reserved value for the `id` parameter and returns the caller's member information.
9292

9393
### Examples
9494

@@ -309,9 +309,9 @@ end
309309

310310
> <Member> post_member_teams(id, member_teams_post_input)
311311
312-
Add member to teams
312+
Add a member to teams
313313

314-
Add member to team(s)
314+
Add one member to one or more teams.
315315

316316
### Examples
317317

@@ -331,7 +331,7 @@ id = 'id_example' # String | The member ID
331331
member_teams_post_input = LaunchDarklyApi::MemberTeamsPostInput.new({team_keys: ['team_keys_example']}) # MemberTeamsPostInput |
332332

333333
begin
334-
# Add member to teams
334+
# Add a member to teams
335335
result = api_instance.post_member_teams(id, member_teams_post_input)
336336
p result
337337
rescue LaunchDarklyApi::ApiError => e
@@ -347,7 +347,7 @@ This returns an Array which contains the response data, status code and headers.
347347
348348
```ruby
349349
begin
350-
# Add member to teams
350+
# Add a member to teams
351351
data, status_code, headers = api_instance.post_member_teams_with_http_info(id, member_teams_post_input)
352352
p status_code # => 2xx
353353
p headers # => { ... }

docs/EnvironmentsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ end
163163
164164
Update environment
165165

166-
Update an environment. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the environment. To update fields in the environment object that are arrays, set the `path` to the name of the field and then append `/<array index>`. Using `/0` appends to the beginning of the array. ### Approval settings This request only returns the `approvalSettings` key if the [Flag Approvals](https://docs.launchdarkly.com/home/feature-workflows/approvals) feature is enabled. Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. If you try to patch the environment by setting both `required` and `requiredApprovalTags`, the request fails and an error appears. You can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on a Pro or Enterprise plan can require approval for flag updates by either mechanism.
166+
Update an environment. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the environment. To update fields in the environment object that are arrays, set the `path` to the name of the field and then append `/<array index>`. Using `/0` appends to the beginning of the array. ### Approval settings This request only returns the `approvalSettings` key if the [Flag Approvals](https://docs.launchdarkly.com/home/feature-workflows/approvals) feature is enabled. Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. If you try to patch the environment by setting both `required` and `requiredApprovalTags`, the request fails and an error appears. You can specify either required approvals for all flags in an environment or those with specific tags, but not both.
167167

168168
### Examples
169169

0 commit comments

Comments
 (0)