From feed403ccfbafec44dca789afc70c9626801e020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Sun, 14 Dec 2014 19:09:16 +0100 Subject: [PATCH] add api.json --- doc/jsonrpc.qdoc | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/doc/jsonrpc.qdoc b/doc/jsonrpc.qdoc index eff958f3..715eb6a2 100644 --- a/doc/jsonrpc.qdoc +++ b/doc/jsonrpc.qdoc @@ -42,15 +42,17 @@ is running: \code $ telnet localhost 1234 + \endcode + \code Trying 127.0.0.1... - Connected to localhost. - Escape character is '^]'. - { - "id":0, - "status": "connected", - "server":"Guh JSONRPC Interface", - "version":"0.0.0" - } + Connected to localhost. + Escape character is '^]'. + { + "id": 0, + "protocol version": 9, + "server": "guh JSONRPC interface", + "version": "0.2.0" + } \endcode Now the connection is established and waits for commands. @@ -118,7 +120,6 @@ } \endcode - \section3 Response: \code { "id": 1, @@ -161,5 +162,8 @@ "status": "success" } \endcode + + \section1 API Description + \quotefile tests/auto/api.json */