Closed myssto closed 2 months ago
This is essentially a complete rewrite of the players route. If you depend on any of the endpoints, please be aware. I will open issues on processor and web soon. @AkinariHex @486c @S1n1st3rn3ss
This is essentially a complete rewrite of the players route. If you depend on any of the endpoints, please be aware. I will open issues on processor and web soon. @AkinariHex @486c @S1n1st3rn3ss
I know for a fact /players/id-mapping
and /players/country-mapping
are used by the processor. What is the plan for these?
Maybe just call all players?
I know for a fact
/players/id-mapping
and/players/country-mapping
are used by the processor. What is the plan for these?
I thought I was told that they weren't... maybe we can discuss in dev? I know processor guys suggested better options or said that they were redundant in the first place
I know for a fact
/players/id-mapping
and/players/country-mapping
are used by the processor. What is the plan for these?I thought I was told that they weren't... maybe we can discuss in dev? I know processor guys suggested better options or said that they were redundant in the first place
Hm, okay. Still it'd probably be fine to just fetch all player data and make hashmaps from that instead of using these mapping endpoints.
Updated breaking changes section to better reflect changes to PlayerRanksDTO
Closing this for being way too big in scope. Will use as a reference for a piece-wise refactor of the players controller.
Another one bites the dust
Breaking Changes
PlayerRanksDTO
(Returns from/players/ranks
)string? username
string? country
earliestOsuGlobalRank
toearliestStandardGlobalRank
earliestOsuGlobalRankDate
toearliestStandardGlobalRankDate
GET
/players/id-mapping
GET
/players/country-mapping
GET
/matches/player/{osuId}
to/players/{key}/matches
GET
/players/all
to/players
GET
/players/ranks/all
to/players/ranks
GET
/players/{key}/info
to/players/{key}
Additions
PATCH
/players/{id}
Completes task
Refactor PlayersController
of #207 Closes #169 Closes #196