osu-tournament-rating / otr-api

API powering osu! Tournament Rating
https://otr.stagec.xyz/
GNU General Public License v3.0
8 stars 5 forks source link

Add `/users/{id}` and `/clients/{id}` PATCH endpoints #191

Open myssto opened 6 months ago

myssto commented 6 months ago

Currently we are assigning users and clients their claims via direct database access. We need to implement endpoints to patch these via the API directly for use by admins.

We need to identify whether these should be delegated to their own controllers (UsersController and ClientsController), or if they could be reasonably integrated into a current controller (OAuthController).

Tasks:

hburn7 commented 6 months ago

Using a proper UsersController would be appropriate here.