platypush/plugins/nextcloud/__init__.py
def list(self, path: str, user_id: Optional[str] = None, depth: int = 1, all_properties: bool = False,
             **server_args) -> List[dict]:
        """
        List the content of a folder on the NextCloud instance.

        :param path: Remote path.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :param depth: Search depth (default: 1).
        :param all_properties: Return all the file properties available (default: ``False``).
        :param server_args: Override the default server settings (see :meth:`._get_client` arguments).
        """
        user_id = user_id or server_args.get('username', self.conf.username)
        return self._execute(server_args, 'list_folders', user_id, path, depth=depth, all_properties=all_properties)

        List the content of a folder on the NextCloud instance.

        :param path: Remote path.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :param depth: Search depth (default: 1).
        :param all_properties: Return all the file properties available (default: ``False``).
        :param server_args: Override the default server settings (see :meth:`._get_client` arguments).
        
List the content of a folder on the NextCloud instance.
List the content of a folder on the NextCloud instance .
def list(self, path: str, user_id: Optional[str] = None, depth: int = 1, all_properties: bool = False,
             **server_args) -> List[dict]:
        user_id = user_id or server_args.get('username', self.conf.username)
        return self._execute(server_args, 'list_folders', user_id, path, depth=depth, all_properties=all_properties)
def list ( self , path : str , user_id : Optional [ str ] = None , depth : int = 1 , all_properties : bool = False , ** server_args ) -> List [ dict ] : user_id = user_id or server_args . get ( 'username' , self . conf . username ) return self . _execute ( server_args , 'list_folders' , user_id , path , depth = depth , all_properties = all_properties )
List the content of a folder on the NextCloud instance.
List the content of a folder on the NextCloud instance .
"""
        List the content of a folder on the NextCloud instance.

        :param path: Remote path.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :param depth: Search depth (default: 1).
        :param all_properties: Return all the file properties available (default: ``False``).
        :param server_args: Override the default server settings (see :meth:`._get_client` arguments).
        """
self
path
str
None
user_id
Optional[str]
User ID associated to the resource (default: same as the configured user).
User ID associated to the resource ( default : same as the configured user ) .
depth
int
Search depth (default: 1).
Search depth ( default : 1 ) .
all_properties
bool
Return all the file properties available (default: ``False``).
Return all the file properties available ( default : ` ` False ` ` ) .
server_args
Override the default server settings .
Override the default server settings .