def list(self, path):
self.__validate_storage_path(path)<EOL>entity = self.api_client.get_entity_by_query(path=path)<EOL>if entity['<STR_LIT>'] not in self.__BROWSABLE_TYPES:<EOL><INDENT>raise StorageArgumentException('<STR_LIT>'<EOL>'<STR_LIT>'.format(entity['<STR_LIT>']))<EOL><DEDENT>entity_uuid = entity['<STR_LIT>']<EOL>file_names = []<EOL>more_pages = True<EOL>page_number = <NUM_LIT:1><EOL>while more_pages:<EOL><INDENT>response = self.api_client.list_folder_content(<EOL>entity_uuid, page=page_number, ordering='<STR_LIT:name>')<EOL>more_pages = response['<STR_LIT>'] is not None<EOL>page_number += <NUM_LIT:1><EOL>for child in response['<STR_LIT>']:<EOL><INDENT>pattern = '<STR_LIT>' if child['<STR_LIT>'] == '<STR_LIT>' else '<STR_LIT>'<EOL>file_names.append(pattern.format(name=child['<STR_LIT:name>']))<EOL><DEDENT><DEDENT>return file_names<EOL>
List the entities found directly under the given path.

        Args:
            path (str): The path of the entity to be listed. Must start with a '/'.

        Returns:
            The list of entity names directly under the given path:

                u'/12345/folder_1'

        Raises:
            StorageArgumentException: Invalid arguments
            StorageForbiddenException: Server response code 403
            StorageNotFoundException: Server response code 404
            StorageException: other 400-600 error codes