Open exodustx0 opened 3 years ago
I hadn't noticed this until now but I'm seeing the same issue. On I Expect You To Die, there's one super mod and two verifiers, but the games endpoint shows three super mods.
Speedrun.com's backend has a single key for the status of moderators, called "super". A value of 1 means that the user is a super mod, and a value of 0 means that the user is a regular mod. When introducing verifiers to the website, they made the weird decision of making a value of -1 mean that a user is a verifier. If I had to guess, especially since the API hasn't been meaningfully updated in a while, the API does not recognise this "super: -1" value, and just defaults to a value of 1. A simple fix of the API to recognise this new value would likely solve this issue.
Really gross that this is still a thing.
Still seeing this, are there any members on the API team at speedrun.com or is it a backburner project?
are there any members on the API team at speedrun.com or is it a backburner project?
From my understanding there are, but they don't use this repo.
or is it a backburner project
Occasionally, the API gets updates, but not the docs, Camcorder has said that this is because they "only have so much engineering bandwidth". Also, SRC are working on an API v2, which won't be out for a long time
they should just hire me and I would fix it 4Head
still a problem
For example, take this endpoint, representing the game Riven. If you embed
moderators
, you can see that IDzkzw2g9x
refers to a user that's currently a verifier for the game. Call again without the embed query (because when embeddingmoderators
, the users' role for the game aren't included), and you'll see this ID listed as referring to asuper-moderator
.(EDIT - the above example is no longer useful, as that user is no longer a verifier on that leaderboard. See this comment for a live example.)