Closed luludotdev closed 5 years ago
Unlocks the votes table to allow arbitrary user_id keys. This allows us to use Steam IDs for voting.
votes
user_id
There's a new endpoint /api/songs/voteById/{key}/{direction} This functions similar to the current vote endpoint with a few key differences:
/api/songs/voteById/{key}/{direction}
POST
id
ticket
x-www-form-urlencoded
string
The ticket will be validated on the server and if the Steam IDs match, a vote will be counted.
Unlocks the
votes
table to allow arbitraryuser_id
keys. This allows us to use Steam IDs for voting.There's a new endpoint
/api/songs/voteById/{key}/{direction}
This functions similar to the current vote endpoint with a few key differences:POST
requestid
andticket
fields in ax-www-form-urlencoded
bodyForm Body
id
string
ticket
string
The ticket will be validated on the server and if the Steam IDs match, a vote will be counted.