Normal response.
Unauthorized response.
{- "result": {
- "alertd": "print(\"this is the alert script\");",
- "tariff": "print(\"this is the tariff script\");",
- "teamd": "print(\"this is the formulas script\");"
}, - "error": "Error message (present if an error occurred)."
}
alertd | string (configLuaScriptAlertd) The Lua script loaded by alert reporting daemon. This script can be used to define helper functions that can then be called from the alert conditions. If loading this script takes longer than 15 seconds or evaluating any custom alert condition takes longer than 60 seconds, an alert is raised. |
tariff | string (configLuaScriptTariff) The Lua script used to calculate energy cost. This script can be
modified only if server-storage variable
If loading this script takes longer than 15 seconds or evaluating the register formulas takes longer than half the update-interval, an alert is raised. |
teamd | string (configLuaScriptTeamd) The Lua script loaded by the register calculator. This script can be used to define helper functions that can then be called from register formulas. If loading this script takes longer than 15 seconds or evaluating the register formulas takes longer than half the update-interval, an alert is raised. |
Normal response.
Unauthorized response.
{ }
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
alertd | string (configLuaScriptAlertd) The Lua script loaded by alert reporting daemon. This script can be used to define helper functions that can then be called from the alert conditions. If loading this script takes longer than 15 seconds or evaluating any custom alert condition takes longer than 60 seconds, an alert is raised. |
tariff | string (configLuaScriptTariff) The Lua script used to calculate energy cost. This script can be
modified only if server-storage variable
If loading this script takes longer than 15 seconds or evaluating the register formulas takes longer than half the update-interval, an alert is raised. |
teamd | string (configLuaScriptTeamd) The Lua script loaded by the register calculator. This script can be used to define helper functions that can then be called from register formulas. If loading this script takes longer than 15 seconds or evaluating the register formulas takes longer than half the update-interval, an alert is raised. |
Normal response.
Unauthorized response.
{ }
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
Reset to default. See the descriptions of the individual endpoints for their default values. Commonly, arrays and strings are cleared to empty, numbers are cleared to 0, and booleans are cleared to false
.
Normal response.
Unauthorized response.
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}