diff --git a/guh.pri b/guh.pri index 64a3c2a8..c72b65be 100644 --- a/guh.pri +++ b/guh.pri @@ -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}\\\" \ diff --git a/tests/auto/api.json b/tests/auto/api.json index b3cde7e2..c1640888 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -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": {