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 ```