From b032b7e5c41127f2ebbd88ac767ac54f77ad1d84 Mon Sep 17 00:00:00 2001 From: varjolintu Date: Fri, 13 Oct 2017 16:57:24 +0300 Subject: [PATCH] Updated protocol description with lock-database command --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 6dbffe9..4157e95 100644 --- a/README.md +++ b/README.md @@ -244,6 +244,26 @@ Response message data (success, decrypted): } ``` +### lock-database +Request: +```javascript +{ + "action": "lock-database", + "nonce": "tZvLrBzkQ9GxXq9PvKJj4iAnfPT0VZ3Q", + "clientID": "" +} +``` + +Response message data (success always returns an error, decrypted): +```javascript +{ + "action": "lock-database", + "errorCode": 1, + "error": "Database not opened", + "nonce": "tZvLrBzkQ9GxXq9PvKJj4iAnfPT0VZ3Q" +} +``` + ## Licenses ```