From e9dfe44b4c92815639f217e0531a206b1193c943 Mon Sep 17 00:00:00 2001 From: Daria Mayorova Date: Wed, 13 Nov 2024 14:26:04 +0100 Subject: [PATCH 1/2] Fix missing slash in app key allowed characters hint --- config/locales/en.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 15e0755f78..dffe9a0c2d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1550,7 +1550,7 @@ en: cinstance: intentions: "Please describe briefly your intentions of use of this service" user_key: "Allowed characters: [A-Z a-z 0-9 - _ .], or Base64 format without forward slash (/), no spaces and up to 256 characters." - key: "Allowed characters: [A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~], no spaces and between 5 and 255 characters." + key: "Allowed characters: [A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~], no spaces and between 5 and 255 characters." cms: page: From 2ae2ccf992d001032ebd92b88cc482d40a422699 Mon Sep 17 00:00:00 2001 From: Daria Mayorova Date: Wed, 27 Nov 2024 13:11:39 +0100 Subject: [PATCH 2/2] Remove square brackets in characters list to avoid confusion --- config/locales/en.yml | 4 ++-- doc/active_docs/account_management_api.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index dffe9a0c2d..c19cbc6397 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1549,8 +1549,8 @@ en: cinstance: intentions: "Please describe briefly your intentions of use of this service" - user_key: "Allowed characters: [A-Z a-z 0-9 - _ .], or Base64 format without forward slash (/), no spaces and up to 256 characters." - key: "Allowed characters: [A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~], no spaces and between 5 and 255 characters." + user_key: "Allowed characters: A-Z a-z 0-9 - _ . or Base64 format without forward slash (/), no spaces and up to 256 characters." + key: "Allowed characters: A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~ , no spaces and between 5 and 255 characters." cms: page: diff --git a/doc/active_docs/account_management_api.json b/doc/active_docs/account_management_api.json index 176e3a2b19..f42f84b82a 100644 --- a/doc/active_docs/account_management_api.json +++ b/doc/active_docs/account_management_api.json @@ -1186,7 +1186,7 @@ }, "key": { "type": "string", - "description": "app_key to be added.\n\nAllowed characters: [A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~], no spaces and between 5 and 255 characters." + "description": "app_key to be added.\n\nAllowed characters: A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~ , no spaces and between 5 and 255 characters." } }, "required": [ @@ -10035,15 +10035,15 @@ }, "user_key": { "type": "string", - "description": "User Key (API Key) of the application to be created.\n\nAllowed characters: [A-Z a-z 0-9 - _ .], or Base64 format without forward slash (/), no spaces and up to 256 characters.", + "description": "User Key (API Key) of the application to be created.\n\nAllowed characters: A-Z a-z 0-9 - _ . or Base64 format without forward slash (/), no spaces and up to 256 characters.", "x-data-threescale-name": "user_keys" }, "application_id": { "type": "string", - "description": "App ID or Client ID (for OAuth and OpenID Connect authentication modes) of the application to be created.\n\nAllowed characters: [A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~], no spaces and between 5 and 255 characters." + "description": "App ID or Client ID (for OAuth and OpenID Connect authentication modes) of the application to be created.\n\nAllowed characters: A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~ , no spaces and between 5 and 255 characters." }, "application_key": { - "description": "App Key or Client Secret (for OAuth and OpenID Connect authentication modes) of the application to be created.\n\nAllowed characters: [A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~], no spaces and between 5 and 255 characters.", + "description": "App Key or Client Secret (for OAuth and OpenID Connect authentication modes) of the application to be created.\n\nAllowed characters: A-Z a-z 0-9 ! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~ , no spaces and between 5 and 255 characters.", "type": "string" }, "redirect_url": {