By pawansaxena - Sun Sep 06, 2020 3:41 pm
- Sun Sep 06, 2020 3:41 pm
#828393
Hello All,
Hope you and your loved ones are well and safe.
I have this requirement to add some custome api to processmaker community edition.
I found that there are already v1 api service available in form of Light api - Light.php
Is there any way i can add my methods to light.php or atleast extend it some other class.
I saw the tutorial of creating a new plugin to create new rest endpoints, but the become too much over engineering for adding just 2-3 endpoints.
Another problem with that approach is even if i create a new plugin and add my new rest endpoints there, i have to enable the plugin each time a new workspace is created.
thoughs ?
Thank you
Pawan
Hope you and your loved ones are well and safe.
I have this requirement to add some custome api to processmaker community edition.
I found that there are already v1 api service available in form of Light api - Light.php
Is there any way i can add my methods to light.php or atleast extend it some other class.
I saw the tutorial of creating a new plugin to create new rest endpoints, but the become too much over engineering for adding just 2-3 endpoints.
Another problem with that approach is even if i create a new plugin and add my new rest endpoints there, i have to enable the plugin each time a new workspace is created.
thoughs ?
Thank you
Pawan