Information about an existing connection. Xplenty provides the following types of connections:
- BigQuery
- Google Cloud SQL for MySQL
- Google Cloud SQL for PostgreSQL
- Heroku Postgres
- MongoDB
- MySQL
- PostgreSQL
- Redshift
- SQL Server
- Bing Ads
- Google Storage
- Google AdWords
- Google Analytics
- Hadoop Distributed File System
- Amazon S3
- Salesforce
- SSH File Transfer Protocol (SFTP)
- NetSuite
- Google Cloud Spanner
- Oracle Database
- Intercom
- Facebook Ads Insights
- Xero
- Snowflake
- Azure Blob Storage
- Google Sheets
- YouTube
- Shopify
- Amazon Athena
- Hubspot
The connection type and connection ID must be supplied at the end of the request URL.
$ curl -X GET -u api_key: "https://api.xplenty.com/:account_id/api/connections/:type/:id" \
-H "Accept: application/vnd.xplenty+json; version=2"
HTTP/1.1 200 OK
{
"id":53,
"name":"Amazon S3 sample connection",
"username": "johndoe",
"unique_id":"S3_CONNECTION_53",
"created_at":"2016-04-21T13:55:43Z",
"updated_at":"2016-04-21T13:55:43Z",
"type":"s3",
"url":"https://api.xplenty.com/xplenation/api/connections/s3/53"
}