Leaderboards
Last updated
Last updated
Performs a full-text search of all leaderboards known to the server. As with other full-text endpoints this allows for pagination and offset.
/leaderboard
Gets the metadata for a single leaderboard. This may include more specific details not available in the bulk-get or fetch operation.
/leaderboard
The name of the leaderboard. This must be unique across all leaderboards.
[^_]\w+
The user-presentable name or title for for the leaderboard.
The units-of measure for the score type of the leaderboard.
The time at which the leaderboard epoch intervals should begin (in ms). If null, then the leaderboard is all-time and not epochal. During creation, if this value is provided, then epochInterval must also be provided.
The duration for a leaderboard epoch interval (in ms). If null, then the leaderboard is all-time and not epochal. During creation, if this value is provided, then firstEpochTimestamp must also be provided.
The time strategy for the leaderboard. Current options are ALL_TIME and EPOCHAL.
ALL_TIME
, EPOCHAL
The score strategy for the leaderboard. Current options are OVERWRITE_IF_GREATER and ACCUMULATE.
OVERWRITE_IF_GREATER
, ACCUMULATE
Gets the metadata for a single leaderboard. This may include more specific details not availble in the bulk-get or fetch operation.
/leaderboard/{nameOrId}
Performs an update to an existing leaderboard known to the server.
/leaderboard/{nameOrId}
The name of the leaderboard. This must be unique across all leaderboards.
[^_]\w+
The user-presentable name or title for for the leaderboard.
The units-of measure for the score type of the leaderboard.
The time at which the leaderboard epoch intervals should begin (in ms). If null, then the leaderboard is all-time and not epochal. During creation, if this value is provided, then epochInterval must also be provided.
The duration for a leaderboard epoch interval (in ms). If null, then the leaderboard is all-time and not epochal. During creation, if this value is provided, then firstEpochTimestamp must also be provided.
The time strategy for the leaderboard. Current options are ALL_TIME and EPOCHAL.
ALL_TIME
, EPOCHAL
The score strategy for the leaderboard. Current options are OVERWRITE_IF_GREATER and ACCUMULATE.
OVERWRITE_IF_GREATER
, ACCUMULATE
Deletes a specific leaderboard known to the server.
/leaderboard/{nameOrId}
Gets the current Profile's rank among all players for the particular leaderboard.
/rank/global/{leaderboardNameOrId}
Specifies the leaderboard name or ID.
Specifies the epoch for the leaderboard. If not provided, the current epoch will be used by default for epochal leaderboards. This value will be ignored for all-time leaderboards. Set this value to 0 to explicitly reference the current epoch (when applicable).
Gets the current Profile's rank among friends for the particular leaderboard.
/rank/friends/{leaderboardNameOrId}
Specifies the leaderboard name or ID.
May be negative to place the requested player in the middle of the page.
The number of results to return in the page.
Indicates whether or not to fetch results in a relative fashion.
Specifies the epoch for the leaderboard. If no value is provided, the current epoch will befetched.
Gets the current Profile's rank among mutual followers for the particular leaderboard.
/rank/mutual_followers/{leaderboardNameOrId}
Specifies the leaderboard name or ID.
May be negative to place the requested player in the middle of the page.
The number of results to return in the page.
Indicates whether or not to fetch results in a relative fashion.
Specifies the epoch for the leaderboard. If no value is provided, the current epoch will befetched.
Posts a single score for the currently logged-in profile. Conceptually, this is creationg a new resource, however the server may opt to overwrite the existing identifier if it sees fit.
/score/{leaderboardNameOrId}
The name or id of the leaderboard.
The ID of the Score
The point value of the score.
The the units of measure for the points. For example, if the points in the game were called "coins" instead of "points" this would be used to designate as such in the UI.
The time at which the score was created on the server.
The epoch to which the score belongs for the associated leaderboard. By convention, if the leaderboard is all-time, this value will be set to zero.