mirror of https://github.com/nymea/nymea.git
Fix push button auth finished notification API documentation
parent
8991e01526
commit
a44b82c497
|
|
@ -208,7 +208,7 @@ JsonRPCServer::JsonRPCServer(const QSslConfiguration &sslConfiguration, QObject
|
|||
|
||||
params.clear();
|
||||
setDescription("PushButtonAuthFinished", "Emitted when a push button authentication reaches final state. NOTE: This notification is special. It will only be emitted to connections that did actively request a push button authentication, but also it will be emitted regardless of the notification settings. ");
|
||||
params.insert("status", JsonTypes::userErrorRef());
|
||||
params.insert("success", JsonTypes::basicTypeToString(JsonTypes::Bool));
|
||||
params.insert("transactionId", JsonTypes::basicTypeToString(JsonTypes::Int));
|
||||
params.insert("o:token", JsonTypes::basicTypeToString(JsonTypes::String));
|
||||
setParams("PushButtonAuthFinished", params);
|
||||
|
|
|
|||
|
|
@ -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=12
|
||||
JSON_PROTOCOL_VERSION_MINOR=13
|
||||
REST_API_VERSION=1
|
||||
|
||||
DEFINES += NYMEA_VERSION_STRING=\\\"$${NYMEA_VERSION_STRING}\\\" \
|
||||
|
|
|
|||
|
|
@ -1030,7 +1030,7 @@
|
|||
"description": "Emitted when a push button authentication reaches final state. NOTE: This notification is special. It will only be emitted to connections that did actively request a push button authentication, but also it will be emitted regardless of the notification settings. ",
|
||||
"params": {
|
||||
"o:token": "String",
|
||||
"status": "$ref:UserError",
|
||||
"success": "Bool",
|
||||
"transactionId": "Int"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue