Transformers
Get transformer by ID
Retrieves a specific transformer by its unique identifier
get/api/transformers/{transformerId}
Path parameters
transformerIdstring required
Response
The transformer object
Example response
{
"id": "transformer123",
"manifest": {
"key": "serverUrl",
"translationKey": "connection.serverUrl",
"validators": [
{
"arguments": []
}
],
"attributes": [
{
"key": "serverUrl",
"translationKey": "connection.serverUrl",
"validators": [
{
"arguments": []
}
],
"displayProperties": {
"row": 1,
"columns": 6,
"displayInViewMode": true
},
"defaultValue": "oibus-client"
}
],
"enablingConditions": [
{
"targetPathFromRoot": "protocol",
"referralPathFromRoot": "connection.type",
"values": [
"MQTT"
],
"operator": "EQUALS"
}
],
"displayProperties": {
"visible": true,
"wrapInBox": true
}
},
"name": "String to Number",
"description": "Converts string input to numeric output",
"customCode": "function transform(input) { return parseFloat(input); }",
"timeout": 2000,
"createdBy": {
"id": "abc123",
"friendlyName": "John Doe (john.doe)"
},
"updatedBy": {
"id": "abc123",
"friendlyName": "John Doe (john.doe)"
},
"createdAt": "2023-10-31T12:34:56.789Z",
"updatedAt": "2023-10-31T12:34:56.789Z"
}