FlowDrop Docs
API referenceConfiguration

Get port configuration

Retrieve the complete port configuration system including available data types, compatibility rules, and default settings. This configuration determines how nodes can be connected in workflows based on port data types.

GET
/port-config

Authorization

AuthorizationBearer <token>

JWT token for authentication

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/port-config"
{  "success": true,  "data": {    "version": "1.0.0",    "defaultDataType": "mixed",    "dataTypes": [      {        "id": "string",        "name": "String",        "description": "Text data type",        "color": "#3b82f6",        "category": "primitive",        "aliases": [          "text",          "str"        ],        "enabled": true      },      {        "id": "number",        "name": "Number",        "description": "Numeric data type",        "color": "#10b981",        "category": "primitive",        "enabled": true      },      {        "id": "mixed",        "name": "Mixed",        "description": "Any data type",        "color": "#6b7280",        "category": "special",        "enabled": true      }    ],    "compatibilityRules": [      {        "from": "string",        "to": "mixed",        "description": "Strings can connect to mixed ports"      },      {        "from": "number",        "to": "mixed",        "description": "Numbers can connect to mixed ports"      },      {        "from": "mixed",        "to": "string",        "description": "Mixed can connect to string with conversion"      }    ]  },  "message": "Port configuration loaded successfully"}