The Disqus API docs at https://disqus.com/api/docs/posts/vote/ and https://disqus.com/api/docs/threads/vote/ show some examples on registering votes for Posts and Threads, respectively.
These are the only documented API calls related to voting, and from the docs the calls are to be used to:
Register a vote on a post.
and
Register a vote on a thread.
So what API call should be used to determine if a user has already voted, and what their vote was? Is it up to the application developer utilizing the API to keep track of this?
If you authenticate your API requests with an access token, any requests that include a
post
orthread
will have a property calleduserScore
.On posts, this can be
-1
,0
or1
, which follows the same voting pattern in theposts/vote
API.A thread won't have downvotes of course, so it'll be limited to
0
or1