Skip to content

Commit 9bb69aa

Browse files
author
LaunchDarklyCI
committed
Version 3.6.0 automatically generated from ld-openapi@9eae9ab.
1 parent 999da9f commit 9bb69aa

File tree

273 files changed

+4315
-260
lines changed

Some content is hidden

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

273 files changed

+4315
-260
lines changed

README.md

Lines changed: 22 additions & 4 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.5.0
12-
- Package version: 3.5.0
11+
- API version: 3.6.0
12+
- Package version: 3.6.0
1313
- Build package: io.swagger.codegen.languages.PythonClientCodegen
1414
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
1515

@@ -84,7 +84,7 @@ Class | Method | HTTP request | Description
8484
*AccessTokensApi* | [**delete_token**](docs/AccessTokensApi.md#delete_token) | **DELETE** /tokens/{tokenId} | Delete an access token by ID.
8585
*AccessTokensApi* | [**get_token**](docs/AccessTokensApi.md#get_token) | **GET** /tokens/{tokenId} | Get a single access token by ID.
8686
*AccessTokensApi* | [**get_tokens**](docs/AccessTokensApi.md#get_tokens) | **GET** /tokens | Returns a list of tokens in the account.
87-
*AccessTokensApi* | [**patch_token**](docs/AccessTokensApi.md#patch_token) | **PATCH** /tokens/{tokenId} | Modify an access tokenby ID.
87+
*AccessTokensApi* | [**patch_token**](docs/AccessTokensApi.md#patch_token) | **PATCH** /tokens/{tokenId} | Modify an access token by ID.
8888
*AccessTokensApi* | [**post_token**](docs/AccessTokensApi.md#post_token) | **POST** /tokens | Create a new token.
8989
*AccessTokensApi* | [**reset_token**](docs/AccessTokensApi.md#reset_token) | **POST** /tokens/{tokenId}/reset | Reset an access token's secret key with an optional expiry time for the old key.
9090
*AuditLogApi* | [**get_audit_log_entries**](docs/AuditLogApi.md#get_audit_log_entries) | **GET** /auditlog | Get a list of all audit log entries. The query parameters allow you to restrict the returned results by date ranges, resource specifiers, or a full-text search query.
@@ -129,6 +129,12 @@ Class | Method | HTTP request | Description
129129
*ProjectsApi* | [**get_projects**](docs/ProjectsApi.md#get_projects) | **GET** /projects | Returns a list of all projects in the account.
130130
*ProjectsApi* | [**patch_project**](docs/ProjectsApi.md#patch_project) | **PATCH** /projects/{projectKey} | Modify a project by ID.
131131
*ProjectsApi* | [**post_project**](docs/ProjectsApi.md#post_project) | **POST** /projects | Create a new project with the given key and name.
132+
*RelayProxyConfigurationsApi* | [**delete_relay_proxy_config**](docs/RelayProxyConfigurationsApi.md#delete_relay_proxy_config) | **DELETE** /account/relay-auto-configs/{id} | Delete a relay proxy configuration by ID.
133+
*RelayProxyConfigurationsApi* | [**get_relay_proxy_config**](docs/RelayProxyConfigurationsApi.md#get_relay_proxy_config) | **GET** /account/relay-auto-configs/{id} | Get a single relay proxy configuration by ID.
134+
*RelayProxyConfigurationsApi* | [**get_relay_proxy_configs**](docs/RelayProxyConfigurationsApi.md#get_relay_proxy_configs) | **GET** /account/relay-auto-configs | Returns a list of relay proxy configurations in the account.
135+
*RelayProxyConfigurationsApi* | [**patch_relay_proxy_config**](docs/RelayProxyConfigurationsApi.md#patch_relay_proxy_config) | **PATCH** /account/relay-auto-configs/{id} | Modify a relay proxy configuration by ID.
136+
*RelayProxyConfigurationsApi* | [**post_relay_auto_config**](docs/RelayProxyConfigurationsApi.md#post_relay_auto_config) | **POST** /account/relay-auto-configs | Create a new relay proxy config.
137+
*RelayProxyConfigurationsApi* | [**reset_relay_proxy_config**](docs/RelayProxyConfigurationsApi.md#reset_relay_proxy_config) | **POST** /account/relay-auto-configs/{id}/reset | Reset a relay proxy configuration's secret key with an optional expiry time for the old key.
132138
*RootApi* | [**get_root**](docs/RootApi.md#get_root) | **GET** / |
133139
*TeamMembersApi* | [**delete_member**](docs/TeamMembersApi.md#delete_member) | **DELETE** /members/{memberId} | Delete a team member by ID.
134140
*TeamMembersApi* | [**get_me**](docs/TeamMembersApi.md#get_me) | **GET** /members/me | Get the current team member associated with the token
@@ -143,6 +149,7 @@ Class | Method | HTTP request | Description
143149
*UserSegmentsApi* | [**patch_expiring_user_targets_on_segment**](docs/UserSegmentsApi.md#patch_expiring_user_targets_on_segment) | **PATCH** /segments/{projectKey}/{userSegmentKey}/expiring-user-targets/{environmentKey} | Update, add, or delete expiring user targets on user segment
144150
*UserSegmentsApi* | [**patch_user_segment**](docs/UserSegmentsApi.md#patch_user_segment) | **PATCH** /segments/{projectKey}/{environmentKey}/{userSegmentKey} | Perform a partial update to a user segment.
145151
*UserSegmentsApi* | [**post_user_segment**](docs/UserSegmentsApi.md#post_user_segment) | **POST** /segments/{projectKey}/{environmentKey} | Creates a new user segment.
152+
*UserSegmentsApi* | [**updated_unbounded_segment_targets**](docs/UserSegmentsApi.md#updated_unbounded_segment_targets) | **POST** /segments/{projectKey}/{environmentKey}/{userSegmentKey}/unbounded-users | Update targets included or excluded in an unbounded segment
146153
*UserSettingsApi* | [**get_expiring_user_targets_for_user**](docs/UserSettingsApi.md#get_expiring_user_targets_for_user) | **GET** /users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey} | Get expiring dates on flags for user
147154
*UserSettingsApi* | [**get_user_flag_setting**](docs/UserSettingsApi.md#get_user_flag_setting) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey} | Fetch a single flag setting for a user by key.
148155
*UserSettingsApi* | [**get_user_flag_settings**](docs/UserSettingsApi.md#get_user_flag_settings) | **GET** /users/{projectKey}/{environmentKey}/{userKey}/flags | Fetch a single flag setting for a user by key.
@@ -190,6 +197,10 @@ Class | Method | HTTP request | Description
190197
- [FeatureFlagConfig](docs/FeatureFlagConfig.md)
191198
- [FeatureFlagCopyBody](docs/FeatureFlagCopyBody.md)
192199
- [FeatureFlagCopyObject](docs/FeatureFlagCopyObject.md)
200+
- [FeatureFlagScheduledChange](docs/FeatureFlagScheduledChange.md)
201+
- [FeatureFlagScheduledChanges](docs/FeatureFlagScheduledChanges.md)
202+
- [FeatureFlagScheduledChangesConflicts](docs/FeatureFlagScheduledChangesConflicts.md)
203+
- [FeatureFlagScheduledChangesConflictsInstructions](docs/FeatureFlagScheduledChangesConflictsInstructions.md)
193204
- [FeatureFlagStatus](docs/FeatureFlagStatus.md)
194205
- [FeatureFlagStatusAcrossEnvironments](docs/FeatureFlagStatusAcrossEnvironments.md)
195206
- [FeatureFlagStatusForQueriedEnvironment](docs/FeatureFlagStatusForQueriedEnvironment.md)
@@ -212,11 +223,16 @@ Class | Method | HTTP request | Description
212223
- [Project](docs/Project.md)
213224
- [ProjectBody](docs/ProjectBody.md)
214225
- [Projects](docs/Projects.md)
226+
- [RelayProxyConfig](docs/RelayProxyConfig.md)
227+
- [RelayProxyConfigBody](docs/RelayProxyConfigBody.md)
228+
- [RelayProxyConfigs](docs/RelayProxyConfigs.md)
215229
- [Role](docs/Role.md)
216230
- [Rollout](docs/Rollout.md)
217231
- [Rule](docs/Rule.md)
232+
- [ScheduledChangesFeatureFlagConflict](docs/ScheduledChangesFeatureFlagConflict.md)
233+
- [SemanticPatchInstruction](docs/SemanticPatchInstruction.md)
234+
- [SemanticPatchInstructionInner](docs/SemanticPatchInstructionInner.md)
218235
- [SemanticPatchOperation](docs/SemanticPatchOperation.md)
219-
- [SemanticPatchOperationInstructions](docs/SemanticPatchOperationInstructions.md)
220236
- [Site](docs/Site.md)
221237
- [Statement](docs/Statement.md)
222238
- [Stream](docs/Stream.md)
@@ -235,6 +251,8 @@ Class | Method | HTTP request | Description
235251
- [Token](docs/Token.md)
236252
- [TokenBody](docs/TokenBody.md)
237253
- [Tokens](docs/Tokens.md)
254+
- [UnboundedSegmentTargetChanges](docs/UnboundedSegmentTargetChanges.md)
255+
- [UnboundedSegmentTargetsBody](docs/UnboundedSegmentTargetsBody.md)
238256
- [Usage](docs/Usage.md)
239257
- [UsageError](docs/UsageError.md)
240258
- [UsageLinks](docs/UsageLinks.md)

docs/AccessTokensApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Method | HTTP request | Description
77
[**delete_token**](AccessTokensApi.md#delete_token) | **DELETE** /tokens/{tokenId} | Delete an access token by ID.
88
[**get_token**](AccessTokensApi.md#get_token) | **GET** /tokens/{tokenId} | Get a single access token by ID.
99
[**get_tokens**](AccessTokensApi.md#get_tokens) | **GET** /tokens | Returns a list of tokens in the account.
10-
[**patch_token**](AccessTokensApi.md#patch_token) | **PATCH** /tokens/{tokenId} | Modify an access tokenby ID.
10+
[**patch_token**](AccessTokensApi.md#patch_token) | **PATCH** /tokens/{tokenId} | Modify an access token by ID.
1111
[**post_token**](AccessTokensApi.md#post_token) | **POST** /tokens | Create a new token.
1212
[**reset_token**](AccessTokensApi.md#reset_token) | **POST** /tokens/{tokenId}/reset | Reset an access token's secret key with an optional expiry time for the old key.
1313

@@ -170,7 +170,7 @@ Name | Type | Description | Notes
170170
# **patch_token**
171171
> Token patch_token(token_id, patch_delta)
172172
173-
Modify an access tokenby ID.
173+
Modify an access token by ID.
174174

175175
### Example
176176
```python
@@ -192,7 +192,7 @@ token_id = 'token_id_example' # str | The access token ID.
192192
patch_delta = [launchdarkly_api.PatchOperation()] # list[PatchOperation] | Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/'
193193

194194
try:
195-
# Modify an access tokenby ID.
195+
# Modify an access token by ID.
196196
api_response = api_instance.patch_token(token_id, patch_delta)
197197
pprint(api_response)
198198
except ApiException as e:

docs/FeatureFlagScheduledChange.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# FeatureFlagScheduledChange
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**execution_date** | **int** | A unix epoch time in milliseconds specifying the date the scheduled changes will be applied | [optional]
7+
**version** | **int** | | [optional]
8+
**id** | **str** | | [optional]
9+
**instructions** | [**SemanticPatchInstruction**](SemanticPatchInstruction.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+
# FeatureFlagScheduledChanges
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**links** | [**Links**](Links.md) | | [optional]
7+
**items** | [**list[FeatureFlagScheduledChange]**](FeatureFlagScheduledChange.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+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# FeatureFlagScheduledChangesConflicts
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**instructions** | [**list[FeatureFlagScheduledChangesConflictsInstructions]**](FeatureFlagScheduledChangesConflictsInstructions.md) | | [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: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# FeatureFlagScheduledChangesConflictsInstructions
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**kind** | **str** | The name of the modification you would like to perform on a resource. | [optional]
7+
**conflicts** | [**list[ScheduledChangesFeatureFlagConflict]**](ScheduledChangesFeatureFlagConflict.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+

docs/RelayProxyConfig.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# RelayProxyConfig
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**id** | [**Id**](Id.md) | |
7+
**creator** | [**Member**](Member.md) | |
8+
**name** | **str** | A human-friendly name for the relay proxy configuration |
9+
**policy** | [**list[Policy]**](Policy.md) | |
10+
**full_key** | **str** | Full secret key. Only included if creating or resetting the relay proxy configuration | [optional]
11+
**display_key** | **str** | The last 4 digits of the unique secret key for this relay proxy configuration |
12+
**creation_date** | **int** | A unix epoch time in milliseconds specifying the creation time of this relay proxy configuration |
13+
**last_modified** | **int** | A unix epoch time in milliseconds specifying the last time this relay proxy configuration was modified |
14+
15+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16+
17+

docs/RelayProxyConfigBody.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# RelayProxyConfigBody
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**name** | **str** | A human-friendly name for the relay proxy configuration | [optional]
7+
**policy** | [**list[Policy]**](Policy.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+

docs/RelayProxyConfigs.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# RelayProxyConfigs
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**items** | [**list[RelayProxyConfig]**](RelayProxyConfig.md) | | [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+

0 commit comments

Comments
 (0)