add api.json

pull/135/head
Simon Stürz 2014-12-14 19:09:16 +01:00 committed by Michael Zanetti
parent 0935f490f5
commit feed403ccf
1 changed files with 13 additions and 9 deletions

View File

@ -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
*/