leaderboardsgg / leaderboard-backend

The backend for Leaderboards.gg. Also holds public-facing APIs.
https://info.leaderboards.gg
GNU General Public License v3.0
12 stars 16 forks source link

refactor: split up GET Bans into two separate routes. #92

Closed JoshDevHub closed 2 years ago

JoshDevHub commented 2 years ago

Refactor of the GET Bans method into two separate routes, one for leaderboard ID and one for user ID. Dropped route for GET all bans.

TemperGrace commented 2 years ago

When this is reviewed/merged, can we initialise a section in the wiki/documentation regarding Moderation, and document this functionality there? This is just one tool amongst what will become an entire toolset - will be important!

RageCage64 commented 2 years ago

The docs for this don't change any documented functionality; the changes that this PR presents will be part of the generated API documentation in the comments.

zysim commented 2 years ago

When this is reviewed/merged, can we initialise a section in the wiki/documentation regarding Moderation, and document this functionality there? This is just one tool amongst what will become an entire toolset - will be important!

While what Rage has said is true, I do see a use for documenting our system for moderation. I could park a WIP page in the wiki for this.