Skip to content
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

Rewrite URL Routing #3

Merged
merged 7 commits into from
Sep 11, 2024
Merged

Rewrite URL Routing #3

merged 7 commits into from
Sep 11, 2024

Conversation

FoxeiZ
Copy link
Contributor

@FoxeiZ FoxeiZ commented Sep 11, 2024

As the title suggests, remap all URLs in /api/admin to their appropriate paths for more maintainability:

  • admin/add-score -> player/score
  • admin/add-school -> schools/add
  • admin/add-team -> teams/add
  • admin/add-track -> tracks/add
  • admin/bind-player-to-team -> team/bind-player
  • admin/approve-leaderboard -> leaderboard/approve
  • admin/mark-selected-track -> tracks/mark-selected

Add new TeamController:

  • POST teams/add
  • PATCH teams/bind-player

@swyrin swyrin added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 11, 2024
@swyrin swyrin merged commit e6ff6be into main Sep 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants