Test a transformer with input data
Runs a configured transformer (standard or custom, by id) with the given options against the provided input data, returning both the wrapped input and the transformed output. Used to test a north/history transformer with its configured options.
Path parameters
Request body
Example request
{
"inputData": "[{\"timestamp\":\"2024-01-01T00:00:00.000Z\",\"pointId\":\"sensor1\",\"value\":\"42.0\"}]",
"options": {
"precision": 2
}
}Response
The wrapped input and transformed output
Example response
{
"raw": {
"type": "time-values",
"content": [
{
"pointId": "point1",
"timestamp": "2023-10-31T12:34:56.789Z"
}
]
},
"transformed": {
"type": "time-values",
"content": [
{
"pointId": "point1",
"timestamp": "2023-10-31T12:34:56.789Z"
}
]
}
}Changes
Changed in 7 of the 73 revisions of this API.36
- ○
added the required property
connectionDurationto the response with the200statusresponse-required-property-added
- ○
added the required property
queryDurationto the response with the200statusresponse-required-property-added
- ○
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ▲
removed the success response with the status
204response-success-status-removed
- ○
added the success response with the status
200response-success-status-added
- ▲
- ○
endpoint added
endpoint-added
This revision also has 219 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○