Skip to content

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Docs

Examples

API Reference

Types

Most common types exposed by the API.

  • ID: string
  • Score: number
  • Rank: number 1-based
  • SortPolicy: 'high-to-low' | 'low-to-high'
  • UpdatePolicy: 'replace' | 'aggregate' | 'best'

Redis keys

Patterns used for the Redis keys is the following:

  • Leaderboard: <key>
  • PeriodicLeaderboard: <baseKey>:<CycleKey>
  • LeaderboardMatrix: <baseKey>:<dimension>:<feature> with :<CycleKey> if applies

To avoid overlaps or other issues, we recommend avoiding the use of : in base keys, dimension name, and feature name.