def METHOD_NAME(self, obj):
    api_links = {
        "index": obj.get_api_url(),
        "likes": obj.get_likes_api_url(),
        "editor": obj.get_editor_api_url(),
        "edits": obj.get_edits_api_url(),
        "read": obj.get_read_api_url(),
    }
    if obj.is_event:
        del api_links["likes"]
    return api_links