Skip to main content
POST
Assign a distribution details to an achievement

Authorizations

x-api-token
string
header
required

Path Parameters

achievementId
string
required

The id of the achievement to assign distribution details to

Body

application/json

The input required to assign distribution details to an achievement

rewardsConfig
object
required
pointsToDistribute
number
required

The amount of points to distribute.

Required range: x >= 0
bonusXpToDistribute
number
required

The amount of bonus xp to distribute

Required range: x >= 0

Response

Successful response

pointsToDistribute
number
required

The amount of points to distribute.

Required range: x >= 0
bonusXpToDistribute
number
required

The amount of bonus xp to distribute

Required range: x >= 0
rewardsConfig
object
required
achievementId
string
required

The id of the achievement with assigned distribution details