mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-03-14 06:22:48 +03:00
Clarified difference between local userID and public userID
This commit is contained in:
committed by
GitHub
parent
95016dab4d
commit
82e3c8395c
@@ -65,7 +65,7 @@ __________________________________________________________________
|
||||
videoID: string,
|
||||
startTime: float,
|
||||
endTime: float,
|
||||
userID: string //This should be a randomly generated UUID
|
||||
userID: string //This should be a randomly generated UUID stored locally (not the public one)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -352,3 +352,8 @@ VIPs have extra privileges and their votes count more.
|
||||
|
||||
400: Bad Request (Your inputs are wrong/impossible)
|
||||
403: Unauthorized (You are not an admin)
|
||||
|
||||
|
||||
### Local userID vs Public userID
|
||||
|
||||
The local userID should be a randomly generated and saved client side. It is used to submit and vote. The public userID is what is used as an identifier in the database. This is the local userID with a SHA 256 hash 5000 times.
|
||||
|
||||
Reference in New Issue
Block a user