{
'id': string,
'title': string,
'description': string,
'imgUrl': string,
'users': [
rdsUserId,
],
}
Route | Description |
---|---|
GET /badges | Returns all badges in the system |
Returns all badges in the system.
- Params
None - Query
None - Body
None - Headers
None - Cookie
None - Success Response:
- Code: 200
- Content:
{
message: 'Badges returned successfully!'
badges: [
{<badge_object>}
]
}
- Error Response:
- Code: 500
- Content:
{ 'statusCode': 500, 'error': 'Internal Server Error', 'message': 'Something went wrong. Please contact admin' }
- Content:
- Code: 500