跳轉到主要內容
POST
Create Leaderboard Definition

授權

X-EntityToken
string
header
必填

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

主體

application/json
Columns
object[]
必填

Leaderboard columns describing the sort directions, cannot be changed after creation. A maximum of 5 columns are allowed.

EntityType
string
必填

The entity type being represented on the leaderboard. If it doesn't correspond to the PlayFab entity types, use 'external' as the type.

Name
string
必填

A name for the leaderboard, unique per title.

SizeLimit
number
必填

Maximum number of entries on this leaderboard

CustomTags
object

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

EventEmissionConfig
object

[In Preview]: The configuration for the events emitted by this leaderboard. If not specified, no events will be emitted.

VersionConfiguration
object

The version reset configuration for the leaderboard definition.

回應

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
最後修改於 2026年10月6日