v70

latestOpenAPI 3.0.0EUPLraw.githubusercontent.com2026-08-031426201.0 MB
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

outputstring required

The serialised transformation output produced by the transformer.

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"
  }
}