def METHOD_NAME(self, request, repo_id, comment_id, format=None):
    """Get a comment.
    """
    # resource check
    try:
        file_comment = FileComment.objects.METHOD_NAME(pk=comment_id)
    except FileComment.DoesNotExist:
        return api_error(status.HTTP_400_BAD_REQUEST, 'Wrong comment id')
    if file_comment.uuid.repo_id != repo_id:
        return api_error(status.HTTP_404_NOT_FOUND, 'File comment not found: %s' % comment_id)
    # permission check
    if check_folder_permission(request, repo_id, '/') is None:
        return api_error(status.HTTP_403_FORBIDDEN, 'Permission denied.')
    try:
        avatar_size = int(request.GET.METHOD_NAME('avatar_size',
                                          AVATAR_DEFAULT_SIZE))
    except ValueError:
        avatar_size = AVATAR_DEFAULT_SIZE
    comment = file_comment.to_dict()
    comment.update(user_to_dict(file_comment.author, request=request,
                                avatar_size=avatar_size))
    return Response(comment)