Pular para o conteúdo principal
POST
Create Leaderboard Definition

Autorizações

X-EntityToken
string
header
obrigatório

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

Corpo

application/json
Columns
object[]
obrigatório

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

EntityType
string
obrigatório

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
obrigatório

A name for the leaderboard, unique per title.

SizeLimit
number
obrigatório

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.

Resposta

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
Última modificação em 6 de outubro de 2026