Skip to content

Commit 89b6ea3

Browse files
author
LaunchDarklyCI
committed
Version 3.7.1 automatically generated from ld-openapi@3770ec6.
1 parent b4a998a commit 89b6ea3

File tree

252 files changed

+595
-585
lines changed

Some content is hidden

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

252 files changed

+595
-585
lines changed

README.md

Lines changed: 195 additions & 195 deletions
Large diffs are not rendered by default.

docs/EnvironmentsApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Method | HTTP request | Description
88
[**getEnvironment**](EnvironmentsApi.md#getEnvironment) | **GET** /projects/{projectKey}/environments/{environmentKey} | Get an environment given a project and key.
99
[**patchEnvironment**](EnvironmentsApi.md#patchEnvironment) | **PATCH** /projects/{projectKey}/environments/{environmentKey} | Modify an environment by ID.
1010
[**postEnvironment**](EnvironmentsApi.md#postEnvironment) | **POST** /projects/{projectKey}/environments | Create a new environment in a specified project with a given name, key, and swatch color.
11-
[**resetEnvironmentMobileKey**](EnvironmentsApi.md#resetEnvironmentMobileKey) | **POST** /projects/{projectKey}/environments/{environmentKey}/mobileKey | Reset an environment's mobile key with an optional expiry time for the old key.
11+
[**resetEnvironmentMobileKey**](EnvironmentsApi.md#resetEnvironmentMobileKey) | **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
[**resetEnvironmentSDKKey**](EnvironmentsApi.md#resetEnvironmentSDKKey) | **POST** /projects/{projectKey}/environments/{environmentKey}/apiKey | Reset an environment's SDK key with an optional expiry time for the old key.
1313

1414

@@ -235,7 +235,7 @@ Name | Type | Description | Notes
235235
# **resetEnvironmentMobileKey**
236236
> Environment resetEnvironmentMobileKey(projectKey, environmentKey, , opts)
237237
238-
Reset an environment's mobile key with an optional expiry time for the old key.
238+
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.
239239

240240
### Example
241241
```javascript
@@ -255,7 +255,7 @@ var projectKey = "projectKey_example"; // String | The project key, used to tie
255255
var environmentKey = "environmentKey_example"; // String | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
256256

257257
var opts = {
258-
'expiry': 789 // Number | 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
258+
'expiry': 789 // Number | 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.
259259
};
260260

261261
var callback = function(error, data, response) {
@@ -274,7 +274,7 @@ Name | Type | Description | Notes
274274
------------- | ------------- | ------------- | -------------
275275
**projectKey** | **String**| The project key, used to tie the flags together under one project so they can be managed together. |
276276
**environmentKey** | **String**| The environment key, used to tie together flag configuration and users under one environment so they can be managed together. |
277-
**expiry** | **Number**| 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]
277+
**expiry** | **Number**| 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]
278278

279279
### Return type
280280

@@ -313,7 +313,7 @@ var projectKey = "projectKey_example"; // String | The project key, used to tie
313313
var environmentKey = "environmentKey_example"; // String | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
314314

315315
var opts = {
316-
'expiry': 789 // Number | 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
316+
'expiry': 789 // Number | An expiration time for the old environment SDK key, expressed as a Unix epoch time in milliseconds. By default, the key will expire immediately.
317317
};
318318

319319
var callback = function(error, data, response) {
@@ -332,7 +332,7 @@ Name | Type | Description | Notes
332332
------------- | ------------- | ------------- | -------------
333333
**projectKey** | **String**| The project key, used to tie the flags together under one project so they can be managed together. |
334334
**environmentKey** | **String**| The environment key, used to tie together flag configuration and users under one environment so they can be managed together. |
335-
**expiry** | **Number**| 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]
335+
**expiry** | **Number**| 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]
336336

337337
### Return type
338338

openapi.yml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
license:
1111
name: Apache 2.0
1212
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
13-
version: 3.7.0
13+
version: 3.7.1
1414
host: app.launchdarkly.com
1515
basePath: /api/v2
1616
schemes:
@@ -188,7 +188,7 @@ paths:
188188
parameters:
189189
- $ref: '#/parameters/ProjectKey'
190190
- $ref: '#/parameters/EnvironmentKey'
191-
- $ref: '#/parameters/EnvironmentKeyExpiry'
191+
- $ref: '#/parameters/EnvironmentSDKKeyExpiry'
192192
responses:
193193
'200':
194194
$ref: '#/responses/Environment2xx'
@@ -201,13 +201,14 @@ paths:
201201
'/projects/{projectKey}/environments/{environmentKey}/mobileKey':
202202
post:
203203
summary: >-
204-
Reset an environment's mobile key with an optional expiry time for the
205-
old key.
204+
Reset an environment's mobile key. The optional expiry for the old key
205+
is deprecated for this endpoint, so the old key will always expire
206+
immediately.
206207
operationId: resetEnvironmentMobileKey
207208
parameters:
208209
- $ref: '#/parameters/ProjectKey'
209210
- $ref: '#/parameters/EnvironmentKey'
210-
- $ref: '#/parameters/EnvironmentKeyExpiry'
211+
- $ref: '#/parameters/EnvironmentMobileKeyExpiry'
211212
responses:
212213
'200':
213214
$ref: '#/responses/Environment2xx'
@@ -3511,16 +3512,25 @@ parameters:
35113512
items:
35123513
type: string
35133514
collectionFormat: multi
3514-
EnvironmentKeyExpiry:
3515+
EnvironmentSDKKeyExpiry:
3516+
name: expiry
3517+
in: query
3518+
required: false
3519+
type: integer
3520+
format: int64
3521+
description: >-
3522+
An expiration time for the old environment SDK key, expressed as a Unix
3523+
epoch time in milliseconds. By default, the key will expire immediately.
3524+
EnvironmentMobileKeyExpiry:
35153525
name: expiry
35163526
in: query
35173527
required: false
35183528
type: integer
35193529
format: int64
35203530
description: >-
3521-
An expiration time for the old environment SDK or mobile key, expressed as
3522-
a Unix epoch time in milliseconds. By default, the key will expire
3523-
immediately
3531+
The expiry parameter is deprecated for this endpoint, so the old mobile
3532+
key will always expire immediately. This parameter will be removed in an
3533+
upcoming major API client version.
35243534
SummaryQuery:
35253535
name: summary
35263536
in: query

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "launchdarkly-api",
3-
"version": "3.7.0",
3+
"version": "3.7.1",
44
"description": "Build_custom_integrations_with_the_LaunchDarkly_REST_API",
55
"license": "Apache 2.0",
66
"main": "src/index.js",

src/ApiClient.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LaunchDarkly REST API
33
* Build custom integrations with the LaunchDarkly REST API
44
*
5-
* OpenAPI spec version: 3.7.0
5+
* OpenAPI spec version: 3.7.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by the swagger code generator program.
@@ -33,7 +33,7 @@
3333

3434
/**
3535
* @module ApiClient
36-
* @version 3.7.0
36+
* @version 3.7.1
3737
*/
3838

3939
/**

src/api/AccessTokensApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LaunchDarkly REST API
33
* Build custom integrations with the LaunchDarkly REST API
44
*
5-
* OpenAPI spec version: 3.7.0
5+
* OpenAPI spec version: 3.7.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by the swagger code generator program.
@@ -34,7 +34,7 @@
3434
/**
3535
* AccessTokens service.
3636
* @module api/AccessTokensApi
37-
* @version 3.7.0
37+
* @version 3.7.1
3838
*/
3939

4040
/**

src/api/AuditLogApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LaunchDarkly REST API
33
* Build custom integrations with the LaunchDarkly REST API
44
*
5-
* OpenAPI spec version: 3.7.0
5+
* OpenAPI spec version: 3.7.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by the swagger code generator program.
@@ -34,7 +34,7 @@
3434
/**
3535
* AuditLog service.
3636
* @module api/AuditLogApi
37-
* @version 3.7.0
37+
* @version 3.7.1
3838
*/
3939

4040
/**

src/api/CustomRolesApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LaunchDarkly REST API
33
* Build custom integrations with the LaunchDarkly REST API
44
*
5-
* OpenAPI spec version: 3.7.0
5+
* OpenAPI spec version: 3.7.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by the swagger code generator program.
@@ -34,7 +34,7 @@
3434
/**
3535
* CustomRoles service.
3636
* @module api/CustomRolesApi
37-
* @version 3.7.0
37+
* @version 3.7.1
3838
*/
3939

4040
/**

src/api/CustomerMetricsApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LaunchDarkly REST API
33
* Build custom integrations with the LaunchDarkly REST API
44
*
5-
* OpenAPI spec version: 3.7.0
5+
* OpenAPI spec version: 3.7.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by the swagger code generator program.
@@ -34,7 +34,7 @@
3434
/**
3535
* CustomerMetrics service.
3636
* @module api/CustomerMetricsApi
37-
* @version 3.7.0
37+
* @version 3.7.1
3838
*/
3939

4040
/**

src/api/DataExportDestinationsApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LaunchDarkly REST API
33
* Build custom integrations with the LaunchDarkly REST API
44
*
5-
* OpenAPI spec version: 3.7.0
5+
* OpenAPI spec version: 3.7.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by the swagger code generator program.
@@ -34,7 +34,7 @@
3434
/**
3535
* DataExportDestinations service.
3636
* @module api/DataExportDestinationsApi
37-
* @version 3.7.0
37+
* @version 3.7.1
3838
*/
3939

4040
/**

0 commit comments

Comments
 (0)