メインコンテンツへスキップ
POST
Get Leaderboard Around User

承認

X-SecretKey
string
header
必須

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

ボディ

application/json
MaxResultsCount
number
必須

Maximum number of entries to retrieve.

PlayFabId
string
必須

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

StatisticName
string
必須

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

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

ProfileConstraints
object

If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, only the allowed client profile properties for the title may be requested. These allowed properties are configured in the Game Manager "Client Profile Options" tab in the "Settings" section.

UseSpecificVersion
boolean

If set to false, Version is considered null. If true, uses the specified Version

Version
number

The version of the leaderboard to get.

レスポンス

Note: When calling 'GetLeaderboardAround...' APIs, the position of the user defaults to 0 when the user 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 user defaults to 0 when the user does not have the corresponding statistic.

例:
最終更新日 2026年10月19日