Skip to content

Commit 7e41e3b

Browse files
author
LaunchDarklyCI
committed
Version 3.7.1 automatically generated from ld-openapi@3770ec6.
1 parent 8e787bd commit 7e41e3b

File tree

255 files changed

+292
-282
lines changed

Some content is hidden

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

255 files changed

+292
-282
lines changed

README.md

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

@@ -113,7 +113,7 @@ Class | Method | HTTP request | Description
113113
*EnvironmentsApi* | [**get_environment**](docs/EnvironmentsApi.md#get_environment) | **GET** /projects/{projectKey}/environments/{environmentKey} | Get an environment given a project and key.
114114
*EnvironmentsApi* | [**patch_environment**](docs/EnvironmentsApi.md#patch_environment) | **PATCH** /projects/{projectKey}/environments/{environmentKey} | Modify an environment by ID.
115115
*EnvironmentsApi* | [**post_environment**](docs/EnvironmentsApi.md#post_environment) | **POST** /projects/{projectKey}/environments | Create a new environment in a specified project with a given name, key, and swatch color.
116-
*EnvironmentsApi* | [**reset_environment_mobile_key**](docs/EnvironmentsApi.md#reset_environment_mobile_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/mobileKey | Reset an environment's mobile key with an optional expiry time for the old key.
116+
*EnvironmentsApi* | [**reset_environment_mobile_key**](docs/EnvironmentsApi.md#reset_environment_mobile_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/mobileKey | Reset an environment's mobile key. The optional expiry for the old key is deprecated for this endpoint, so the old key will always expire immediately.
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.

docs/EnvironmentsApi.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Method | HTTP request | Description
88
[**get_environment**](EnvironmentsApi.md#get_environment) | **GET** /projects/{projectKey}/environments/{environmentKey} | Get an environment given a project and key.
99
[**patch_environment**](EnvironmentsApi.md#patch_environment) | **PATCH** /projects/{projectKey}/environments/{environmentKey} | Modify an environment by ID.
1010
[**post_environment**](EnvironmentsApi.md#post_environment) | **POST** /projects/{projectKey}/environments | Create a new environment in a specified project with a given name, key, and swatch color.
11-
[**reset_environment_mobile_key**](EnvironmentsApi.md#reset_environment_mobile_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/mobileKey | Reset an environment's mobile key with an optional expiry time for the old key.
11+
[**reset_environment_mobile_key**](EnvironmentsApi.md#reset_environment_mobile_key) | **POST** /projects/{projectKey}/environments/{environmentKey}/mobileKey | Reset an environment's mobile key. The optional expiry for the old key is deprecated for this endpoint, so the old key will always expire immediately.
1212
[**reset_environment_sdk_key**](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.
1313

1414

@@ -232,7 +232,7 @@ Name | Type | Description | Notes
232232
# **reset_environment_mobile_key**
233233
> Environment reset_environment_mobile_key(project_key, environment_key, expiry=expiry)
234234
235-
Reset an environment's mobile key with an optional expiry time for the old key.
235+
Reset an environment's mobile key. The optional expiry for the old key is deprecated for this endpoint, so the old key will always expire immediately.
236236

237237
### Example
238238
```python
@@ -252,10 +252,10 @@ configuration.api_key['Authorization'] = 'YOUR_API_KEY'
252252
api_instance = launchdarkly_api.EnvironmentsApi(launchdarkly_api.ApiClient(configuration))
253253
project_key = 'project_key_example' # str | The project key, used to tie the flags together under one project so they can be managed together.
254254
environment_key = 'environment_key_example' # str | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
255-
expiry = 789 # int | An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately (optional)
255+
expiry = 789 # int | The expiry parameter is deprecated for this endpoint, so the old mobile key will always expire immediately. This parameter will be removed in an upcoming major API client version. (optional)
256256

257257
try:
258-
# Reset an environment's mobile key with an optional expiry time for the old key.
258+
# Reset an environment's mobile key. The optional expiry for the old key is deprecated for this endpoint, so the old key will always expire immediately.
259259
api_response = api_instance.reset_environment_mobile_key(project_key, environment_key, expiry=expiry)
260260
pprint(api_response)
261261
except ApiException as e:
@@ -268,7 +268,7 @@ Name | Type | Description | Notes
268268
------------- | ------------- | ------------- | -------------
269269
**project_key** | **str**| The project key, used to tie the flags together under one project so they can be managed together. |
270270
**environment_key** | **str**| The environment key, used to tie together flag configuration and users under one environment so they can be managed together. |
271-
**expiry** | **int**| An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately | [optional]
271+
**expiry** | **int**| The expiry parameter is deprecated for this endpoint, so the old mobile key will always expire immediately. This parameter will be removed in an upcoming major API client version. | [optional]
272272

273273
### Return type
274274

@@ -308,7 +308,7 @@ configuration.api_key['Authorization'] = 'YOUR_API_KEY'
308308
api_instance = launchdarkly_api.EnvironmentsApi(launchdarkly_api.ApiClient(configuration))
309309
project_key = 'project_key_example' # str | The project key, used to tie the flags together under one project so they can be managed together.
310310
environment_key = 'environment_key_example' # str | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
311-
expiry = 789 # int | An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately (optional)
311+
expiry = 789 # int | An expiration time for the old environment SDK key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately. (optional)
312312

313313
try:
314314
# Reset an environment's SDK key with an optional expiry time for the old key.
@@ -324,7 +324,7 @@ Name | Type | Description | Notes
324324
------------- | ------------- | ------------- | -------------
325325
**project_key** | **str**| The project key, used to tie the flags together under one project so they can be managed together. |
326326
**environment_key** | **str**| The environment key, used to tie together flag configuration and users under one environment so they can be managed together. |
327-
**expiry** | **int**| An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately | [optional]
327+
**expiry** | **int**| An expiration time for the old environment SDK key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately. | [optional]
328328

329329
### Return type
330330

launchdarkly_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
Build custom integrations with the LaunchDarkly REST API # noqa: E501
99
10-
OpenAPI spec version: 3.7.0
10+
OpenAPI spec version: 3.7.1
1111
1212
Generated by: https://github.com/swagger-api/swagger-codegen.git
1313
"""

launchdarkly_api/api/access_tokens_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Build custom integrations with the LaunchDarkly REST API # noqa: E501
77
8-
OpenAPI spec version: 3.7.0
8+
OpenAPI spec version: 3.7.1
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""

launchdarkly_api/api/audit_log_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Build custom integrations with the LaunchDarkly REST API # noqa: E501
77
8-
OpenAPI spec version: 3.7.0
8+
OpenAPI spec version: 3.7.1
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""

launchdarkly_api/api/custom_roles_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Build custom integrations with the LaunchDarkly REST API # noqa: E501
77
8-
OpenAPI spec version: 3.7.0
8+
OpenAPI spec version: 3.7.1
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""

launchdarkly_api/api/customer_metrics_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Build custom integrations with the LaunchDarkly REST API # noqa: E501
77
8-
OpenAPI spec version: 3.7.0
8+
OpenAPI spec version: 3.7.1
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""

launchdarkly_api/api/data_export_destinations_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Build custom integrations with the LaunchDarkly REST API # noqa: E501
77
8-
OpenAPI spec version: 3.7.0
8+
OpenAPI spec version: 3.7.1
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""

launchdarkly_api/api/environments_api.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Build custom integrations with the LaunchDarkly REST API # noqa: E501
77
8-
OpenAPI spec version: 3.7.0
8+
OpenAPI spec version: 3.7.1
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""
@@ -462,7 +462,7 @@ def post_environment_with_http_info(self, project_key, environment_body, **kwarg
462462
collection_formats=collection_formats)
463463

464464
def reset_environment_mobile_key(self, project_key, environment_key, **kwargs): # noqa: E501
465-
"""Reset an environment's mobile key with an optional expiry time for the old key. # noqa: E501
465+
"""Reset an environment's mobile key. The optional expiry for the old key is deprecated for this endpoint, so the old key will always expire immediately. # noqa: E501
466466
467467
This method makes a synchronous HTTP request by default. To make an
468468
asynchronous HTTP request, please pass async_req=True
@@ -472,7 +472,7 @@ def reset_environment_mobile_key(self, project_key, environment_key, **kwargs):
472472
:param async_req bool
473473
:param str project_key: The project key, used to tie the flags together under one project so they can be managed together. (required)
474474
:param str environment_key: The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)
475-
:param int expiry: An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately
475+
:param int expiry: The expiry parameter is deprecated for this endpoint, so the old mobile key will always expire immediately. This parameter will be removed in an upcoming major API client version.
476476
:return: Environment
477477
If the method is called asynchronously,
478478
returns the request thread.
@@ -485,7 +485,7 @@ def reset_environment_mobile_key(self, project_key, environment_key, **kwargs):
485485
return data
486486

487487
def reset_environment_mobile_key_with_http_info(self, project_key, environment_key, **kwargs): # noqa: E501
488-
"""Reset an environment's mobile key with an optional expiry time for the old key. # noqa: E501
488+
"""Reset an environment's mobile key. The optional expiry for the old key is deprecated for this endpoint, so the old key will always expire immediately. # noqa: E501
489489
490490
This method makes a synchronous HTTP request by default. To make an
491491
asynchronous HTTP request, please pass async_req=True
@@ -495,7 +495,7 @@ def reset_environment_mobile_key_with_http_info(self, project_key, environment_k
495495
:param async_req bool
496496
:param str project_key: The project key, used to tie the flags together under one project so they can be managed together. (required)
497497
:param str environment_key: The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)
498-
:param int expiry: An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately
498+
:param int expiry: The expiry parameter is deprecated for this endpoint, so the old mobile key will always expire immediately. This parameter will be removed in an upcoming major API client version.
499499
:return: Environment
500500
If the method is called asynchronously,
501501
returns the request thread.
@@ -581,7 +581,7 @@ def reset_environment_sdk_key(self, project_key, environment_key, **kwargs): #
581581
:param async_req bool
582582
:param str project_key: The project key, used to tie the flags together under one project so they can be managed together. (required)
583583
:param str environment_key: The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)
584-
:param int expiry: An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately
584+
:param int expiry: An expiration time for the old environment SDK key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately.
585585
:return: Environment
586586
If the method is called asynchronously,
587587
returns the request thread.
@@ -604,7 +604,7 @@ def reset_environment_sdk_key_with_http_info(self, project_key, environment_key,
604604
:param async_req bool
605605
:param str project_key: The project key, used to tie the flags together under one project so they can be managed together. (required)
606606
:param str environment_key: The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)
607-
:param int expiry: An expiration time for the old environment SDK or mobile key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately
607+
:param int expiry: An expiration time for the old environment SDK key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately.
608608
:return: Environment
609609
If the method is called asynchronously,
610610
returns the request thread.

launchdarkly_api/api/feature_flags_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Build custom integrations with the LaunchDarkly REST API # noqa: E501
77
8-
OpenAPI spec version: 3.7.0
8+
OpenAPI spec version: 3.7.1
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""

0 commit comments

Comments
 (0)