Classic APIs
ClassicGamesApi
authedUserUniverseVoteStatus

authedUserUniverseVoteStatus

Gets the authenticated users vote status for a particular universe.

Parameters

NameTypeDescription
universeIdIdentifierThe ID of the universe to get vote status for.

Example

const { data: voteStatus } = await ClassicGamesApi.authedUserUniverseVoteStatus({ universeId: 1685831367 }); 

Example Data

{ canVote: false, userVote: true, reasonForNotVoteable: "PlayGame" } 

Endpoint

GET /v1/games/{universeId}/votes/user