[Libreoffice-commits] online.git: loolwsd/protocol.txt

Pranav Kant pranavk at collabora.co.uk
Thu Jul 21 07:48:49 UTC 2016


 loolwsd/protocol.txt |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

New commits:
commit 3907a2f3ccde13856b65618c01b5d24b5618c398
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Thu Jul 21 13:18:00 2016 +0530

    protocol.txt: Update lokitversion info format
    
    Change-Id: I1ea7d6d777d6b3b790ece6c268b9d15167f67a44

diff --git a/loolwsd/protocol.txt b/loolwsd/protocol.txt
index 7bcbd58..e25dbf2 100644
--- a/loolwsd/protocol.txt
+++ b/loolwsd/protocol.txt
@@ -185,11 +185,15 @@ loolserver <loolwsd version> <loolwsd git hash> <major.minor[-patch]>
            Security fixes that do not alter the API would bump the minor version number.
     Patch: an optional string that is informational.
 
-lokitversion <product_name> <product_version> <product_extension> <build_id>
+lokitversion <JSON string>
 
-    Version information of underlying LOKit process.
+    JSON string contains version information in format:
+    {ProductName: <>, ProductVersion: <>, ProductExtension: <>, BuildId: <>}
 
-    Eg: LibreOfficeDev 5.3 .0.0.alpha0 <git hash>
+    Eg: {"ProductName": "LibreOffice",
+         "ProductVersion": "5.3",
+         "ProductExtension": ".0.0.alpha0",
+         "BuildId": "<full 40 char git hash>"}
 
 contextmenu: <json description of the context menu>
 


More information about the Libreoffice-commits mailing list