Skip to content

Commit

Permalink
Version 9.0.1 automatically generated from ld-openapi.
Browse files Browse the repository at this point in the history
  • Loading branch information
LaunchDarklyReleaseBot committed Apr 29, 2022
1 parent 0ce8b3f commit feb53c5
Show file tree
Hide file tree
Showing 63 changed files with 2,319 additions and 126 deletions.
30 changes: 21 additions & 9 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ docs/CustomWorkflowOutputRep.md
docs/CustomWorkflowStageMeta.md
docs/CustomWorkflowsListingOutputRep.md
docs/DataExportDestinationsApi.md
docs/Decimal.md
docs/DefaultClientSideAvailabilityPost.md
docs/Defaults.md
docs/DependentFlag.md
Expand All @@ -67,15 +66,16 @@ docs/EnvironmentPost.md
docs/EnvironmentsApi.md
docs/EvaluationReason.md
docs/ExecutionOutputRep.md
docs/Experiment.md
docs/ExperimentAllocationRep.md
docs/ExperimentCollectionRep.md
docs/ExperimentEnabledPeriodRep.md
docs/ExperimentEnvironmentSettingRep.md
docs/ExperimentExpandableProperties.md
docs/ExperimentInfoRep.md
docs/ExperimentMetadataRep.md
docs/ExperimentPatchInput.md
docs/ExperimentPost.md
docs/ExperimentRep.md
docs/ExperimentResults.md
docs/ExperimentStatsRep.md
docs/ExperimentTimeSeriesSlice.md
Expand Down Expand Up @@ -148,6 +148,7 @@ docs/IterationInput.md
docs/IterationRep.md
docs/JSONPatch.md
docs/LastSeenMetadata.md
docs/LegacyExperimentRep.md
docs/Link.md
docs/Member.md
docs/MemberDataRep.md
Expand All @@ -164,6 +165,7 @@ docs/MetricListingRep.md
docs/MetricPost.md
docs/MetricRep.md
docs/MetricSeen.md
docs/MetricV2Rep.md
docs/MetricsApi.md
docs/MetricsInput.md
docs/ModelImport.md
Expand All @@ -173,7 +175,6 @@ docs/MultiEnvironmentDependentFlags.md
docs/NewMemberForm.md
docs/NewMemberFormListPost.md
docs/NotFoundErrorRep.md
docs/NullDecimal.md
docs/OtherApi.md
docs/ParameterRep.md
docs/ParentResourceRep.md
Expand Down Expand Up @@ -243,6 +244,7 @@ docs/StatementPostList.md
docs/StatementRep.md
docs/StatisticCollectionRep.md
docs/StatisticRep.md
docs/StatisticsRep.md
docs/StatisticsRoot.md
docs/StatusConflictErrorRep.md
docs/SubjectDataRep.md
Expand Down Expand Up @@ -274,6 +276,7 @@ docs/TriggerPost.md
docs/TriggerWorkflowCollectionRep.md
docs/TriggerWorkflowRep.md
docs/UnauthorizedErrorRep.md
docs/UrlMatchers.md
docs/UrlPost.md
docs/User.md
docs/UserAttributeNamesRep.md
Expand All @@ -288,6 +291,7 @@ docs/UserSettingsApi.md
docs/Users.md
docs/UsersApi.md
docs/UsersBetaApi.md
docs/UsersRep.md
docs/ValuePut.md
docs/Variation.md
docs/VariationOrRolloutRep.md
Expand Down Expand Up @@ -379,7 +383,6 @@ launchdarkly_api/model/custom_workflow_meta.py
launchdarkly_api/model/custom_workflow_output_rep.py
launchdarkly_api/model/custom_workflow_stage_meta.py
launchdarkly_api/model/custom_workflows_listing_output_rep.py
launchdarkly_api/model/decimal.py
launchdarkly_api/model/default_client_side_availability_post.py
launchdarkly_api/model/defaults.py
launchdarkly_api/model/dependent_flag.py
Expand All @@ -392,15 +395,16 @@ launchdarkly_api/model/environment.py
launchdarkly_api/model/environment_post.py
launchdarkly_api/model/evaluation_reason.py
launchdarkly_api/model/execution_output_rep.py
launchdarkly_api/model/experiment.py
launchdarkly_api/model/experiment_allocation_rep.py
launchdarkly_api/model/experiment_collection_rep.py
launchdarkly_api/model/experiment_enabled_period_rep.py
launchdarkly_api/model/experiment_environment_setting_rep.py
launchdarkly_api/model/experiment_expandable_properties.py
launchdarkly_api/model/experiment_info_rep.py
launchdarkly_api/model/experiment_metadata_rep.py
launchdarkly_api/model/experiment_patch_input.py
launchdarkly_api/model/experiment_post.py
launchdarkly_api/model/experiment_rep.py
launchdarkly_api/model/experiment_results.py
launchdarkly_api/model/experiment_stats_rep.py
launchdarkly_api/model/experiment_time_series_slice.py
Expand Down Expand Up @@ -466,6 +470,7 @@ launchdarkly_api/model/iteration_input.py
launchdarkly_api/model/iteration_rep.py
launchdarkly_api/model/json_patch.py
launchdarkly_api/model/last_seen_metadata.py
launchdarkly_api/model/legacy_experiment_rep.py
launchdarkly_api/model/link.py
launchdarkly_api/model/member.py
launchdarkly_api/model/member_data_rep.py
Expand All @@ -482,6 +487,7 @@ launchdarkly_api/model/metric_listing_rep.py
launchdarkly_api/model/metric_post.py
launchdarkly_api/model/metric_rep.py
launchdarkly_api/model/metric_seen.py
launchdarkly_api/model/metric_v2_rep.py
launchdarkly_api/model/metrics_input.py
launchdarkly_api/model/model_import.py
launchdarkly_api/model/modification.py
Expand All @@ -490,7 +496,6 @@ launchdarkly_api/model/multi_environment_dependent_flags.py
launchdarkly_api/model/new_member_form.py
launchdarkly_api/model/new_member_form_list_post.py
launchdarkly_api/model/not_found_error_rep.py
launchdarkly_api/model/null_decimal.py
launchdarkly_api/model/parameter_rep.py
launchdarkly_api/model/parent_resource_rep.py
launchdarkly_api/model/patch_failed_error_rep.py
Expand Down Expand Up @@ -554,6 +559,7 @@ launchdarkly_api/model/statement_post_list.py
launchdarkly_api/model/statement_rep.py
launchdarkly_api/model/statistic_collection_rep.py
launchdarkly_api/model/statistic_rep.py
launchdarkly_api/model/statistics_rep.py
launchdarkly_api/model/statistics_root.py
launchdarkly_api/model/status_conflict_error_rep.py
launchdarkly_api/model/subject_data_rep.py
Expand Down Expand Up @@ -583,6 +589,7 @@ launchdarkly_api/model/trigger_post.py
launchdarkly_api/model/trigger_workflow_collection_rep.py
launchdarkly_api/model/trigger_workflow_rep.py
launchdarkly_api/model/unauthorized_error_rep.py
launchdarkly_api/model/url_matchers.py
launchdarkly_api/model/url_post.py
launchdarkly_api/model/user.py
launchdarkly_api/model/user_attribute_names_rep.py
Expand All @@ -594,6 +601,7 @@ launchdarkly_api/model/user_segment.py
launchdarkly_api/model/user_segment_rule.py
launchdarkly_api/model/user_segments.py
launchdarkly_api/model/users.py
launchdarkly_api/model/users_rep.py
launchdarkly_api/model/value_put.py
launchdarkly_api/model/variation.py
launchdarkly_api/model/variation_or_rollout_rep.py
Expand Down Expand Up @@ -661,7 +669,6 @@ test/test_custom_workflow_output_rep.py
test/test_custom_workflow_stage_meta.py
test/test_custom_workflows_listing_output_rep.py
test/test_data_export_destinations_api.py
test/test_decimal.py
test/test_default_client_side_availability_post.py
test/test_defaults.py
test/test_dependent_flag.py
Expand All @@ -675,15 +682,16 @@ test/test_environment_post.py
test/test_environments_api.py
test/test_evaluation_reason.py
test/test_execution_output_rep.py
test/test_experiment.py
test/test_experiment_allocation_rep.py
test/test_experiment_collection_rep.py
test/test_experiment_enabled_period_rep.py
test/test_experiment_environment_setting_rep.py
test/test_experiment_expandable_properties.py
test/test_experiment_info_rep.py
test/test_experiment_metadata_rep.py
test/test_experiment_patch_input.py
test/test_experiment_post.py
test/test_experiment_rep.py
test/test_experiment_results.py
test/test_experiment_stats_rep.py
test/test_experiment_time_series_slice.py
Expand Down Expand Up @@ -756,6 +764,7 @@ test/test_iteration_input.py
test/test_iteration_rep.py
test/test_json_patch.py
test/test_last_seen_metadata.py
test/test_legacy_experiment_rep.py
test/test_link.py
test/test_member.py
test/test_member_data_rep.py
Expand All @@ -772,6 +781,7 @@ test/test_metric_listing_rep.py
test/test_metric_post.py
test/test_metric_rep.py
test/test_metric_seen.py
test/test_metric_v2_rep.py
test/test_metrics_api.py
test/test_metrics_input.py
test/test_model_import.py
Expand All @@ -781,7 +791,6 @@ test/test_multi_environment_dependent_flags.py
test/test_new_member_form.py
test/test_new_member_form_list_post.py
test/test_not_found_error_rep.py
test/test_null_decimal.py
test/test_other_api.py
test/test_parameter_rep.py
test/test_parent_resource_rep.py
Expand Down Expand Up @@ -851,6 +860,7 @@ test/test_statement_post_list.py
test/test_statement_rep.py
test/test_statistic_collection_rep.py
test/test_statistic_rep.py
test/test_statistics_rep.py
test/test_statistics_root.py
test/test_status_conflict_error_rep.py
test/test_subject_data_rep.py
Expand Down Expand Up @@ -882,6 +892,7 @@ test/test_trigger_post.py
test/test_trigger_workflow_collection_rep.py
test/test_trigger_workflow_rep.py
test/test_unauthorized_error_rep.py
test/test_url_matchers.py
test/test_url_post.py
test/test_user.py
test/test_user_attribute_names_rep.py
Expand All @@ -896,6 +907,7 @@ test/test_user_settings_api.py
test/test_users.py
test/test_users__beta_api.py
test/test_users_api.py
test/test_users_rep.py
test/test_value_put.py
test/test_variation.py
test/test_variation_or_rollout_rep.py
Expand Down
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ If you would like to upgrade your integration to use a new API version, you can
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 2.0
- Package version: 9.0.0
- Package version: 9.0.1
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)

