Skip to content

Commit 15a2ed4

Browse files
author
LaunchDarklyCI
committed
Version 4.0.0 automatically generated from ld-openapi@51a8b42.
1 parent 4fbb1d3 commit 15a2ed4

File tree

296 files changed

+2813
-565
lines changed

Some content is hidden

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

296 files changed

+2813
-565
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Build custom integrations with the LaunchDarkly REST API
88

99
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
1010

11-
- API version: 3.10.0
12-
- Package version: 3.10.0
11+
- API version: 4.0.0
12+
- Package version: 4.0.0
1313
- Build package: io.swagger.codegen.languages.PythonClientCodegen
1414
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
1515

@@ -117,20 +117,21 @@ Class | Method | HTTP request | Description
117117
*EnvironmentsApi* | [**reset_environment_sdk_key**](docs/EnvironmentsApi.md#reset_environment_sdk_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/apiKey | Reset an environment's SDK key with an optional expiry time for the old key.
118118
*FeatureFlagsApi* | [**copy_feature_flag**](docs/FeatureFlagsApi.md#copy_feature_flag) | **POST** /flags/{projectKey}/{featureFlagKey}/copy | Copies the feature flag configuration from one environment to the same feature flag in another environment.
119119
*FeatureFlagsApi* | [**delete_feature_flag**](docs/FeatureFlagsApi.md#delete_feature_flag) | **DELETE** /flags/{projectKey}/{featureFlagKey} | Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.
120+
*FeatureFlagsApi* | [**delete_feature_flag_approval_request**](docs/FeatureFlagsApi.md#delete_feature_flag_approval_request) | **DELETE** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{featureFlagApprovalRequestId} | Delete an approval request for a feature flag
120121
*FeatureFlagsApi* | [**get_expiring_user_targets**](docs/FeatureFlagsApi.md#get_expiring_user_targets) | **GET** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Get expiring user targets for feature flag
121122
*FeatureFlagsApi* | [**get_feature_flag**](docs/FeatureFlagsApi.md#get_feature_flag) | **GET** /flags/{projectKey}/{featureFlagKey} | Get a single feature flag by key.
122-
*FeatureFlagsApi* | [**get_feature_flag_change_request**](docs/FeatureFlagsApi.md#get_feature_flag_change_request) | **GET** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{featureFlagChangeRequestId} | Get a single change request for a feature flag
123-
*FeatureFlagsApi* | [**get_feature_flag_change_requests**](docs/FeatureFlagsApi.md#get_feature_flag_change_requests) | **GET** /{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests | Get all change requests for a feature flag
123+
*FeatureFlagsApi* | [**get_feature_flag_approval_request**](docs/FeatureFlagsApi.md#get_feature_flag_approval_request) | **GET** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{featureFlagApprovalRequestId} | Get a single approval request for a feature flag
124+
*FeatureFlagsApi* | [**get_feature_flag_approval_requests**](docs/FeatureFlagsApi.md#get_feature_flag_approval_requests) | **GET** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests | Get all approval requests for a feature flag
124125
*FeatureFlagsApi* | [**get_feature_flag_status**](docs/FeatureFlagsApi.md#get_feature_flag_status) | **GET** /flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} | Get the status for a particular feature flag.
125126
*FeatureFlagsApi* | [**get_feature_flag_status_across_environments**](docs/FeatureFlagsApi.md#get_feature_flag_status_across_environments) | **GET** /flag-status/{projectKey}/{featureFlagKey} | Get the status for a particular feature flag across environments
126127
*FeatureFlagsApi* | [**get_feature_flag_statuses**](docs/FeatureFlagsApi.md#get_feature_flag_statuses) | **GET** /flag-statuses/{projectKey}/{environmentKey} | Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.
127128
*FeatureFlagsApi* | [**get_feature_flags**](docs/FeatureFlagsApi.md#get_feature_flags) | **GET** /flags/{projectKey} | Get a list of all features in the given project.
128129
*FeatureFlagsApi* | [**patch_expiring_user_targets**](docs/FeatureFlagsApi.md#patch_expiring_user_targets) | **PATCH** /flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets on feature flag
129130
*FeatureFlagsApi* | [**patch_feature_flag**](docs/FeatureFlagsApi.md#patch_feature_flag) | **PATCH** /flags/{projectKey}/{featureFlagKey} | Perform a partial update to a feature.
130-
*FeatureFlagsApi* | [**post_apply_feature_flag_change_request**](docs/FeatureFlagsApi.md#post_apply_feature_flag_change_request) | **POST** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{featureFlagChangeRequestId}/apply | Apply change request for a feature flag
131+
*FeatureFlagsApi* | [**post_apply_feature_flag_approval_request**](docs/FeatureFlagsApi.md#post_apply_feature_flag_approval_request) | **POST** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{featureFlagApprovalRequestId}/apply | Apply approval request for a feature flag
131132
*FeatureFlagsApi* | [**post_feature_flag**](docs/FeatureFlagsApi.md#post_feature_flag) | **POST** /flags/{projectKey} | Creates a new feature flag.
132-
*FeatureFlagsApi* | [**post_feature_flag_change_request**](docs/FeatureFlagsApi.md#post_feature_flag_change_request) | **POST** /{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests |
133-
*FeatureFlagsApi* | [**post_review_feature_flag_change_request**](docs/FeatureFlagsApi.md#post_review_feature_flag_change_request) | **POST** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{featureFlagChangeRequestId}/review | Review change request for a feature flag
133+
*FeatureFlagsApi* | [**post_feature_flag_approval_request**](docs/FeatureFlagsApi.md#post_feature_flag_approval_request) | **POST** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{featureFlagApprovalRequestId} | Create an approval request for a feature flag
134+
*FeatureFlagsApi* | [**post_review_feature_flag_approval_request**](docs/FeatureFlagsApi.md#post_review_feature_flag_approval_request) | **POST** /projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{featureFlagApprovalRequestId}/review | Review approval request for a feature flag
134135
*IntegrationsApi* | [**delete_integration_subscription**](docs/IntegrationsApi.md#delete_integration_subscription) | **DELETE** /integrations/{integrationKey}/{integrationId} | Delete an integration subscription by ID.
135136
*IntegrationsApi* | [**get_integration_subscription**](docs/IntegrationsApi.md#get_integration_subscription) | **GET** /integrations/{integrationKey}/{integrationId} | Get a single integration subscription by ID.
136137
*IntegrationsApi* | [**get_integration_subscriptions**](docs/IntegrationsApi.md#get_integration_subscriptions) | **GET** /integrations/{integrationKey} | Get a list of all configured integrations of a given kind.
@@ -201,19 +202,20 @@ Class | Method | HTTP request | Description
201202
- [DestinationSegment](docs/DestinationSegment.md)
202203
- [Destinations](docs/Destinations.md)
203204
- [Environment](docs/Environment.md)
205+
- [EnvironmentApprovalSettings](docs/EnvironmentApprovalSettings.md)
204206
- [EnvironmentPost](docs/EnvironmentPost.md)
205207
- [EvaluationUsageError](docs/EvaluationUsageError.md)
206208
- [Events](docs/Events.md)
207209
- [Fallthrough](docs/Fallthrough.md)
208210
- [FeatureFlag](docs/FeatureFlag.md)
211+
- [FeatureFlagApprovalRequest](docs/FeatureFlagApprovalRequest.md)
212+
- [FeatureFlagApprovalRequestApplyConfigBody](docs/FeatureFlagApprovalRequestApplyConfigBody.md)
213+
- [FeatureFlagApprovalRequestConfigBody](docs/FeatureFlagApprovalRequestConfigBody.md)
214+
- [FeatureFlagApprovalRequestReview](docs/FeatureFlagApprovalRequestReview.md)
215+
- [FeatureFlagApprovalRequestReviewConfigBody](docs/FeatureFlagApprovalRequestReviewConfigBody.md)
216+
- [FeatureFlagApprovalRequestReviewStatus](docs/FeatureFlagApprovalRequestReviewStatus.md)
217+
- [FeatureFlagApprovalRequests](docs/FeatureFlagApprovalRequests.md)
209218
- [FeatureFlagBody](docs/FeatureFlagBody.md)
210-
- [FeatureFlagChangeRequest](docs/FeatureFlagChangeRequest.md)
211-
- [FeatureFlagChangeRequestApplyConfigBody](docs/FeatureFlagChangeRequestApplyConfigBody.md)
212-
- [FeatureFlagChangeRequestConfigBody](docs/FeatureFlagChangeRequestConfigBody.md)
213-
- [FeatureFlagChangeRequestReview](docs/FeatureFlagChangeRequestReview.md)
214-
- [FeatureFlagChangeRequestReviewConfigBody](docs/FeatureFlagChangeRequestReviewConfigBody.md)
215-
- [FeatureFlagChangeRequestReviewStatus](docs/FeatureFlagChangeRequestReviewStatus.md)
216-
- [FeatureFlagChangeRequests](docs/FeatureFlagChangeRequests.md)
217219
- [FeatureFlagConfig](docs/FeatureFlagConfig.md)
218220
- [FeatureFlagCopyBody](docs/FeatureFlagCopyBody.md)
219221
- [FeatureFlagCopyObject](docs/FeatureFlagCopyObject.md)

docs/Environment.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
1616
**tags** | **list[str]** | An array of tags for this environment. | [optional]
1717
**require_comments** | **bool** | Determines if this environment requires comments for flag and segment changes. | [optional]
1818
**confirm_changes** | **bool** | Determines if this environment requires confirmation for flag and segment changes. | [optional]
19+
**approval_settings** | [**EnvironmentApprovalSettings**](EnvironmentApprovalSettings.md) | | [optional]
1920

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

docs/EnvironmentApprovalSettings.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# EnvironmentApprovalSettings
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**service_kind** | **str** | The approvals system used. | [optional]
7+
**required** | **bool** | Whether any changes to flags in this environment will require approval. | [optional]
8+
**can_review_own_request** | **bool** | Whether requesters can approve or decline their own request. They may always comment. | [optional]
9+
**min_num_approvals** | **int** | The number of approvals required before an approval request can be applied. | [optional]
10+
**can_apply_declined_changes** | **bool** | Whether changes can be applied as long as minNumApprovals is met, regardless of if any reviewers have declined a request. | [optional]
11+
12+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13+
14+

docs/FeatureFlagApprovalRequest.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# FeatureFlagApprovalRequest
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**id** | [**Id**](Id.md) | | [optional]
7+
**version** | **int** | | [optional]
8+
**creation_date** | **int** | A unix epoch time in milliseconds specifying the date the approval request was requested | [optional]
9+
**requestor_id** | **str** | The id of the member that requested the change | [optional]
10+
**review_status** | [**FeatureFlagApprovalRequestReviewStatus**](FeatureFlagApprovalRequestReviewStatus.md) | | [optional]
11+
**status** | **str** | | Name | Description | | --------:| ----------- | | pending | the feature flag approval request has not been applied yet | | completed| the feature flag approval request has been applied successfully | | failed | the feature flag approval request has been applied but the changes were not applied successfully | | [optional]
12+
**applied_by_member_id** | **str** | The id of the member that applied the approval request | [optional]
13+
**applied_date** | **int** | A unix epoch time in milliseconds specifying the date the approval request was applied | [optional]
14+
**all_reviews** | [**list[FeatureFlagApprovalRequestReview]**](FeatureFlagApprovalRequestReview.md) | | [optional]
15+
**notify_member_ids** | **list[str]** | | [optional]
16+
**instructions** | [**SemanticPatchInstruction**](SemanticPatchInstruction.md) | | [optional]
17+
18+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
19+
20+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# FeatureFlagApprovalRequestApplyConfigBody
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**comment** | **str** | comment will be included in audit log item for change. | [optional]
7+
8+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9+
10+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# FeatureFlagApprovalRequestConfigBody
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**description** | **str** | A name that describes the changes you would like to apply to a feature flag configuration |
7+
**instructions** | [**SemanticPatchInstruction**](SemanticPatchInstruction.md) | |
8+
**notify_member_ids** | **list[str]** | |
9+
**comment** | **str** | comment will be included in audit log item for change. | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# FeatureFlagApprovalRequestReview
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**creation_date** | **int** | A unix epoch time in milliseconds specifying the date the approval request was reviewed | [optional]
7+
**kind** | [**FeatureFlagApprovalRequestReviewStatus**](FeatureFlagApprovalRequestReviewStatus.md) | | [optional]
8+
**member_id** | [**Id**](Id.md) | | [optional]
9+
**id** | [**Id**](Id.md) | | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# FeatureFlagApprovalRequestReviewConfigBody
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**kind** | **str** | One of approve, decline, or comment. |
7+
**comment** | **str** | comment will be included in audit log item for change. | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# FeatureFlagApprovalRequestReviewStatus
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
8+
9+

docs/FeatureFlagApprovalRequests.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# FeatureFlagApprovalRequests
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**links** | [**Links**](Links.md) | | [optional]
7+
**items** | [**list[FeatureFlagApprovalRequest]**](FeatureFlagApprovalRequest.md) | | [optional]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

0 commit comments

Comments
 (0)