All URIs are relative to https://adfdev.envalfresco.com/activiti-app/api
Method | HTTP request | Description |
---|---|---|
getEndpointConfiguration | GET /enterprise/editor/endpoints/{endpointConfigurationId} | Get an endpoint configuration |
getEndpointConfigurations | GET /enterprise/editor/endpoints | List endpoint configurations |
EndpointConfigurationRepresentation getEndpointConfiguration(endpointConfigurationId)
Get an endpoint configuration
import EndpointsApi from 'EndpointsApi';
import { AlfrescoApi } from 'alfresco-js-api';
this.alfrescoApi = new AlfrescoApi();
this.alfrescoApi.setConfig({
hostEcm: 'http://127.0.0.1:8080'
});
let endpointsApi = new EndpointsApi(this.alfrescoApi);
endpointsApi.getEndpointConfiguration(endpointConfigurationId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
endpointConfigurationId | number | endpointConfigurationId |
EndpointConfigurationRepresentation
EndpointConfigurationRepresentation getEndpointConfigurations()
List endpoint configurations
import EndpointsApi from 'EndpointsApi';
import { AlfrescoApi } from 'alfresco-js-api';
this.alfrescoApi = new AlfrescoApi();
this.alfrescoApi.setConfig({
hostEcm: 'http://127.0.0.1:8080'
});
let endpointsApi = new EndpointsApi(this.alfrescoApi);
endpointsApi.getEndpointConfigurations().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
This endpoint does not need any parameter.