add api.json

This commit is contained in:
Simon Stürz 2014-12-14 19:09:16 +01:00 committed by Michael Zanetti
parent 0935f490f5
commit feed403ccf

View File

@ -42,15 +42,17 @@
is running: is running:
\code \code
$ telnet localhost 1234 $ telnet localhost 1234
\endcode
\code
Trying 127.0.0.1... Trying 127.0.0.1...
Connected to localhost. Connected to localhost.
Escape character is '^]'. Escape character is '^]'.
{ {
"id":0, "id": 0,
"status": "connected", "protocol version": 9,
"server":"Guh JSONRPC Interface", "server": "guh JSONRPC interface",
"version":"0.0.0" "version": "0.2.0"
} }
\endcode \endcode
Now the connection is established and waits for commands. Now the connection is established and waits for commands.
@ -118,7 +120,6 @@
} }
\endcode \endcode
\section3 Response: \section3 Response:
\code { \code {
"id": 1, "id": 1,
@ -161,5 +162,8 @@
"status": "success" "status": "success"
} }
\endcode \endcode
\section1 API Description
\quotefile tests/auto/api.json \quotefile tests/auto/api.json
*/ */