04-05-2017 03:58 AM
Hello everyone,
Could you please explain me the difference between those API.
Thank you.
04-05-2017 12:00 PM
Hello,
Since you have mentioned "enterprise", I am assuming that you are referring to Alfresco Process Service (formerly known as Alfresco Activiti Enterprise). The REST API root of the enterprise product is "activiti-app/api/".
Since the enterprise product is built on top of the core engine which is open source, all the following core "Process Engine APIs" are available directly under activiti-app/api/. Process Engine REST API | Alfresco Documentation
There is also a set of Enterprise APIs to support some of the enterprise only features which are available under "activiti-app/api/enterprise". They are known as "Process Services APIs". They are documented at http://docs.alfresco.com/process-services1.6/topics/process_services_api.html
If you have an enterprise implementation, the usage of these APIs depends on your requirement.
I also noticed that you have "/app" in your question. Please note that those APIs are there mainly for the OOTB activiti-app UI use and is secured using the cookie approach based on the logged-in user, device etc. They are classified as "Internal" APIs and are subject to change in newer versions.
Hope I answered your question!
Regards,
Ciju
04-05-2017 12:00 PM
Hello,
Since you have mentioned "enterprise", I am assuming that you are referring to Alfresco Process Service (formerly known as Alfresco Activiti Enterprise). The REST API root of the enterprise product is "activiti-app/api/".
Since the enterprise product is built on top of the core engine which is open source, all the following core "Process Engine APIs" are available directly under activiti-app/api/. Process Engine REST API | Alfresco Documentation
There is also a set of Enterprise APIs to support some of the enterprise only features which are available under "activiti-app/api/enterprise". They are known as "Process Services APIs". They are documented at http://docs.alfresco.com/process-services1.6/topics/process_services_api.html
If you have an enterprise implementation, the usage of these APIs depends on your requirement.
I also noticed that you have "/app" in your question. Please note that those APIs are there mainly for the OOTB activiti-app UI use and is secured using the cookie approach based on the logged-in user, device etc. They are classified as "Internal" APIs and are subject to change in newer versions.
Hope I answered your question!
Regards,
Ciju
04-06-2017 05:06 AM
Thank you , great answer
04-05-2017 12:06 PM
/app - Queries only intended to be available to the internal functions of the Activiti.
/api - Queries intended to be open and available as REST endpoints for the user to hit.
/runtime - Queries for runtime data.
/history - Queries for historic data.
/repository - Queries pointing to the stored data pertaining to models/tasks/process-instances, etc. These URLs are typically returned in the 'contentURL' or 'url' portion of a successful response body.
/enterprise - Queries made available in a valid instance of Activiti enterprise.
Hope this clarifies,
-JEarles
04-05-2017 02:17 PM
Adding a little more colour commentary.
The latest version of Alfresco process Services powered by Activiti (a mouthful for sure) includes Swagger documentation and test utilities over the /enterprise API.
Details can be found here: Using the REST API Explorer | Alfresco Documentation
This means for application developers can test the API can verify request and result payload outside the context of the application itself, hence saving great deal of time and effort.
Cheers,
Greg
#bp3
04-06-2017 05:07 AM
Thank you !
04-06-2017 05:08 AM
Thanks for the help
Explore our Alfresco products with the links below. Use labels to filter content by product module.