@must_have_addon(SHORT_NAME, 'user')
@must_have_addon(SHORT_NAME, 'node')
def owncloud_folder_list(node_addon, user_addon, **kwargs):
 path = request.args.get('path')
 return node_addon.get_folders(path=path)

@ must_have_addon ( SHORT_NAME , 'user' ) @ must_have_addon ( SHORT_NAME , 'node' ) def owncloud_folder_list ( node_addon , user_addon , ** kwargs ) : path = request . args . get ( 'path' ) return node_addon . get_folders ( path = path )
returns all the subsequent folders under the folder id passed .