From 6f96ae3e2ab4bddc5f025f8fb8102c710827bb95 Mon Sep 17 00:00:00 2001 From: Nikolaj Volgushev Date: Fri, 22 Dec 2023 14:54:25 +0100 Subject: [PATCH 1/3] Add active_only flag definition to Get API key spec --- .../security/get_api_key/SecurityGetApiKeyRequest.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/specification/security/get_api_key/SecurityGetApiKeyRequest.ts b/specification/security/get_api_key/SecurityGetApiKeyRequest.ts index 10fee95bda..5296e84b24 100644 --- a/specification/security/get_api_key/SecurityGetApiKeyRequest.ts +++ b/specification/security/get_api_key/SecurityGetApiKeyRequest.ts @@ -68,5 +68,12 @@ export interface Request extends RequestBase { * @availability serverless */ with_limited_by?: boolean + /** + * A boolean flag that can be used to query API keys that are currently active. An API key is considered active if it is neither invalidated, nor expired at query time. You can specify this together with other parameters such as owner or name. If `active_only` is false, the response will include both active and inactive (expired or invalidated) keys. + * @server_default false + * @availability stack since=8.12.1 + * @availability serverless + */ + active_only?: boolean } } From 886dc30a9c10d7fda242cc14967cb1c99aebaec1 Mon Sep 17 00:00:00 2001 From: Nikolaj Volgushev Date: Fri, 22 Dec 2023 15:07:52 +0100 Subject: [PATCH 2/3] Markdown --- specification/security/get_api_key/SecurityGetApiKeyRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/security/get_api_key/SecurityGetApiKeyRequest.ts b/specification/security/get_api_key/SecurityGetApiKeyRequest.ts index 5296e84b24..d95f43b0a5 100644 --- a/specification/security/get_api_key/SecurityGetApiKeyRequest.ts +++ b/specification/security/get_api_key/SecurityGetApiKeyRequest.ts @@ -69,7 +69,7 @@ export interface Request extends RequestBase { */ with_limited_by?: boolean /** - * A boolean flag that can be used to query API keys that are currently active. An API key is considered active if it is neither invalidated, nor expired at query time. You can specify this together with other parameters such as owner or name. If `active_only` is false, the response will include both active and inactive (expired or invalidated) keys. + * A boolean flag that can be used to query API keys that are currently active. An API key is considered active if it is neither invalidated, nor expired at query time. You can specify this together with other parameters such as `owner` or `name`. If `active_only` is false, the response will include both active and inactive (expired or invalidated) keys. * @server_default false * @availability stack since=8.12.1 * @availability serverless From 2e792ce2d49ad7eda201e9c3e9852cea7f972105 Mon Sep 17 00:00:00 2001 From: Nikolaj Volgushev Date: Fri, 22 Dec 2023 15:58:37 +0100 Subject: [PATCH 3/3] Update specification/security/get_api_key/SecurityGetApiKeyRequest.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Laurent Saint-FĂ©lix --- specification/security/get_api_key/SecurityGetApiKeyRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/security/get_api_key/SecurityGetApiKeyRequest.ts b/specification/security/get_api_key/SecurityGetApiKeyRequest.ts index d95f43b0a5..84ef1f8ce3 100644 --- a/specification/security/get_api_key/SecurityGetApiKeyRequest.ts +++ b/specification/security/get_api_key/SecurityGetApiKeyRequest.ts @@ -71,7 +71,7 @@ export interface Request extends RequestBase { /** * A boolean flag that can be used to query API keys that are currently active. An API key is considered active if it is neither invalidated, nor expired at query time. You can specify this together with other parameters such as `owner` or `name`. If `active_only` is false, the response will include both active and inactive (expired or invalidated) keys. * @server_default false - * @availability stack since=8.12.1 + * @availability stack since=8.10.0 * @availability serverless */ active_only?: boolean