Updated protocol description with lock-database command

This commit is contained in:
varjolintu 2017-10-13 16:57:24 +03:00
parent 83e7730fa1
commit b032b7e5c4

View file

@ -244,6 +244,26 @@ Response message data (success, decrypted):
}
```
### lock-database
Request:
```javascript
{
"action": "lock-database",
"nonce": "tZvLrBzkQ9GxXq9PvKJj4iAnfPT0VZ3Q",
"clientID": "<clientID>"
}
```
Response message data (success always returns an error, decrypted):
```javascript
{
"action": "lock-database",
"errorCode": 1,
"error": "Database not opened",
"nonce": "tZvLrBzkQ9GxXq9PvKJj4iAnfPT0VZ3Q"
}
```
## Licenses
```