From f8d55abf726132e3a22e1cbe287729ab27f36220 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 4 May 2023 20:10:37 +0200 Subject: [PATCH] fix(developer): Document optional returned from in translation response Signed-off-by: Joas Schilling --- developer_manual/client_apis/OCS/ocs-translation-api.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/developer_manual/client_apis/OCS/ocs-translation-api.rst b/developer_manual/client_apis/OCS/ocs-translation-api.rst index cb2f4bef5ba..1bc93ae178e 100644 --- a/developer_manual/client_apis/OCS/ocs-translation-api.rst +++ b/developer_manual/client_apis/OCS/ocs-translation-api.rst @@ -81,3 +81,4 @@ Translate a string - Data: + ``text`` - Only provided in case of ``200 OK``, the translated string + ``message`` - Only provided when not ``200 OK``, an error message in the user's language, ready to be displayed + + ``from`` - The from language that was provided or detected from the input (can also be null or missing, when an error happens while detecting the language)