Expand Down Expand Up @@ -560,7 +560,7 @@ Class | Method | HTTP request | Description
*AccountMembersApi* | [**get_member**](docs/AccountMembersApi.md#get_member) | **GET** /api/v2/members/{id} | Get account member
*AccountMembersApi* | [**get_members**](docs/AccountMembersApi.md#get_members) | **GET** /api/v2/members | List account members
*AccountMembersApi* | [**patch_member**](docs/AccountMembersApi.md#patch_member) | **PATCH** /api/v2/members/{id} | Modify an account member
*AccountMembersApi* | [**post_member_teams**](docs/AccountMembersApi.md#post_member_teams) | **POST** /api/v2/members/{id}/teams | Add member to teams
*AccountMembersApi* | [**post_member_teams**](docs/AccountMembersApi.md#post_member_teams) | **POST** /api/v2/members/{id}/teams | Add a member to teams
*AccountMembersApi* | [**post_members**](docs/AccountMembersApi.md#post_members) | **POST** /api/v2/members | Invite new members
*AccountUsageBetaApi* | [**get_evaluations_usage**](docs/AccountUsageBetaApi.md#get_evaluations_usage) | **GET** /api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey} | Get evaluations usage
*AccountUsageBetaApi* | [**get_events_usage**](docs/AccountUsageBetaApi.md#get_events_usage) | **GET** /api/v2/usage/events/{type} | Get events usage
Expand Down Expand Up @@ -696,7 +696,7 @@ Class | Method | HTTP request | Description
*TeamsBetaApi* | [**get_teams**](docs/TeamsBetaApi.md#get_teams) | **GET** /api/v2/teams | List teams
*TeamsBetaApi* | [**patch_team**](docs/TeamsBetaApi.md#patch_team) | **PATCH** /api/v2/teams/{teamKey} | Update team
*TeamsBetaApi* | [**post_team**](docs/TeamsBetaApi.md#post_team) | **POST** /api/v2/teams | Create team
*TeamsBetaApi* | [**post_team_members**](docs/TeamsBetaApi.md#post_team_members) | **POST** /api/v2/teams/{teamKey}/members | Add members to team
*TeamsBetaApi* | [**post_team_members**](docs/TeamsBetaApi.md#post_team_members) | **POST** /api/v2/teams/{teamKey}/members | Add multiple members to team
*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
*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
*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
Expand Down Expand Up @@ -762,7 +762,6 @@ Class | Method | HTTP request | Description
- [CustomWorkflowOutputRep](docs/CustomWorkflowOutputRep.md)
- [CustomWorkflowStageMeta](docs/CustomWorkflowStageMeta.md)
- [CustomWorkflowsListingOutputRep](docs/CustomWorkflowsListingOutputRep.md)
- [Decimal](docs/Decimal.md)
- [DefaultClientSideAvailabilityPost](docs/DefaultClientSideAvailabilityPost.md)
- [Defaults](docs/Defaults.md)
- [DependentFlag](docs/DependentFlag.md)
Expand All @@ -775,15 +774,16 @@ Class | Method | HTTP request | Description
- [EnvironmentPost](docs/EnvironmentPost.md)
- [EvaluationReason](docs/EvaluationReason.md)
- [ExecutionOutputRep](docs/ExecutionOutputRep.md)
- [Experiment](docs/Experiment.md)
- [ExperimentAllocationRep](docs/ExperimentAllocationRep.md)
- [ExperimentCollectionRep](docs/ExperimentCollectionRep.md)
- [ExperimentEnabledPeriodRep](docs/ExperimentEnabledPeriodRep.md)
- [ExperimentEnvironmentSettingRep](docs/ExperimentEnvironmentSettingRep.md)
- [ExperimentExpandableProperties](docs/ExperimentExpandableProperties.md)
- [ExperimentInfoRep](docs/ExperimentInfoRep.md)
- [ExperimentMetadataRep](docs/ExperimentMetadataRep.md)
- [ExperimentPatchInput](docs/ExperimentPatchInput.md)
- [ExperimentPost](docs/ExperimentPost.md)
- [ExperimentRep](docs/ExperimentRep.md)
- [ExperimentResults](docs/ExperimentResults.md)
- [ExperimentStatsRep](docs/ExperimentStatsRep.md)
- [ExperimentTimeSeriesSlice](docs/ExperimentTimeSeriesSlice.md)
Expand Down Expand Up @@ -849,6 +849,7 @@ Class | Method | HTTP request | Description
- [IterationRep](docs/IterationRep.md)
- [JSONPatch](docs/JSONPatch.md)
- [LastSeenMetadata](docs/LastSeenMetadata.md)
- [LegacyExperimentRep](docs/LegacyExperimentRep.md)
- [Link](docs/Link.md)
- [Member](docs/Member.md)
- [MemberDataRep](docs/MemberDataRep.md)
Expand All @@ -865,6 +866,7 @@ Class | Method | HTTP request | Description
- [MetricPost](docs/MetricPost.md)
- [MetricRep](docs/MetricRep.md)
- [MetricSeen](docs/MetricSeen.md)
- [MetricV2Rep](docs/MetricV2Rep.md)
- [MetricsInput](docs/MetricsInput.md)
- [ModelImport](docs/ModelImport.md)
- [Modification](docs/Modification.md)
Expand All @@ -873,7 +875,6 @@ Class | Method | HTTP request | Description
- [NewMemberForm](docs/NewMemberForm.md)
- [NewMemberFormListPost](docs/NewMemberFormListPost.md)
- [NotFoundErrorRep](docs/NotFoundErrorRep.md)
- [NullDecimal](docs/NullDecimal.md)
- [ParameterRep](docs/ParameterRep.md)
- [ParentResourceRep](docs/ParentResourceRep.md)
- [PatchFailedErrorRep](docs/PatchFailedErrorRep.md)
Expand Down Expand Up @@ -937,6 +938,7 @@ Class | Method | HTTP request | Description
- [StatementRep](docs/StatementRep.md)
- [StatisticCollectionRep](docs/StatisticCollectionRep.md)
- [StatisticRep](docs/StatisticRep.md)
- [StatisticsRep](docs/StatisticsRep.md)
- [StatisticsRoot](docs/StatisticsRoot.md)
- [StatusConflictErrorRep](docs/StatusConflictErrorRep.md)
- [SubjectDataRep](docs/SubjectDataRep.md)
Expand Down Expand Up @@ -966,6 +968,7 @@ Class | Method | HTTP request | Description
- [TriggerWorkflowCollectionRep](docs/TriggerWorkflowCollectionRep.md)
- [TriggerWorkflowRep](docs/TriggerWorkflowRep.md)
- [UnauthorizedErrorRep](docs/UnauthorizedErrorRep.md)
- [UrlMatchers](docs/UrlMatchers.md)
- [UrlPost](docs/UrlPost.md)
- [User](docs/User.md)
- [UserAttributeNamesRep](docs/UserAttributeNamesRep.md)
Expand All @@ -977,6 +980,7 @@ Class | Method | HTTP request | Description
- [UserSegmentRule](docs/UserSegmentRule.md)
- [UserSegments](docs/UserSegments.md)
- [Users](docs/Users.md)
- [UsersRep](docs/UsersRep.md)
- [ValuePut](docs/ValuePut.md)
- [Variation](docs/Variation.md)
- [VariationOrRolloutRep](docs/VariationOrRolloutRep.md)
Expand Down
10 changes: 5 additions & 5 deletions docs/AccountMembersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Method | HTTP request | Description
[**get_member**](AccountMembersApi.md#get_member) | **GET** /api/v2/members/{id} | Get account member
[**get_members**](AccountMembersApi.md#get_members) | **GET** /api/v2/members | List account members
[**patch_member**](AccountMembersApi.md#patch_member) | **PATCH** /api/v2/members/{id} | Modify an account member
[**post_member_teams**](AccountMembersApi.md#post_member_teams) | **POST** /api/v2/members/{id}/teams | Add member to teams
[**post_member_teams**](AccountMembersApi.md#post_member_teams) | **POST** /api/v2/members/{id}/teams | Add a member to teams
[**post_members**](AccountMembersApi.md#post_members) | **POST** /api/v2/members | Invite new members


Expand Down Expand Up @@ -103,7 +103,7 @@ void (empty response body)
Get account member

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

### Example

Expand Down Expand Up @@ -379,9 +379,9 @@ Name | Type | Description | Notes
# **post_member_teams**
> Member post_member_teams(id, member_teams_post_input)
Add member to teams
Add a member to teams

Add member to team(s)
Add one member to one or more teams.

### Example

Expand Down Expand Up @@ -429,7 +429,7 @@ with launchdarkly_api.ApiClient(configuration) as api_client:

# example passing only required values which don't have defaults set
try:
# Add member to teams
# Add a member to teams
api_response = api_instance.post_member_teams(id, member_teams_post_input)
pprint(api_response)
except launchdarkly_api.ApiException as e:
Expand Down
2 changes: 1 addition & 1 deletion docs/EnvironmentsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Name | Type | Description | Notes
Update environment

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.
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.

### Example

Expand Down
21 changes: 21 additions & 0 deletions docs/Experiment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Experiment


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**key** | **str** | |
**name** | **str** | |
**maintainer_id** | **str** | |
**creation_date** | **int** | |
**links** | [**{str: (Link,)}**](Link.md) | |
**id** | **str** | | [optional]
**description** | **str** | | [optional]
**current_iteration** | [**IterationRep**](IterationRep.md) | | [optional]
**draft_iteration** | [**IterationRep**](IterationRep.md) | | [optional]
**previous_iterations** | [**[IterationRep]**](IterationRep.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading

0 comments on commit feb53c5

Please sign in to comment.