Math Scripts
Math scripts store reusable calculations and can be evaluated with input values.
GET/api/v1/math-scripts
List math scripts
Required scope: math-scripts:read.
POST/api/v1/math-scripts
Create a math script
Required scope: math-scripts:write.
GET/api/v1/math-scripts/{mathScript}
Get a math script
Required scope: math-scripts:read.
PATCH/api/v1/math-scripts/{mathScript}
Update a math script
Required scope: math-scripts:write. PUT is also registered.
DELETE/api/v1/math-scripts/{mathScript}
Delete a math script
Required scope: math-scripts:write.
POST/api/v1/math-scripts/{mathScript}/calculate
Calculate a script
Evaluates the stored script with the supplied variables. This is a read-only calculation despite using POST, so it requires math-scripts:read.
