Skip to content

beamable-sdk / api / leaderboardsPostByObjectId

Function: leaderboardsPostByObjectId()

leaderboardsPostByObjectId(requester, objectId, payload, gamertag?): Promise<HttpResponse<CommonResponse>>

Defined in: src/__generated__/apis/LeaderboardsApi.ts:277

Parameters

requester

HttpRequester

The HttpRequester type to use for the API request.

objectId

string

Gamertag of the player.

payload

LeaderboardCreateRequest

The LeaderboardCreateRequest instance to use for the API request

gamertag?

string

Override the Gamer Tag of the player. This is generally inferred by the auth token.

Returns

Promise<HttpResponse<CommonResponse>>

Remarks

Authentication: This method requires a valid bearer token in the Authorization header.