def METHOD_NAME(self, docname, moderator):
    """Get metadata for a document. This is currently just a dict
    of node_id's with associated comment counts.
    :param docname: the name of the document to get metadata for.
    :param moderator: whether the requester is a moderator.
    """
    raise NotImplementedError()