Request
GET /api/repo/<connectorid>/acls?id=<id>&listAll=<listAll>&isFolder=<isFolder>
Description:
Retrieves a list of in the format of ["Grantree:Access1,Access2",..... ]
Path Parameters:
- connectorid: The connector id of your content service connector
Query Parameters:
- id: The repository id of the item.
Optional Parameters:
listAll: Boolean value. If the access lists falls under a default permissions sets and this is true, will list all permissions instead of template names. Default false, isFolder: Is the item a folder? Default false.
Example
GET /api/repo/fn/acls?id=6385C1A5-EF01-45F1-86C3-FDC3C4E3B6A8
Returns:
{ "results": [ "cn=P8User,O=SAMPLE:FULL_CONTROL", "cn=P8Viewer,O=SAMPLE:VIEW_PROPERTIES" ], "success": "true" }
Example With CURL
curl -u admin:admin "localhost:8081/3sixty-admin/api/repo/fn/acls?id=6385C1A5-EF01-45F1-86C3-FDC3C4E3B6A8" | json_pp