Added REST endpoint 'getVotes'