Use case 1: Get all Data Sources in the system
Follow this example to get all Data Sources in the system.
Step
-
Use the GET method on the end point /api/em/v2/datasources.
Sample Response:
Copy{ "data":[{ "id": "101", "type": "DataSource", "attributes":
{ "name": "Text Store 1", "description": "My Data Source", "type":
"TextAnalytics", "subtype": "TextStore", "parentID": "21",
"organizationId": -3001, "externalId": 5000550, "associatedRoles":
[ 678001, 678002 ] } }] }