-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Mojang API response code and messages, implement UUID->Username endpoint #47
base: master
Are you sure you want to change the base?
Conversation
0f3199a
to
753fd07
Compare
Signed-off-by: Octol1ttle <[email protected]>
ca82ee8
to
327dfee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Для решения проблемы нарушения обратной совместимости, я предлагаю для старых урлов отвечать то, что отвечалось и раньше. Для новых - новое. А чтобы не дублировать контроллеры/экшены, я предложил бы использовать параметры запроса, указывая в rules
роутера их через defaults
(вот тут документация). Таким образом снаружи урлы будут безе параметров, а в экшен тебе будет приходить параметр, который позволит тебе понять, в каком формате давать ошибки.
Пожалуйста, не используй force push после ревью.
Signed-off-by: Octol1ttle <[email protected]>
…ing is broken)) Signed-off-by: Octol1ttle <[email protected]>
Signed-off-by: Octol1ttle <[email protected]>
Signed-off-by: Octol1ttle <[email protected]>
This pull request updates Mojang API responses to be in match with api.minecraftservices.com and adds a new endpoint