List datasources from account

GET /accounts/{account_externalid}/datasources

List all the datasources (connected applications) in one customer account.

Fields in response:

  • name: name given by the user, e.g. Our Salesforce EU instance
  • connector.name: the name of the connector, e.g. Salesforce
  • is_used: whether the datasource is hardcoded for usage in a Blend. If a template is activated, the datasource is hardcoded in the instance Blend, because a datasource was selected in the Setup Flow. Note that in manually created Blends, by default the datasource is loosely coupled in the Blends. This means that this field is not always accurate. A datasource might have is_used=false and still be used by a live Blend, because it is the only datasource in the account.
  • is_connected: whether the connection was succesful (status = green in Blendr.io).

Path Parameters

Name Description Type
account_externalid string

Results

200

{
  "data": [
    {
      "guid": "22d753a0-9440-11ea-8965-3daae398b517",
      "name": "CRM",
      "connector": {
        "guid": "22d69680-9440-11ea-a4f9-f10edc659c47",
        "name": "CRM"
      },
      "is_used": false,
      "is_connected": true,
      "created_at": "2020-05-12T11:02:57.000000Z",
      "updated_at": "2020-05-12T11:02:57.000000Z"
    }
  ],
  "links": {
    "first": "https://admin.blendr.io/api/v1/accounts/22d2a050-9440-11ea-8e6b-edbf82e20c48/datasources?page=1",
    "last": "https://admin.blendr.io/api/v1/accounts/22d2a050-9440-11ea-8e6b-edbf82e20c48/datasources?page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "path": "https://admin.blendr.io/api/v1/accounts/22d2a050-9440-11ea-8e6b-edbf82e20c48/datasources",
    "per_page": 15,
    "to": 1,
    "total": 1
  }
}

400

{}