bump json api version
This commit is contained in:
parent
6a4a481f88
commit
1b08bfb1d7
2
guh.pri
2
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}\\\" \
|
||||
|
||||
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user