diff --git a/nymea.pri b/nymea.pri index 5cac957d..502ca16c 100644 --- a/nymea.pri +++ b/nymea.pri @@ -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}\\\" \ diff --git a/tests/auto/api.json b/tests/auto/api.json index a513206f..04d97b26 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -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": {