All URIs are relative to /activiti-app/api
Method | HTTP request | Description |
---|---|---|
getDataSources | GET /enterprise/editor/data-sources | Get data sources |
Get data sources
Parameters
Name | Type |
---|---|
tenantId | number |
Return type: ResultListDataRepresentationDataSourceRepresentation
Example
import { AlfrescoApi, DataSourcesApi } from '@alfresco/js-api';
const alfrescoApi = new AlfrescoApi(/*..*/);
const dataSourcesApi = new DataSourcesApi(alfrescoApi);
const opts = {
tenantId: 789
};
datasourcesApi.getDataSources(opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
});
Properties
Name | Type |
---|---|
data | DataSourceRepresentation[] |
size | number |
start | number |
total | number |
Properties
Name | Type |
---|---|
config | DataSourceConfigRepresentation |
id | number |
name | string |
tenantId | number |
Properties
Name | Type |
---|---|
driverClass | string |
jdbcUrl | string |
password | string |
username | string |