mirror of https://github.com/nymea/nymea.git
bump json api version
parent
dd6459a2e9
commit
d269b016db
|
|
@ -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}\\\" \
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue