Add leaderboard stats endpoint and trends
This commit is contained in:
parent
daeeac811c
commit
9cd9f8079e
6 changed files with 557 additions and 0 deletions
|
@ -148,6 +148,7 @@ sub startup {
|
|||
$api->post('/fetchuser')->to('api-api#post_fetchuser');
|
||||
$api->post('/user-history')->to('api-user#post_user_history');
|
||||
$api->post('/stats')->to('api-stats#post_index');
|
||||
$api->post('/stats/leaderboard')->to('api-stats#post_leaderboards');
|
||||
|
||||
my $api_admin = $api->under('/')->to('api-admin#auth');
|
||||
|
||||
|
|
Reference in a new issue