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

Authorizations

x-api-token
string
header
required

Path Parameters

actionId
string
required

The id of the action to assign distribution details to

Body

application/json

The input required to assign distribution details to an action

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
actionId
string
required

The id of the action with assigned distribution details