diff options
author | Cyrille Bollu <cyr.debian@bollu.be> | 2021-05-03 14:29:45 +0300 |
---|---|---|
committer | Cyrille Bollu <cyr.debian@bollu.be> | 2021-05-03 16:53:39 +0300 |
commit | 43bfc1db9584dc98efa0d1d5a30bdd1efe47fa33 (patch) | |
tree | a5676f92d0a60d814a35f9c2644842d99acb9c69 /README.md | |
parent | 6633e64d198c2b042dbee8072ba8f148ddcc2855 (diff) |
Documents the /folders/{id}/manageACL route
Signed-off-by: Cyrille Bollu <cyr.debian@bollu.be>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -103,6 +103,10 @@ The following REST API's are supported: - `DELETE apps/groupfolders/folders/$folderId/groups/$groupId`: Remove access from a group to a folder - `POST apps/groupfolders/folders/$folderId/acl`: Enable/Disable folder advanced permissions - `acl` 1 for enable, 0 for disable. +- `POST apps/groupfolders/folders/$folderId/manageACL`: Grants/Removes a group or user the ability to manage a groupfolders' advanced permissions + - `$id`: the id of the group/user to be granted/removed access to/from the folder + - `$type`: 'group' or 'user' + - `$manageACL`: true to grants ability to manage a groupfolders' advanced permissions, false to remove - `POST apps/groupfolders/folders/$folderId/groups/$groupId`: Set the permissions a group has in a folder - `permissions` The new permissions for the group as bitmask of [permissions constants](https://github.com/nextcloud/server/blob/b4f36d44c43aac0efdc6c70ff8e46473341a9bfe/lib/public/Constants.php#L65) - `POST apps/groupfolders/folders/$folderId/quota`: Set the quota for a folder |