vote api, first draft