adding api doc for CastVote