Saltar al contenido principal
POST
Get Friend Leaderboard For Entity

Autorizaciones

X-EntityToken
string
header
requerido

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

Cuerpo

application/json
LeaderboardName
string
requerido

Name 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.

ExternalFriendSources
enum<string>

Indicates which other platforms' friends should be included in the response. In HTTP, it is represented as a comma-separated list of platforms.

Opciones disponibles:
None,
Steam,
Facebook,
Xbox,
Psn,
All
Version
number

Optional version of the leaderboard, defaults to current version.

XboxToken
string

Xbox token if Xbox friends should be included. Requires Xbox be configured on PlayFab.

Respuesta

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

Ejemplo:
Última modificación el 6 de octubre de 2026