Fix push button auth finished notification API documentation
This commit is contained in:
parent
8991e01526
commit
a44b82c497
@ -208,7 +208,7 @@ JsonRPCServer::JsonRPCServer(const QSslConfiguration &sslConfiguration, QObject
|
|||||||
|
|
||||||
params.clear();
|
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. ");
|
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("transactionId", JsonTypes::basicTypeToString(JsonTypes::Int));
|
||||||
params.insert("o:token", JsonTypes::basicTypeToString(JsonTypes::String));
|
params.insert("o:token", JsonTypes::basicTypeToString(JsonTypes::String));
|
||||||
setParams("PushButtonAuthFinished", params);
|
setParams("PushButtonAuthFinished", params);
|
||||||
|
|||||||
@ -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=12
|
JSON_PROTOCOL_VERSION_MINOR=13
|
||||||
REST_API_VERSION=1
|
REST_API_VERSION=1
|
||||||
|
|
||||||
DEFINES += NYMEA_VERSION_STRING=\\\"$${NYMEA_VERSION_STRING}\\\" \
|
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. ",
|
"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": {
|
"params": {
|
||||||
"o:token": "String",
|
"o:token": "String",
|
||||||
"status": "$ref:UserError",
|
"success": "Bool",
|
||||||
"transactionId": "Int"
|
"transactionId": "Int"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user