Recreating Badge-List Component
Hi all,
I'm working on recreating the Badge-List component as a custom component. I'm nearly finished, but have encountered two problems.
1. In Admin settings, you can make a badge "Visible" or "Hidden" to users (labeled below as "Status").
Unfortunately, I can't find where the "Status" is accessible in the V1 API. Here's the standard badge object that is returned from the API:
You'll notice that the "Status" isn't a part of the returned XML. Is the "Status" accessible at all? I can't seem to find it.
2. As an admin looking through a user's badges, I can hover over any earned badge and "Revoke" that badge.
What sort of API call do I need to make to replicate the "Revoke" functionality? Can this be replicated?
Thanks for taking time to read through this. Any guidance would be appreciated!
This point will be quite hard to handle i think
The only way is to have switch case by badges & roles to make badges visible (assuming all badges a hidden by default).
It sounds to be a very hardcoded way because there are no role-related permissions about seeing badges and badges cannot be categorized (which might be a feature request to be done).
As fas as i'm concerned, the best approch would be challenging the functional need :-)