Skip to main content

Get one foreign data connection.

GET/api/v1/foreign-data-connections/{foreign_data_connection_id}connectors:read

Returns the connection's name, database type and when it was set up. Its host, port, user name, database and secret are never returned. Needs View Foreign Data Connections.

Scopeconnectors:read (sensitive)
AsynchronousNo
MCP toolget_foreign_data_connection
Portal permissionsview_foreign_data_connections

Parameters​

NameInTypeRequiredDescription
foreign_data_connection_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json ForeignDataConnection
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ForeignDataConnection​

FieldTypeRequiredDescription
created_atstring (date-time) or nullRequired
created_byUserRef or nullRequired
foreign_data_connection_idstringRequired
modified_atstring (date-time) or nullRequired
modified_byUserRef or nullRequired
namestring or nullRequired
typestring or nullRequiredThe database type (an open enum).

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired