General Information
Connection Type
UI Documentation
📖 For detailed information: [UI Documentation Link - Link will be added here]
Endpoints
List Connections
Get Connection
Create Connection
Update Connection
Delete Connection
List Connections
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
type query parameter is required to filter connections by type.
cURL Example
Get Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name |
Response
Success Response (200 OK)
cURL Example
Create Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
| Content-Type | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name |
Request Body
Full JSON Body Example - FTP
Full JSON Body Example - SFTP
Full JSON Body Example - FTPS (Implicit)
Full JSON Body Example - FTPS (Explicit)
Request Body Fields
Common Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| type | string | Yes | - | Connection type discriminator field. Identifies the connection type in API requests/responses. |
| name | string | Yes | - | Connection name (must match path parameter) |
| description | string | No | - | Connection description |
| deployToWorker | boolean | No | true | Whether to deploy to worker |
| enabled | boolean | No | true | Whether connection is enabled |
FTP-Specific Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| host | string | Yes | - | FTP server hostname or IP address |
| port | integer | No | 21 | FTP server port (21 for FTP/FTPS, 22 for SFTP, 990 for FTPS implicit) |
| username | string | Yes | - | FTP username |
| password | string | Yes | - | FTP password (secret field) |
| workingDir | string | No | / | Working directory path |
| protocol | string | Yes | - | FTP protocol type. See EnumFtpProtocol |
| timeout | integer | No | 30000 | Connection timeout in milliseconds |
| retryCount | integer | No | 3 | Number of retry attempts on failure |
| useImplicit | boolean | No | false | Use implicit SSL/TLS (for FTPS only) |
| useExplicit | boolean | No | false | Use explicit SSL/TLS (for FTPS only) |
| sslProtocol | string | No | null | SSL protocol version (e.g., “TLS”, “SSL”, “TLSv1.2”) |
EnumFtpProtocol
FTP- Standard FTP protocol (port 21)SFTP- SSH File Transfer Protocol (port 22)FTPS- FTP over SSL/TLS (port 21 for explicit, 990 for implicit)
Note
host,username, andpasswordare required.protocolis required.- For FTPS, either
useImplicit: trueoruseExplicit: truemust be set. useImplicitanduseExplicitare mutually exclusive.- Default ports: 21 (FTP/FTPS explicit), 22 (SFTP), 990 (FTPS implicit).
Response
Success Response (200 OK)
cURL Example
Update Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
| Content-Type | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name (must match name in body) |
Request Body
Full JSON Body Example
Response
Success Response (200 OK)
Delete Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name |
Response
Success Response (200 OK)
Notes and Warnings
-
FTP Protocols:
FTP- Standard FTP (not encrypted, not recommended for production)SFTP- SSH File Transfer Protocol (encrypted, recommended)FTPS- FTP over SSL/TLS (encrypted, recommended)
-
Ports:
- FTP: 21 (default)
- SFTP: 22 (default)
- FTPS explicit: 21 (default)
- FTPS implicit: 990 (default)
-
SSL/TLS:
useImplicit: true- SSL/TLS connection from start (port 990)useExplicit: true- SSL/TLS connection after AUTH command (port 21)useImplicitanduseExplicitare mutually exclusivesslProtocolspecifies protocol version (TLS, SSL, TLSv1.2, etc.)
-
Working Directory:
workingDirspecifies the default directory for file operations- Defaults to ”/” (root directory)
- Can be absolute or relative path
-
Timeout and Retry:
timeout- Connection timeout in millisecondsretryCount- Number of retry attempts on failure- Recommended timeout: 30000ms (30 seconds)
-
Security:
- Use SFTP or FTPS in production (not plain FTP)
- Use strong passwords
- Consider using key-based authentication for SFTP
-
Performance:
- Timeout settings affect connection behavior
- Retry count helps with transient failures
-
Deployment: Connection changes require deployment to take effect. Set
deployToWorker: trueor deploy manually.
Related Documentation
- List Connections - List all connections
- Get Connection - Get a specific connection
- Create Connection - General connection creation guide
- Update Connection - General connection update guide
- Delete Connection - General connection deletion guide

