02-15-2017 07:16 AM
We upgraded from Alfresco 4.2.2 to Alfresco 5.1.1.
Our "view in browser" links went from http://<hostname>:<port>/share/proxy/api/node
to http://<hostname>:<port>/share/proxy/slingshot/node
we can still use either link.
Why did it change? What is the difference?
We have third party apps that resolve links but cannot resolve the slingshot links which is why I am asking.
02-15-2017 02:22 PM
Alfresco has made a couple of efforts to better distinguish "public APIs" that should be safe for integration with external applications, and "internal APIs" that only exist to be used via Alfresco Share. "slingshot" is the historic, low-level project name for Share, and anything that is related to "slingshot" should be considered "internal API", which might change without notice from one version to another, and is thus not safe for integrations.
For Alfresco 5.1. you can read about the public ReST API in the documentation. With Alfresco 5.2 they have introduced a formal v1 ReST API.
02-15-2017 05:22 PM
Some web scripts have a "lifecycle" that indicates whether they are internal, draft public, or public. I agree with Axel that you should avoid using any of the slingshot URLs. But you should also get in the habit of checking that lifecycle so that you don't inadvertently use an internal API regardless of whether it is "slingshot" or not.
Explore our Alfresco products with the links below. Use labels to filter content by product module.