curl --location --request GET 'https://test.your-api-server.com/api/connection' \
--header 'Authorization: Bearer <token>'{
"connections": [
{
"_id": "507f1f77bcf86cd799439011",
"name": "PLC_Linea_1",
"driver": "ethernetIP",
"address": "192.168.1.100",
"addressRead": "192.168.1.100",
"port": 44818,
"portRead": 44818,
"slot": 0,
"cycle": 1000,
"tags": [
{
"address": "DB1.DBD0",
"name": "Temperature_Sensor_1",
"type": "BOOL",
"scope": "read",
"alias": "temp_sensor_1",
"isArray": false,
"arraySize": 10,
"arrayIndex": "all",
"isUDT": false,
"udtMember": "Value",
"udtType": "TemperatureSensor",
"dataTypeCode": 8,
"description": "Sensor de temperatura en línea de producción 1",
"unit": "°C",
"category": "Sensores"
}
]
}
]
}