Retrieve Connection
get
/services/{version}/connections/{connection}
Retrieve the database connection details.
Request
Path Parameters
-
connection: string
Minimum Length:
1Maximum Length:61Pattern:^[a-zA-Z][a-zA-Z0-9_#$]{1,29}([.][a-zA-Z][a-zA-Z0-9_#$]{1,29})?$Connection name. For each alias in the credential store, a connection with the name 'domain.alias' exists.
-
version: string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
Database connection details retrieved.
Root Schema : Oracle GoldenGate database connection
Type:
objectTitle:
Show Source
Oracle GoldenGate database connection-
$schema(optional):
Allowed Values:
[ "ogg:connection" ] -
credentials:
object credentials
Credentials for database
Nested Schema : credentials
Type:
objectCredentials for database
Show Source
-
$schema(optional):
Allowed Values:
[ "ogg:credentialsRef" ] -
alias(optional):
string
Minimum Length:
1Maximum Length:30Pattern:^[a-zA-Z][a-zA-Z0-9_#$]*$ -
domain(optional):
string
Minimum Length:
1Maximum Length:30Default Value:OracleGoldenGatePattern:^[a-zA-Z][a-zA-Z0-9_#$]*$
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11001/services/v2/connections/LocalDBMS",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/connections/LocalDBMS",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11001/services/v2/metadata-catalog/connection",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:connection",
"credentials":{
"alias":"oggadmin",
"domain":"OracleGoldenGate"
}
}
}