Skip to content

Commit d0491b3

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

File tree

2 files changed

+23
-13
lines changed

2 files changed

+23
-13
lines changed

api.ts

Lines changed: 4 additions & 4 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: support@launchdarkly.com
77
*
88
* NOTE: This class is auto generated by the swagger code generator program.
@@ -6635,10 +6635,10 @@ export class EnvironmentsApi {
66356635
}
66366636
/**
66376637
*
6638-
* @summary Reset an environment's mobile key with an optional expiry time for the old key.
6638+
* @summary 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.
66396639
* @param projectKey The project key, used to tie the flags together under one project so they can be managed together.
66406640
* @param environmentKey The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
6641-
* @param 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
6641+
* @param 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.
66426642
* @param {*} [options] Override http request options.
66436643
*/
66446644
public resetEnvironmentMobileKey (projectKey: string, environmentKey: string, expiry?: number, options: any = {}) : Promise<{ response: http.ClientResponse; body: Environment; }> {
@@ -6707,7 +6707,7 @@ export class EnvironmentsApi {
67076707
* @summary Reset an environment's SDK key with an optional expiry time for the old key.
67086708
* @param projectKey The project key, used to tie the flags together under one project so they can be managed together.
67096709
* @param environmentKey The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
6710-
* @param 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
6710+
* @param 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.
67116711
* @param {*} [options] Override http request options.
67126712
*/
67136713
public resetEnvironmentSDKKey (projectKey: string, environmentKey: string, expiry?: number, options: any = {}) : Promise<{ response: http.ClientResponse; body: Environment; }> {

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

0 commit comments

Comments
 (0)