From 304fd6bf75ee8021d963cccbb7ca0b64a3cbcdf0 Mon Sep 17 00:00:00 2001 From: Mladen Jablanovic Date: Thu, 14 Nov 2024 16:58:41 +0100 Subject: [PATCH] feat(API): autotranslate param in key creation --- doc/compiled.json | 5 +++++ paths/keys/create.yaml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/doc/compiled.json b/doc/compiled.json index 29bf1029..36265b59 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -21257,6 +21257,11 @@ "type": "string", "example": "Default translation content" }, + "autotranslate": { + "description": "Indicates whether the key should be autotranslated to other locales based on the copy provided in `default_translation_content`.", + "type": "boolean", + "example": null + }, "xml_space_preserve": { "description": "Indicates whether the key should be exported with \"xml:space=preserve\". Supported by several XML-based formats.", "type": "boolean", diff --git a/paths/keys/create.yaml b/paths/keys/create.yaml index 75c73a8e..672ae9e6 100644 --- a/paths/keys/create.yaml +++ b/paths/keys/create.yaml @@ -109,6 +109,10 @@ requestBody: description: Creates a translation in the default locale with the specified content type: string example: Default translation content + autotranslate: + description: Indicates whether the key should be autotranslated to other locales based on the copy provided in `default_translation_content`. + type: boolean + example: xml_space_preserve: description: Indicates whether the key should be exported with "xml:space=preserve". Supported by several XML-based formats. type: boolean