From 23f8f2c576271a9007b5da0a4d0ba144ad66086d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 1 Mar 2015 20:25:46 -0500 Subject: Add api procedure to get the application version --- docs/api-json-rpc.markdown | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'docs') diff --git a/docs/api-json-rpc.markdown b/docs/api-json-rpc.markdown index 0440da0c..1075de56 100644 --- a/docs/api-json-rpc.markdown +++ b/docs/api-json-rpc.markdown @@ -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** -- cgit v1.2.3