Determines the leaderboard based on a badge metadata metric. If no metrics are available the leaderboard is returned based on ascending order the badge was earned.
time
, score
, rank
, position
, points
Direction to sort the leaderboard by metric
ASC
, DESC
The response is of type object[]
.