unmojang / drasl

Yggdrasil-compatible API server for Minecraft
GNU General Public License v3.0
118 stars 19 forks source link

Add `minecraft/profile/lookup/bulk/byname` alias #54

Closed evan-goode closed 8 months ago

evan-goode commented 8 months ago

As of 23w42a, the "Usernames to UUIDs" endpoint, previously at POST https://api.mojang.com/profiles/minecraft, has been moved to POST https://api.minecraftservices.com/minecraft/profile/lookup/bulk/byname.

This patch adds an alias for the new endpoint. The old endpoint will still work.

Related: https://github.com/yushijinhun/authlib-injector/issues/232