Passer au contenu principal
POST
Get Leaderboard Around Character

Autorisations

X-SecretKey
string
header
requis

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

Corps

application/json
CharacterId
string
requis

Unique PlayFab assigned ID for a specific character owned by a user

MaxResultsCount
number
requis

Maximum number of entries to retrieve.

PlayFabId
string
requis

Unique PlayFab assigned ID of the user on whom the operation will be performed.

StatisticName
string
requis

Unique identifier for the title-specific statistic for the leaderboard.

Réponse

Note: When calling 'GetLeaderboardAround...' APIs, the position of the character defaults to 0 when the character does not have the corresponding statistic.

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object

Note: When calling 'GetLeaderboardAround...' APIs, the position of the character defaults to 0 when the character does not have the corresponding statistic.

Exemple:
Dernière modification le 6 octobre 2026