Tries an expression on one value.
Applies the expression to the value and returns the result. Nothing is saved and nothing outside the server is called. An expression that does not parse, or names anything but a listed function, is refused with `400`. A valid expression that cannot make anything of this value (text that is not a date, say) answers `200` with `problem` set.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
The expression, the value, and optionally a default time zone.
The expression, e.g. datetime.to_date('Asia/Jerusalem').
The value to pipe into it, as text.
Time zone (IANA name) for a conversion that takes one and names none.
Response Body
curl -X POST "https://api.fruxon.com/v1/transformFunctions:test" \ -H "Content-Type: application/json" \ -d '{ "expression": "string", "value": "string" }'{
"value": "string",
"problem": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Lists the functions an expression may use.
An expression reshapes one value: a trigger's computed field (`computedFields[].expression`) or an API tool's result transform. It is one or more of these functions joined by `|`, e.g. `datetime.to_date('Asia/Jerusalem')`; the value is piped into the first, and each result into the next. Every function here is a pure conversion: it reads nothing but its arguments. The list is compiled into the server and is the same for every workspace.
Removes the binding between the trigger and an agent
Unbinds the trigger from an agent so the agent no longer runs when the trigger fires. The call is idempotent: removing a binding that does not exist still succeeds with 204. Neither the trigger nor the agent is deleted.