Get a list of repository files and directories in a project.

        :param project_id: The ID of a project
        :param path: The path inside repository. Used to get contend of subdirectories
        :param ref_name: The name of a repository branch or tag or if not given the default branch
        :return: dict with the tree

def getrepositorytree(self, project_id, **kwargs):
        """
        Get a list of repository files and directories in a project.

        :param project_id: The ID of a project
        :param path: The path inside repository. Used to get contend of subdirectories
        :param ref_name: The name of a repository branch or tag or if not given the default branch
        :return: dict with the tree
        """
        data = {}

        if kwargs:
            data.update(kwargs)

        request = requests.get(
            '{0}/{1}/repository/tree'.format(self.projects_url, project_id), params=data,
            verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout)

        if request.status_code == 200:
            return request.json()
        else:
            return False