Added REST API 'getVotes'