Initial commit: VRBattles API
This commit is contained in:
30
src/handlers/mod.rs
Normal file
30
src/handlers/mod.rs
Normal file
@@ -0,0 +1,30 @@
|
||||
pub mod auth;
|
||||
pub mod health;
|
||||
pub mod ladders;
|
||||
pub mod matches;
|
||||
pub mod players;
|
||||
pub mod teams;
|
||||
pub mod uploads;
|
||||
pub mod users;
|
||||
|
||||
pub use health::health_check;
|
||||
pub use teams::{
|
||||
list_teams, create_team, get_team, update_team, delete_team,
|
||||
request_join_team, cancel_join_request, accept_member, reject_member,
|
||||
remove_member, change_member_position, get_my_team,
|
||||
};
|
||||
pub use ladders::{
|
||||
list_ladders, create_ladder, get_ladder, update_ladder, delete_ladder,
|
||||
enroll_team, withdraw_team, get_ladder_standings,
|
||||
};
|
||||
pub use matches::{
|
||||
list_matches, get_match, create_challenge, accept_challenge, reject_challenge,
|
||||
start_match, cancel_match, report_score, accept_score, reject_score, get_my_matches,
|
||||
};
|
||||
pub use players::{
|
||||
list_players, get_player, get_featured_players, set_featured_player,
|
||||
remove_featured_player, get_leaderboard,
|
||||
};
|
||||
pub use uploads::{
|
||||
upload_team_logo, upload_profile_picture, upload_ladder_logo, delete_team_logo,
|
||||
};
|
||||
Reference in New Issue
Block a user