{"action":"closed","issue":{"url":"https://api.github.com/repos/moebooru/moebooru/issues/27","labels_url":"https://api.github.com/repos/moebooru/moebooru/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/moebooru/moebooru/issues/27/comments","events_url":"https://api.github.com/repos/moebooru/moebooru/issues/27/events","html_url":"https://github.com/moebooru/moebooru/issues/27","id":109684814,"number":27,"title":"Moebooru API - Query Votes?","user":{"login":"gcscaglia","id":12768288,"avatar_url":"https://avatars.githubusercontent.com/u/12768288?v=3","gravatar_id":"","url":"https://api.github.com/users/gcscaglia","html_url":"https://github.com/gcscaglia","followers_url":"https://api.github.com/users/gcscaglia/followers","following_url":"https://api.github.com/users/gcscaglia/following{/other_user}","gists_url":"https://api.github.com/users/gcscaglia/gists{/gist_id}","starred_url":"https://api.github.com/users/gcscaglia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcscaglia/subscriptions","organizations_url":"https://api.github.com/users/gcscaglia/orgs","repos_url":"https://api.github.com/users/gcscaglia/repos","events_url":"https://api.github.com/users/gcscaglia/events{/privacy}","received_events_url":"https://api.github.com/users/gcscaglia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-04T14:55:59Z","updated_at":"2015-10-04T23:29:59Z","closed_at":"2015-10-04T23:29:59Z","body":"The API has no method to query a post and know which users voted to a post, or at least know if the logged in user has voted for a post. There is a method to cast a vote, but no means to know the current vote of a user.\r\n\r\nWhen actually successfully casting a vote, the response will list all votes for the post from all users. But doing so will destroy the previous vote without means of restore.\r\n\r\nThe only workarounds I can think of is querying the post API with queries such as `id:1 vote:1:user`, `id:1 vote:2:user`, etc, or creating a sentinel user and voting at random with that user to get the full vote list. But either is awful.\r\n\r\nIs there any undocumented method to query this kind of info? Could a method be created for it?"}}