admin-badges

Update Badge

Update a badge definition

put/admin/badges/{badge_id}

Request

  • Base URL: https://api.excellence-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.excellence-ai.com/admin/badges/{badge_id}
  • Auth: OAuth 2 (password, token URL api/login)

Path parameters

badge_idstring required

Request body

_idstring
category'exercises_completed' | 'chat_messages_sent' | 'exercises_rated_or_noted' | 'streak_days' required
tierinteger required
namestring required
descriptionstring required
thresholdinteger required
xp_rewardinteger required
image_urlstring
created_atstring date-time

Response

Successful Response

_idstring
category'exercises_completed' | 'chat_messages_sent' | 'exercises_rated_or_noted' | 'streak_days' required
tierinteger required
namestring required
descriptionstring required
thresholdinteger required
xp_rewardinteger required
image_urlstring
created_atstring date-time

Changes

No operation changes recorded.