Skip to content

Commit

Permalink
prepare 3.7.0 release (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaunchDarklyCI authored Oct 12, 2020
1 parent 909235a commit dbfd334
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
7 changes: 7 additions & 0 deletions spec/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,13 @@ EnvironmentKeyQuery:
items:
type: string
collectionFormat: multi
EnvironmentKeyExpiry:
name: expiry
in: query
required: false
type: integer
format: int64
description: 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
SummaryQuery:
name: summary
in: query
Expand Down
4 changes: 4 additions & 0 deletions spec/paths.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
$ref: ./paths/environments.yaml#/Environments
/projects/{projectKey}/environments/{environmentKey}:
$ref: ./paths/environments.yaml#/Environment
/projects/{projectKey}/environments/{environmentKey}/apiKey:
$ref: ./paths/environments.yaml#/ResetSDKKey
/projects/{projectKey}/environments/{environmentKey}/mobileKey:
$ref: ./paths/environments.yaml#/ResetMobileKey
/flags/{projectKey}:
$ref: ./paths/flags.yaml#/Flags
/flags/{projectKey}/{featureFlagKey}:
Expand Down
35 changes: 34 additions & 1 deletion spec/paths/environments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,37 @@ Environment:
$ref: '#/responses/Standard404'
tags:
- Environments

ResetSDKKey:
post:
summary: Reset an environment's SDK key with an optional expiry time for the old key.
operationId: resetEnvironmentSDKKey
parameters:
- $ref: "#/parameters/ProjectKey"
- $ref: "#/parameters/EnvironmentKey"
- $ref: "#/parameters/EnvironmentKeyExpiry"
responses:
"200":
$ref: "#/responses/Environment2xx"
"404":
$ref: "#/responses/Standard404"
'409':
$ref: '#/responses/Standard409'
tags:
- Environments
ResetMobileKey:
post:
summary: Reset an environment's mobile key with an optional expiry time for the old key.
operationId: resetEnvironmentMobileKey
parameters:
- $ref: "#/parameters/ProjectKey"
- $ref: "#/parameters/EnvironmentKey"
- $ref: "#/parameters/EnvironmentKeyExpiry"
responses:
"200":
$ref: "#/responses/Environment2xx"
"404":
$ref: "#/responses/Standard404"
"409":
$ref: '#/responses/Standard409'
tags:
- Environments

0 comments on commit dbfd334

Please sign in to comment.