Normal response.
Unauthorized response.
{- "result": {
- "script": {
- "alertd": "print(\"this is the alert script\");",
- "tariff": "print(\"this is the tariff script\");",
- "teamd": "print(\"this is the formulas script\");"
}, - "ctrld": {
- "test": "print(\"this is control script test\");"
}
}, - "error": "Error message (present if an error occurred)."
}
object (configLuaScript) Lua scripts. | |
object (configLuaCtrld) The control scripts. Control scripts generally run indefinitely. The more control scripts exist, the slower they will execute. If a control script voluntarily terminates execution, it is restarted automatically after five seconds. If a control script is updated, its execution is automatically restarted. |
Normal response.
Unauthorized response.
{ }
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
object (configLuaScript) Lua scripts. | |
object (configLuaCtrld) The control scripts. Control scripts generally run indefinitely. The more control scripts exist, the slower they will execute. If a control script voluntarily terminates execution, it is restarted automatically after five seconds. If a control script is updated, its execution is automatically restarted. |
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)."
}