bump json api version

This commit is contained in:
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/ GUH_PLUGINS_PATH=/usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')/guh/plugins/
# define protocol versions # define protocol versions
JSON_PROTOCOL_VERSION_MAJOR=0 JSON_PROTOCOL_VERSION_MAJOR=1
JSON_PROTOCOL_VERSION_MINOR=54 JSON_PROTOCOL_VERSION_MINOR=0
REST_API_VERSION=1 REST_API_VERSION=1
DEFINES += GUH_VERSION_STRING=\\\"$${GUH_VERSION_STRING}\\\" \ DEFINES += GUH_VERSION_STRING=\\\"$${GUH_VERSION_STRING}\\\" \

View File

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