forked from Dosugamea/NEXT-OCS-API-forPy
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
In methods list_folders, you can specify the user, therefore an altenative user, but i did'nt have any success using this.
To have this not working is not so bad... it could imply many security issues.
def list_folders(self, uid, path=None, depth=1, all_properties=False):
"""
Get path files list with files properties for given user, with given depth
Args:
---> uid (str): uid of user <---
path (str/None): files path
depth (int): depth of listing files (directories content for example)
all_properties (bool): list all available file properties in Nextcloud
"""
...
# therefore many requests occur to be...
nxc.list_folder(nxc.user, '/')
# if alternative user can't be explored, it may be simpler to do
nxc.list_folder('/')
Metadata
Metadata
Assignees
Labels
No labels