Merged HEAD (5.2) to 5.2.N (5.2.1)

126689 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      126661 jvonka: RA-1045: As requested for SFS, allow rendition details (available/created renditions only) for shared link to be listed via no auth.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126989 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ancuta Morarasu
2016-05-11 12:57:39 +00:00
parent 8aacfd1b1f
commit 742a76a7c7
7 changed files with 110 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ package org.alfresco.rest.api;
import org.alfresco.rest.api.model.QuickShareLink;
import org.alfresco.rest.api.model.QuickShareLinkEmailRequest;
import org.alfresco.rest.api.model.Rendition;
import org.alfresco.rest.framework.core.exceptions.EntityNotFoundException;
import org.alfresco.rest.framework.resource.content.BinaryResource;
import org.alfresco.rest.framework.resource.parameters.CollectionWithPagingInfo;
@@ -57,6 +58,16 @@ public interface QuickShareLinks
*/
BinaryResource readProperty(String sharedId, String renditionId, Parameters parameters) throws EntityNotFoundException;
/**
* List renditions info - note: only returns available (=> created) renditions.
*
* Note: does *not* require authenticated access for (public) shared link.
*
* @param sharedId
* @return
*/
CollectionWithPagingInfo<Rendition> getRenditions(String sharedId);
/**
* Delete the shared link.
*