v2

latestOpenAPI 3.1.02026-08-07168434918.5 KB
Leaderboards

Create Leaderboard

Creates a new leaderboard.

post/v1/leaderboards

Request body

namestring required

The name of the leaderboard.

descriptionstring required

The description of the leaderboard.

visibility'general' | 'personal'
start_atinteger

The start date of the leaderboard in Unix timestamp.If set, the leaderboard will only be visible in game-hub after this date.

end_atinteger

The end date of the leaderboard in Unix timestamp.If set, the leaderboard will only be visible in game-hub before this date.

Response

Successful Response

namestring required

The name of the leaderboard.

descriptionstring required

The description of the leaderboard.

visibility'general' | 'personal'
start_atinteger

The start date of the leaderboard in Unix timestamp.If set, the leaderboard will only be visible in game-hub after this date.

end_atinteger

The end date of the leaderboard in Unix timestamp.If set, the leaderboard will only be visible in game-hub before this date.

idstring required

The unique identifier of the leaderboard.