Implements addStar api endpoint