Leaderboards

Update Leaderboard

Changed on

Updates a leaderboard.

put/v1/leaderboards/{leaderboard_id}

Request

  • Base URL
    https://api.aghanim.com/s2s
  • URL
    https://api.aghanim.com/s2s/v1/leaderboards/{leaderboard_id}
  • Auth
    HTTP bearer

Path parameters

leaderboard_idstring required

Request body

start_atinteger
end_atinteger
namestring

The name of the leaderboard.

descriptionstring

The description of the leaderboard.

visibility'general' | 'personal'

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.

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • warning

      for the path request parameter leaderboard_id, the maxLength was set to 32