跳转到主要内容
POST
Get Leaderboard Around Character

授权

X-Authorization
string
header
必填

This API requires a client session ticket, available from any Client Login function.

请求体

application/json
CharacterId
string
必填

Unique PlayFab assigned ID for a specific character on which to center the leaderboard.

StatisticName
string
必填

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

MaxResultsCount
number

Maximum number of entries to retrieve. Default 10, maximum 100.

响应

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.

示例:
最后修改于 2026年10月6日