Transformers
Test a custom transformer
Runs a custom transformer against the provided input data and returns the transformed output. Use this endpoint to validate transformer logic before saving it.
post/api/transformers/test
Request body
Response
The transformation output and execution metadata
Example response
{
"output": "{\"topic\":\"sensors/sensor1\",\"payload\":42}",
"metadata": {
"numberOfElement": 1,
"createdAt": "2023-10-31T12:34:56.789Z",
"contentSize": 256,
"contentFile": "/tmp/transformer-output-1234.csv",
"contentType": "application/json"
}
}