From 1b08bfb1d78f661c2a2d602c7e445b5d589935d0 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sun, 30 Jul 2017 21:45:37 +0200 Subject: [PATCH] bump json api version --- guh.pri | 2 +- tests/auto/api.json | 49 +-------------------------------------------- 2 files changed, 2 insertions(+), 49 deletions(-) diff --git a/guh.pri b/guh.pri index fddb2ed5..c455026c 100644 --- a/guh.pri +++ b/guh.pri @@ -5,7 +5,7 @@ GUH_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p"') GUH_PLUGINS_PATH=/usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')/guh/plugins/ # define protocol versions -JSON_PROTOCOL_VERSION=48 +JSON_PROTOCOL_VERSION=49 REST_API_VERSION=1 DEFINES += GUH_VERSION_STRING=\\\"$${GUH_VERSION_STRING}\\\" \ diff --git a/tests/auto/api.json b/tests/auto/api.json index 35e057fb..0e5eb7b8 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -1,4 +1,4 @@ -48 +49 { "methods": { "Actions.ExecuteAction": { @@ -31,36 +31,6 @@ } } }, - "Cloud.Authenticate": { - "description": "Connect and authenticate the cloud connection with the given username and password.", - "params": { - "password": "String", - "username": "String" - }, - "returns": { - "cloudError": "$ref:CloudError" - } - }, - "Cloud.Enable": { - "description": "Enable or disable the cloud connection.", - "params": { - "enable": "Bool" - }, - "returns": { - "cloudError": "$ref:CloudError" - } - }, - "Cloud.GetConnectionStatus": { - "description": "Get the current status of the cloud connection.", - "params": { - }, - "returns": { - "active": "Bool", - "authenticated": "Bool", - "connected": "Bool", - "enabled": "Bool" - } - }, "Configuration.GetAvailableLanguages": { "description": "Returns a list of locale codes available for the server. i.e. en_US, de_AT", "params": { @@ -685,15 +655,6 @@ } }, "notifications": { - "Cloud.ConnectionStatusChanged": { - "description": "Emitted whenever the status of the cloud connection changed. The cloud connection is active if a cloud client is talking with the server.", - "params": { - "active": "Bool", - "authenticated": "Bool", - "connected": "Bool", - "enabled": "Bool" - } - }, "Configuration.BasicConfigurationChanged": { "description": "Emitted whenever the basic configuration of this server changes.", "params": { @@ -899,14 +860,6 @@ "o:repeating": "$ref:RepeatingOption", "o:startTime": "Time" }, - "CloudError": [ - "CloudErrorNoError", - "CloudErrorAuthenticationFailed", - "CloudErrorCloudConnectionDisabled", - "CloudErrorIdentityServerNotReachable", - "CloudErrorProxyServerNotReachable", - "CloudErrorLoginCredentialsMissing" - ], "ConfigurationError": [ "ConfigurationErrorNoError", "ConfigurationErrorInvalidTimeZone",