bump json api version

pull/135/head
Michael Zanetti 2018-06-19 11:51:00 +02:00
parent dd6459a2e9
commit d269b016db
2 changed files with 8 additions and 5 deletions

View File

@ -6,7 +6,7 @@ NYMEA_PLUGINS_PATH=/usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')/
# define protocol versions
JSON_PROTOCOL_VERSION_MAJOR=1
JSON_PROTOCOL_VERSION_MINOR=4
JSON_PROTOCOL_VERSION_MINOR=5
REST_API_VERSION=1
DEFINES += NYMEA_VERSION_STRING=\\\"$${NYMEA_VERSION_STRING}\\\" \

View File

@ -1,4 +1,4 @@
1.4
1.5
{
"methods": {
"Actions.ExecuteAction": {
@ -1270,8 +1270,9 @@
"value": "$ref:BasicType"
},
"ParamDescriptor": {
"o:paramName": "Uuid",
"o:paramTypeId": "Uuid",
"operator": "$ref:ValueOperator",
"paramTypeId": "Uuid",
"value": "$ref:BasicType"
},
"ParamType": {
@ -1402,9 +1403,11 @@
"value": "Variant"
},
"StateDescriptor": {
"deviceId": "Uuid",
"o:deviceId": "Uuid",
"o:interface": "String",
"o:interfaceState": "String",
"o:stateTypeId": "Uuid",
"operator": "$ref:ValueOperator",
"stateTypeId": "Uuid",
"value": "Variant"
},
"StateEvaluator": {