bump json version

This commit is contained in:
Michael Zanetti 2017-10-17 18:33:30 +02:00
parent 0c4289b92c
commit c37177ae85
2 changed files with 18 additions and 2 deletions

View File

@ -6,7 +6,7 @@ GUH_PLUGINS_PATH=/usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')/gu
# define protocol versions
JSON_PROTOCOL_VERSION_MAJOR=0
JSON_PROTOCOL_VERSION_MINOR=50
JSON_PROTOCOL_VERSION_MINOR=51
REST_API_VERSION=1
DEFINES += GUH_VERSION_STRING=\\\"$${GUH_VERSION_STRING}\\\" \

View File

@ -1,4 +1,4 @@
0.50
0.51
{
"methods": {
"Actions.ExecuteAction": {
@ -412,6 +412,22 @@
"error": "$ref:UserError"
}
},
"JSONRPC.Hello": {
"description": "Upon first connection, guh will automatically send a welcome message containing information about the setup. If this message is lost for whatever reason (connections with multiple hops might drop this if guh sends it too early), the exact same message can be retrieved multiple times by calling this Hello method. Note that the contents might change if the system changed its state in the meantime, e.g. initialSetupRequired might turn false if the initial setup has been performed in the meantime.",
"params": {
},
"returns": {
"authenticationRequired": "Bool",
"id": "Int",
"initialSetupRequired": "Bool",
"language": "String",
"name": "String",
"protocol version": "String",
"server": "String",
"uuid": "Uuid",
"version": "String"
}
},
"JSONRPC.Introspect": {
"description": "Introspect this API.",
"params": {