XP

Award Xp Endpoint

Award XP to a user for completing an action.

post/api/xp/{user_id}/award

Request

  • Base URL: https://api.earmarkiq.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.earmarkiq.app/api/xp/{user_id}/award
  • Auth: HTTP bearer

Path parameters

user_idstring uuid required

Request body

actionstring required
xpinteger required
descriptionstring required

Response

Successful Response

user_idstring required
actionstring required
xp_awardedinteger required
total_xpinteger required
levelinteger required
level_namestring required
leveled_upboolean required
old_levelinteger nullable
new_levelinteger nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.