메인 콘텐츠로 건너뛰기
POST
Get Leaderboard Around Entity

인증

X-EntityToken
string
header
필수

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

본문

application/json

Request to load a section of a leaderboard centered on a specific entity.

Request to load a section of a leaderboard centered on a specific entity.

LeaderboardName
string
필수

Name of the leaderboard.

MaxSurroundingEntries
number
필수

Number of surrounding entries to return (in addition to specified entity). In general, the number of ranks above and below will be split into half. For example, if the specified value is 10, 5 ranks above and 5 ranks below will be retrieved. However, the numbers will get skewed in either direction when the specified entity is towards the top or bottom of the leaderboard. Also, the number of entries returned can be lower than the value specified for entries at the bottom of the leaderboard.

CustomTags
object

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

Entity
object

The optional entity to perform this action on. Defaults to the currently logged in entity.

Version
number

Optional version of the leaderboard, defaults to current.

응답

Leaderboard response

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

Leaderboard response

예시:
마지막 수정일 2026년 10월 6일