Upsert Leaderboard Metadata
POST/v1/clients/:clientId/leaderboards/:leaderboardKey/metadata
Endpoint to Upsert metadata associated to a Leaderboard key (i.e. useful to calculate the percentage of correct answers given the total amount of questions for some leaderboard).
Request
Path Parameters
clientId stringrequired
leaderboardKey stringrequired
- application/json
Body
authId number
screenName string
User screen name
rank number
user rank for this leaderboard
denseRank number
user dense rank for this leaderboard. The difference between denseRank and rank, is that denseRank groups user with the same score
features object
features can be configured to support different leaderboard types (i.e. POINTS, SCORES, EXPERIENCE)
POINTS number
EXPERIENCE number
SCORES number
Responses
- 200
Loading...