Returns the badge definitions available to award to member profiles.
Endpoint
Method:
GETPath:
/admin/user-badgesEdition: PRO
Controller:
UserBadgeController@getBadgesRoute source:
fluent-community-pro/app/Modules/UserBadge/UserBadgeModule.php:19Requires the FluentCommunity community-admin permission (or a WordPress super admin).
Requires FluentCommunity Pro.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
GET List User Badges
Returns the badge definitions available to award to member profiles.
Controller: UserBadgeController@getBadges
Route source: fluent-community-pro/app/Modules/UserBadge/UserBadgeModule.php:19
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Responses
Successful response