feat: add some documentation for create_all_permission_share_with_group

pull/110/head^2
Kevin ICOL 4 years ago
parent 3fbee67913
commit 32d14df2ca
  1. 16
      synapse/http/watcha_nextcloud_api.py

@ -211,6 +211,22 @@ class WatchaNextcloudClient(SimpleHttpClient):
requester: the user who want to remove the share
args: request attributes to filter the search.
Payload:
shareType: the type of the share. This can be one of:
0 = user
1 = group
3 = public link
6 = federated cloud share
permissions: the permissions to set on the share.
1 = read (default for public link shares);
2 = update;
4 = create;
8 = delete;
15 = read/write;
16 = share;
31 = All permissions.
Status codes:
100: successful
400: Unknown share type

Loading…
Cancel
Save