curl --location --request PUT 'https://api.hiveflow.ai/api/flows//edges/' \
--header 'Content-Type: application/json' \
--data-raw '{
"source": "string",
"target": "string",
"sourceHandle": "string",
"targetHandle": "string",
"type": "smoothstep",
"animated": true,
"style": {},
"data": {
"isConditional": true,
"conditionIndex": 0,
"conditionValue": "string",
"label": "string",
"weight": 0,
"metadata": {}
}
}'
{
"success": true,
"edge": {
"id": "string",
"source": "string",
"target": "string",
"sourceHandle": "string",
"targetHandle": "string",
"type": "string",
"data": {
"isConditional": true,
"conditionIndex": 0
}
},
"message": "Conexión actualizada exitosamente"
}