Saltar al contenido principal
POST
Create Leaderboard Definition

Autorizaciones

X-EntityToken
string
header
requerido

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

Cuerpo

application/json
Columns
object[]
requerido

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

EntityType
string
requerido

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
requerido

A name for the leaderboard, unique per title.

SizeLimit
number
requerido

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.

Respuesta

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 modificación el 6 de octubre de 2026