Leaderboards db model was extended by additional fields
blockchain_ids - array of ids which blockchain that leaderboard include
wallet_connect - show metamask connect on leaderboard (in case if address field is wallet address)
columns_names - dict of mapping for column names if it not empty then will use LeaderboardUnformattedPosition reponse model.
Testing requests.
GET leaderboards Authorized Endpoints
GET http://127.0.0.1:7191/leaderboard/leaderboards
Authorization: Bearer <token>
Leaderboards db model was extended by additional fields
blockchain_ids
- array of ids which blockchain that leaderboard includewallet_connect
- show metamask connect on leaderboard (in case if address field is wallet address)columns_names
- dict of mapping for column names if it not empty then will use LeaderboardUnformattedPosition reponse model.Testing requests.
GET leaderboards Authorized Endpoints
Create Leaderboard Authorized Endpoints
Get scores
Update leaderboard endpoint
{ "columns_names": { "points_data": "quests", "points_data_fields": {"real_name":"quest_2"}, } }
Push scores
Get scores
Quartiles
Position
Rank
Ranks
Migration plan
[x] merge that PR.
[x] Run engine api deployment.