bump json api version

pull/135/head
Michael Zanetti 2017-10-22 17:32:26 +02:00
parent a75c8a4b33
commit 948ffb968c
2 changed files with 13 additions and 5 deletions

View File

@ -5,8 +5,8 @@ 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_MAJOR=0
JSON_PROTOCOL_VERSION_MINOR=54
JSON_PROTOCOL_VERSION_MAJOR=1
JSON_PROTOCOL_VERSION_MINOR=0
REST_API_VERSION=1
DEFINES += GUH_VERSION_STRING=\\\"$${GUH_VERSION_STRING}\\\" \

View File

@ -1,4 +1,4 @@
0.54
1.0
{
"methods": {
"Actions.ExecuteAction": {
@ -22,9 +22,10 @@
"returns": {
"deviceError": "$ref:DeviceError",
"o:actionType": {
"displayName": "String",
"id": "Uuid",
"index": "Int",
"name": "Uuid",
"name": "String",
"paramTypes": [
"$ref:ParamType"
]
@ -961,9 +962,10 @@
]
},
"ActionType": {
"displayName": "String",
"id": "Uuid",
"index": "Int",
"name": "Uuid",
"name": "String",
"paramTypes": [
"$ref:ParamType"
]
@ -1051,6 +1053,7 @@
"discoveryParamTypes": [
"$ref:ParamType"
],
"displayName": "String",
"eventTypes": [
"$ref:EventType"
],
@ -1156,6 +1159,7 @@
]
},
"EventType": {
"displayName": "String",
"id": "Uuid",
"index": "Int",
"name": "String",
@ -1258,6 +1262,7 @@
"value": "$ref:BasicType"
},
"ParamType": {
"displayName": "String",
"id": "Uuid",
"index": "Int",
"name": "String",
@ -1273,6 +1278,7 @@
"type": "$ref:BasicType"
},
"Plugin": {
"displayName": "String",
"id": "Uuid",
"name": "String",
"paramTypes": [
@ -1397,6 +1403,7 @@
],
"StateType": {
"defaultValue": "Variant",
"displayName": "String",
"id": "Uuid",
"index": "Int",
"name": "String",
@ -1499,6 +1506,7 @@
"ValueOperatorGreaterOrEqual"
],
"Vendor": {
"displayName": "String",
"id": "Uuid",
"name": "String"
},