Get all connections for an application
get
/epm/rest/v1/applications/{applicationId}/connections
Request
Path Parameters
Back to Top
Response
Supported Media Types
- application/json
200 Response
successful operation
Root Schema : ItemsConnections
Type:
Show Source
object
-
count:
integer(int32)
-
hasMore:
boolean
-
items:
array items
Read Only:
true
-
limit:
integer(int32)
-
links:
array links
Read Only:
true
-
offset:
integer(int32)
-
totalResults:
integer(int32)
Nested Schema : Connection
Type:
Show Source
object
-
connectionDetails:
string
Read Only:
true
A string containing a json representation of the connection details -
connectionInfo:
object ConnectionInfo
-
description:
string
Read Only:
true
The description of the connection -
id:
string(uuid)
Read Only:
true
-
links:
array links
Read Only:
true
-
name:
string
Read Only:
true
The name of the connection -
primary:
boolean
A flag indicating if this is the primary connection for this application
Nested Schema : ConnectionInfo
Type:
Show Source
object
-
domain:
string
The identity domain for the connection
-
password:
string
Read Only:
true
A placeholder value for the connection's password -
url:
string
Read Only:
true
The target url of the connection -
username:
string
Read Only:
true
The user name to authenticate the connection
Examples
The following example shows how to retrieve the list of connections for an application by submitting a get request on the REST resource using cURL.
cURL Command
curl --user epm_cloud_user -X GET \ https://servername.fa.us2.oraclecloud.com/epm/rest/v1/applications/e63e92c4-4727-4999-97f2-50498cb40ec7/connections
Example of Response Body
The following shows an example of the response body in JSON format.
{ "items": [ { "id": "445e92f5-e232-4100-b709-a875c06cf294", "name": "Corporate Planning Server", "description": "", "connectionDetails": "{\"url\":\"http://epbcsserver/\",\"domain\":\"myidenitydomain\",\"username\":\"user\",\"password\":\"daa64d99-9c88-4109-a75b-c9756b7d0796\"}", "primary": true, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/applications/e63e92c4-4727-4999-97f2-50498cb40ec7/connections/445e92f5-e232-4100-b709-a875c06cf294" }, { "rel": "connectionResources", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/applications/e63e92c4-4727-4999-97f2-50498cb40ec7/connections/445e92f5-e232-4100-b709-a875c06cf294/resources", "templated": true, "method": "GET" } ] }, { "id": "b0228ab4-0078-4e17-a7b3-9becf5e77c68", "name": "Backup Planning Server", "description": "", "connectionDetails": "{\"url\":\"http://backupserver/epbcs\",\"domain\":\"identitydomain\",\"username\":\"sampleUser\",\"password\":\"daa64d99-9c88-4109-a75b-c9756b7d0796\"}", "primary": false, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/applications/e63e92c4-4727-4999-97f2-50498cb40ec7/connections/b0228ab4-0078-4e17-a7b3-9becf5e77c68" }, { "rel": "connectionResources", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/applications/e63e92c4-4727-4999-97f2-50498cb40ec7/connections/b0228ab4-0078-4e17-a7b3-9becf5e77c68/resources", "templated": true, "method": "GET" } ] } ], "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/applications/e63e92c4-4727-4999-97f2-50498cb40ec7/connections" } ], "hasMore": false, "totalResults": 2, "limit": 0, "count": 2 }