Badge List
This endpoint retrieves a list of badges associated with the authenticated user.
Method
GET /user/badges/:leaderID
Response
{
"status": 200,
"data": [
{
"badge_id": "string",
"state":<number>,
}
]
}
Badge States
| State | Description |
|---|---|
| 1 | Active & Visible (user has this badge and user wants it visible) |
| 2 | Active & Hidden (user has this badge but user wants it hidden) |
| 3 | Revoked & Hidden (user does not have this badge anymore and wants it hidden even in the future) |