ContentConnections method

This method retrieves a list of available content connections.

Request

Method URL
GET

/<IIS_Application>/<application>/api/v2.0/ContentConnections

Parameter Type Value
Accept HEAD application/json

Where application is the application to connect to.

Cookie HEAD ASP.NET_SessionId_app = <session_app_key>

Where session_app_key is the Set-Cookie returned by the login request.

<application> URL_PARAM String specifying the name of the application.

Response

Status Response
200 The response is an array containing the list of content connections (object). Each item in the response array has the following structure:
{
"id": "contentconnectionid",
"name": "Name",
"pluginFolder": "PluginFolder",
"provider": "Provider",
"type": "ccType",
    "iconCls": "iconCls"
}

For example:

[
   {
      "id": "76e3e348-42f6-4ff2-9151-ff0daa1d554a",
      "name": "Dashboards",
      "pluginFolder": "Areas/Dashboard",
      "provider": "0d8b4ba3-10aa-48be-b106-6cc8e23707d4",
       "type": "Contents",
       "iconCls": "dashboard-contents",
      [optional]"controller": "Contents"
   },
   {
      "id": "76e3e348-42f6-4ff2-5658-ff0daa1d232e",
      "name": "Toolbox",
      "pluginFolder": "Areas/Dashboard",
      "provider": "0d8b4ba3-10aa-48be-b106-6cc8e23707d4",
      "type": "WidgetTypes",
      "iconCls": "dashboard-toolbox"
   }
]
401

{"message":"The username or password is incorrect."}

500

{"message":"Login credentials are required."}

500

{"message":"Repository not found."}