Bump api version
This commit is contained in:
parent
3fb74cc9e4
commit
386fa12a89
@ -5,7 +5,7 @@ NYMEA_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p"
|
|||||||
|
|
||||||
# define protocol versions
|
# define protocol versions
|
||||||
JSON_PROTOCOL_VERSION_MAJOR=5
|
JSON_PROTOCOL_VERSION_MAJOR=5
|
||||||
JSON_PROTOCOL_VERSION_MINOR=3
|
JSON_PROTOCOL_VERSION_MINOR=4
|
||||||
JSON_PROTOCOL_VERSION="$${JSON_PROTOCOL_VERSION_MAJOR}.$${JSON_PROTOCOL_VERSION_MINOR}"
|
JSON_PROTOCOL_VERSION="$${JSON_PROTOCOL_VERSION_MAJOR}.$${JSON_PROTOCOL_VERSION_MINOR}"
|
||||||
LIBNYMEA_API_VERSION_MAJOR=7
|
LIBNYMEA_API_VERSION_MAJOR=7
|
||||||
LIBNYMEA_API_VERSION_MINOR=0
|
LIBNYMEA_API_VERSION_MINOR=0
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
5.3
|
5.4
|
||||||
{
|
{
|
||||||
"enums": {
|
"enums": {
|
||||||
"BasicType": [
|
"BasicType": [
|
||||||
@ -244,6 +244,10 @@
|
|||||||
"StateOperatorAnd",
|
"StateOperatorAnd",
|
||||||
"StateOperatorOr"
|
"StateOperatorOr"
|
||||||
],
|
],
|
||||||
|
"StateValueFilter": [
|
||||||
|
"StateValueFilterNone",
|
||||||
|
"StateValueFilterAdaptive"
|
||||||
|
],
|
||||||
"TagError": [
|
"TagError": [
|
||||||
"TagErrorNoError",
|
"TagErrorNoError",
|
||||||
"TagErrorThingNotFound",
|
"TagErrorThingNotFound",
|
||||||
@ -1215,6 +1219,17 @@
|
|||||||
"thingError": "$ref:ThingError"
|
"thingError": "$ref:ThingError"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Integrations.SetEventLogging": {
|
||||||
|
"description": "Enable/disable logging for the given event type on the given thing.",
|
||||||
|
"params": {
|
||||||
|
"enabled": "Bool",
|
||||||
|
"eventTypeId": "Uuid",
|
||||||
|
"thingId": "Uuid"
|
||||||
|
},
|
||||||
|
"returns": {
|
||||||
|
"thingError": "$ref:ThingError"
|
||||||
|
}
|
||||||
|
},
|
||||||
"Integrations.SetPluginConfiguration": {
|
"Integrations.SetPluginConfiguration": {
|
||||||
"description": "Set a plugin's params.",
|
"description": "Set a plugin's params.",
|
||||||
"params": {
|
"params": {
|
||||||
@ -1225,6 +1240,17 @@
|
|||||||
"thingError": "$ref:ThingError"
|
"thingError": "$ref:ThingError"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Integrations.SetStateFilter": {
|
||||||
|
"description": "Set the filter for the given state on the given thing.",
|
||||||
|
"params": {
|
||||||
|
"filter": "$ref:StateValueFilter",
|
||||||
|
"stateTypeId": "Uuid",
|
||||||
|
"thingId": "Uuid"
|
||||||
|
},
|
||||||
|
"returns": {
|
||||||
|
"thingError": "$ref:ThingError"
|
||||||
|
}
|
||||||
|
},
|
||||||
"Integrations.SetThingSettings": {
|
"Integrations.SetThingSettings": {
|
||||||
"description": "Change the settings of a thing.",
|
"description": "Change the settings of a thing.",
|
||||||
"params": {
|
"params": {
|
||||||
@ -2521,6 +2547,9 @@
|
|||||||
"o:settings": "$ref:ParamList",
|
"o:settings": "$ref:ParamList",
|
||||||
"r:deviceClassId": "Uuid",
|
"r:deviceClassId": "Uuid",
|
||||||
"r:id": "Uuid",
|
"r:id": "Uuid",
|
||||||
|
"r:o:loggedEventTypeIds": [
|
||||||
|
"Uuid"
|
||||||
|
],
|
||||||
"r:o:parentId": "Uuid",
|
"r:o:parentId": "Uuid",
|
||||||
"r:o:setupDisplayMessage": "String",
|
"r:o:setupDisplayMessage": "String",
|
||||||
"r:params": "$ref:ParamList",
|
"r:params": "$ref:ParamList",
|
||||||
@ -2774,6 +2803,7 @@
|
|||||||
"sslEnabled": "Bool"
|
"sslEnabled": "Bool"
|
||||||
},
|
},
|
||||||
"State": {
|
"State": {
|
||||||
|
"r:filter": "$ref:StateValueFilter",
|
||||||
"r:stateTypeId": "Uuid",
|
"r:stateTypeId": "Uuid",
|
||||||
"r:value": "Variant"
|
"r:value": "Variant"
|
||||||
},
|
},
|
||||||
@ -2833,6 +2863,9 @@
|
|||||||
"o:name": "String",
|
"o:name": "String",
|
||||||
"o:settings": "$ref:ParamList",
|
"o:settings": "$ref:ParamList",
|
||||||
"r:id": "Uuid",
|
"r:id": "Uuid",
|
||||||
|
"r:o:loggedEventTypeIds": [
|
||||||
|
"Uuid"
|
||||||
|
],
|
||||||
"r:o:parentId": "Uuid",
|
"r:o:parentId": "Uuid",
|
||||||
"r:o:setupDisplayMessage": "String",
|
"r:o:setupDisplayMessage": "String",
|
||||||
"r:params": "$ref:ParamList",
|
"r:params": "$ref:ParamList",
|
||||||
|
|||||||
Reference in New Issue
Block a user