bump json api version

This commit is contained in:
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 # define protocol versions
JSON_PROTOCOL_VERSION_MAJOR=1 JSON_PROTOCOL_VERSION_MAJOR=1
JSON_PROTOCOL_VERSION_MINOR=4 JSON_PROTOCOL_VERSION_MINOR=5
REST_API_VERSION=1 REST_API_VERSION=1
DEFINES += NYMEA_VERSION_STRING=\\\"$${NYMEA_VERSION_STRING}\\\" \ DEFINES += NYMEA_VERSION_STRING=\\\"$${NYMEA_VERSION_STRING}\\\" \

View File

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