Add api procedure to get the application version

This commit is contained in:
Frederic Guillot
2015-03-01 20:25:46 -05:00
parent 052b14d482
commit 23f8f2c576
3 changed files with 37 additions and 3 deletions

View File

@@ -144,6 +144,32 @@ Array
Procedures
----------
### getVersion
- Purpose: **Get the application version**
- Parameters: none
- Result: **version** (Example: 1.0.12, master)
Request example:
```json
{
"jsonrpc": "2.0",
"method": "getVersion",
"id": 1661138292
}
```
Response example:
```json
{
"jsonrpc": "2.0",
"id": 1661138292,
"result": "1.0.13"
}
```
### getTimezone
- Purpose: **Get the application timezone**