Connections

Manage the connections used by the datasets.
Contact
Talend

Endpoints

Global security

These security schemes apply to the entire API

Security scheme

This scheme can be referenced across the API

Public

This Bearer authentication can be set in the Authorization header of your requests.

Authentication tokens and Personal Access Tokens are supported.

Personal Access Tokens can be generated in the Profile Preferences page of the Talend Cloud Portal.

Bearer authentication
Name Description
Format Bearer <token>

Get the list of connections

GET /connections
Use this method to list all the connections that have been created for a given user account.

Request

Query parameters
Name Description Type Attributes and examples
tqlQuery Filter on dataset’s list by using TQL string Optional

Response

200Status 200
successful operation
Body
details
Name Description Type Attributes and examples
array of ConnectionListView
Datatype details
Type Description Attributes and examples
array
ConnectionListView
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not Authorized
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Delete a connection

DELETE /connections/{connectionId}
Use this method to delete a given connection based on its id. You cannot delete connections with existing datasets based on it. The datasets must be deleted first.

Request

Path variables
Name Description Type Attributes and examples
connectionId string Required

Response

200Status 200
successful operation
Body
CommandSuccess
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not Authorized
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

Get a connection

GET /connections/{connectionId}
Use this method to get information on a given connection based on its id.

Request

Path variables
Name Description Type Attributes and examples
connectionId string Required

Response

200Status 200
successful operation
Body
ConnectionResponse
400Status 400
Bad request
Body
ErrorMessageBody
401Status 401
Not authenticated
Body
ErrorMessageBody
403Status 403
Not Authorized
Body
ErrorMessageBody
404Status 404
Dataset not found
Body
ErrorMessageBody
500Status 500
Internal server error
Body
ErrorMessageBody
502Status 502
Bad gateway
Body
ErrorMessageBody
503Status 503
Service unavailable
Body
ErrorMessageBody

ConnectionListView

Object
Name Description Type Attributes and examples
id UUID string Optional
label Display name of the connection string Required
type Identifier for the type of the connection string Required
typeLabel Label for the connection type string Optional
cloudAgentId ID of the engine configured for this connection string Optional
datasetsCount Number of datasets using this connection integer Required
INT32
entitlements array of string Optional
Datatype details
Type Description Attributes and examples
array Intersection of TMC user entitlements and the user sharing entitlements
string
icon Icon identifier for this connection, for the user interface display string Optional
sharing SharingState Required
tags array of string Optional
Datatype details
Type Description Attributes and examples
array List of tags set on this connection
string
created Timestamp of the creation datetime Required
RFC3339
updated Timestamp of the last update datetime Required
RFC3339
createdBy ID of the user who created this connection string Optional
updatedBy ID of the user who updated in last this connection string Optional

ConnectionResponse

Object
Name Description Type Attributes and examples
id UUID string Optional
label Display name for the connection string Required
description Description of the connection string Optional
enabled Indicates if this connection is enabled or not boolean Required
type Id for the type of the connection string Required
typeLabel Label for the type of the connection string Optional
cloudAgentId Id of the engine configure for the connection string Optional
datasetsCount Number of datasets using the connection integer Required
INT32
familyId string Optional
icon Id of the icon used to display this connection string Optional
owner ID of the user who owns this connection string Required
properties Configuration for this connection ObjectRequired
tags array of string Optional
Datatype details
Type Description Attributes and examples
array List of tags
string
version Technical version of this connection integer Required
INT64
created Timestamp of the creation for this connection datetime Required
RFC3339
updated Timestamp of the last update for this connection datetime Required
RFC3339
createdBy Id of the user who created the connection string Optional
updatedBy Id of the user who updated in last the connection string Optional

CommandSuccess

Object
Name Description Type Attributes and examples
id string Optional
requestId string Optional

SharingState

Object
Name Description Type Attributes and examples
isOwner Indicates if the current user is owner of the resource boolean Required
isSharedWithOthers Indicates if the resource is shared with other users or groups boolean Required

ErrorMessageBody

Object
Name Description Type Attributes and examples
error string Required
exception string Optional
message string Optional
path string Required
status integer Required
INT32
timestamp integer Required
INT64
back to top