This commit is contained in:
Michael Zanetti 2019-10-15 14:34:50 +02:00
parent 9163274082
commit 0b5f475991
3 changed files with 18 additions and 18 deletions

View File

@ -372,16 +372,16 @@ See also: \l{LoggingSource}, \l{LoggingEventType}, \l{LoggingLevel}
\code
[
"Actions",
"States",
"Tags",
"Configuration",
"JSONRPC",
"Rules",
"Logging",
"Events",
"Devices",
"Events",
"JSONRPC",
"Logging",
"NetworkManager",
"System"
"Rules",
"States",
"System",
"Tags"
]
\endcode
\section2 NetworkDeviceState
@ -1824,7 +1824,7 @@ Returns
\endcode
\section2 JSONRPC.SetNotificationStatus
Enable/Disable notifications for this connections. Either "enabled" or or "namespaces" needs to be given but not both of them. The boolean based "enabled" parameter will enable/disable all notifications at once. If instead the list-based "namespaces" parameter is provided, all given namespaceswill be enabled, the others will be disabled. The return value of "success" will indicate success of the operation. The "enabled" property in the return value is deprecated and used for legacy compatibilty only. It will be set to true if at least one namespace has been enabled.
Enable/Disable notifications for this connections. Either "enabled" or "namespaces" needs to be given but not both of them. The boolean based "enabled" parameter will enable/disable all notifications at once. If instead the list-based "namespaces" parameter is provided, all given namespaceswill be enabled, the others will be disabled. The return value of "success" will indicate success of the operation. The "enabled" property in the return value is deprecated and used for legacy compatibilty only. It will be set to true if at least one namespace has been enabled.
Params
\code
{
@ -3565,7 +3565,7 @@ See also: \l{Tag}
}
},
"JSONRPC.SetNotificationStatus": {
"description": "Enable/Disable notifications for this connections. Either \"enabled\" or or \"namespaces\" needs to be given but not both of them. The boolean based \"enabled\" parameter will enable/disable all notifications at once. If instead the list-based \"namespaces\" parameter is provided, all given namespaceswill be enabled, the others will be disabled. The return value of \"success\" will indicate success of the operation. The \"enabled\" property in the return value is deprecated and used for legacy compatibilty only. It will be set to true if at least one namespace has been enabled.",
"description": "Enable/Disable notifications for this connections. Either \"enabled\" or \"namespaces\" needs to be given but not both of them. The boolean based \"enabled\" parameter will enable/disable all notifications at once. If instead the list-based \"namespaces\" parameter is provided, all given namespaceswill be enabled, the others will be disabled. The return value of \"success\" will indicate success of the operation. The \"enabled\" property in the return value is deprecated and used for legacy compatibilty only. It will be set to true if at least one namespace has been enabled.",
"params": {
"o:enabled": "Bool",
"o:namespaces": [
@ -4590,16 +4590,16 @@ See also: \l{Tag}
},
"Namespace": [
"Actions",
"States",
"Tags",
"Configuration",
"JSONRPC",
"Rules",
"Logging",
"Events",
"Devices",
"Events",
"JSONRPC",
"Logging",
"NetworkManager",
"System"
"Rules",
"States",
"System",
"Tags"
],
"NetworkDeviceState": [
"NetworkDeviceStateUnknown",

View File

@ -116,7 +116,7 @@ JsonRPCServer::JsonRPCServer(const QSslConfiguration &sslConfiguration, QObject
setReturns("Version", returns);
params.clear(); returns.clear();
setDescription("SetNotificationStatus", "Enable/Disable notifications for this connections. Either \"enabled\" or or """
setDescription("SetNotificationStatus", "Enable/Disable notifications for this connections. Either \"enabled\" or """
"\"namespaces\" needs to be given but not both of them. The boolean based "
"\"enabled\" parameter will enable/disable all notifications at once. If "
"instead the list-based \"namespaces\" parameter is provided, all given namespaces"

View File

@ -625,7 +625,7 @@
}
},
"JSONRPC.SetNotificationStatus": {
"description": "Enable/Disable notifications for this connections. Either \"enabled\" or or \"namespaces\" needs to be given but not both of them. The boolean based \"enabled\" parameter will enable/disable all notifications at once. If instead the list-based \"namespaces\" parameter is provided, all given namespaceswill be enabled, the others will be disabled. The return value of \"success\" will indicate success of the operation. The \"enabled\" property in the return value is deprecated and used for legacy compatibilty only. It will be set to true if at least one namespace has been enabled.",
"description": "Enable/Disable notifications for this connections. Either \"enabled\" or \"namespaces\" needs to be given but not both of them. The boolean based \"enabled\" parameter will enable/disable all notifications at once. If instead the list-based \"namespaces\" parameter is provided, all given namespaceswill be enabled, the others will be disabled. The return value of \"success\" will indicate success of the operation. The \"enabled\" property in the return value is deprecated and used for legacy compatibilty only. It will be set to true if at least one namespace has been enabled.",
"params": {
"o:enabled": "Bool",
"o:namespaces": [