Alfresco / rest-api-explorer

Public REST API Explorer
Apache License 2.0
37 stars 25 forks source link

Add missing path information present on SharedLinks #115

Closed agologan closed 3 years ago

agologan commented 3 years ago

Pretty self-explanatory, path information is available but undocumented.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

montgolfiere commented 3 years ago

@agologan Just for reference, it should be noted that it is only present when authenticated and explicitly included:

https://github.com/Alfresco/alfresco-community-repo/blob/master/remote-api/src/main/java/org/alfresco/rest/api/impl/QuickShareLinksImpl.java#L608-L612

In other words, unauthenticated access to the shared link will not return the path info, even if requested.

agologan commented 3 years ago

Noted, the pathInfo is an optional parameter which should fit the contract.