Hello everyone,
Could you please explain me the difference between those API.
Thank you.
Solved! Go to Solution.
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
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
/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
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
Thank you , great answer
Thank you !
Thanks for the help
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.