I would like the trigger.get API call to have separate arguments for expanding functions and expanding macro's.
Currently there is an argument `expandExpression` which expands both, but I only want the functions to be expanded, not the macros.
The reason I want this is to have the trigger.get API call return the same contents for the expression as the website does when viewing a trigger. It shows the expression with the functions expanded, but with the macros as they are.
A simple suggestion would be to create `expandExpressionFunctions` and `expandExpressionMacros` arguments.
Edit: Since functions are hidden in the webinterface, it might be better to always expand functions, and use `expandExpression` to only (additionally) expand macros.
Currently there is an argument `expandExpression` which expands both, but I only want the functions to be expanded, not the macros.
The reason I want this is to have the trigger.get API call return the same contents for the expression as the website does when viewing a trigger. It shows the expression with the functions expanded, but with the macros as they are.
A simple suggestion would be to create `expandExpressionFunctions` and `expandExpressionMacros` arguments.
Edit: Since functions are hidden in the webinterface, it might be better to always expand functions, and use `expandExpression` to only (additionally) expand macros.