Returns a map of Connection RIDs to their corresponding configurations. Connections are filtered from the response if they don't exist or the requesting token lacks the required permissions.
The maximum batch size for this endpoint is 200.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:connectivity-connection-read.
list<GetConfigurationConnectionsBatchRequestElement>objectobjectmap<ConnectionRid, ConnectionConfiguration>1
2
3
4
5
curl -X POST \
\t-H "Content-type: application/json" \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/connectivity/connections/getConfigurationBatch" \
-d '[{"connectionRid":"ri.magritte..source.c078b71b-92f9-41b6-b0df-3760f411120b"}]'1
2
3
4
5
6
7
8
9
{
"data": {
"ri.magritte..source.c078b71b-92f9-41b6-b0df-3760f411120b": {
"type": "jdbc",
"url": "jdbc:postgresql://localhost:5432/test",
"driverClass": "org.postgresql.Driver"
}
}
}