Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Latest commit

 

History

History
75 lines (49 loc) · 2.15 KB

DataSourcesApi.md

File metadata and controls

75 lines (49 loc) · 2.15 KB

DataSourcesApi

All URIs are relative to /activiti-app/api

Method HTTP request Description
getDataSources GET /enterprise/editor/data-sources Get data sources

getDataSources

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);
});

Models

ResultListDataRepresentationDataSourceRepresentation

Properties

Name Type
data DataSourceRepresentation[]
size number
start number
total number

DataSourceRepresentation

Properties

Name Type
config DataSourceConfigRepresentation
id number
name string
tenantId number

DataSourceConfigRepresentation

Properties

Name Type
driverClass string
jdbcUrl string
password string
username string