Add a new field "badges_to_show_on_profile" in get_account calls
Currently the API call to:
{"id":7,"jsonrpc":"2.0","method":"bridge.get_profile","params":{"account":"quochuy","observer":"quochuy"}}
Gives the following response:
{ "jsonrpc": "2.0", "result": { "id": 725721, "name": "quochuy", "created": "2018-02-05T19:33:57", "active": "2020-11-05T04:30:18", "post_count": 4227, "reputation": 74.66, "blacklists": [], "stats": { "rank": 0, "following": 101, "followers": 1783 }, "metadata": { "profile": { "name": "Quoc-Huy Nguyen Dinh", "about": "Huy (for short) aka The Little Worm Farmer. Witness | Developer", "website": "https:\/\/thelittlewormfarm.com\/", "location": "Wyoming, NSW, Australia", "cover_image": "https:\/\/cdn.steemitimages.com\/DQmXirwAgXhejoXXtLNyw8VXv2EjJUZH3tzgw7eAgtujuGd\/quochuy-steemit-header.jpg", "profile_image": "https:\/\/cdn.steemitimages.com\/DQmZB6CadTjD89bw2t8L2F4oGZfhRBeXBiUFArmWC7HLk8J\/quochuy-steem-witness.jpg", "blacklist_description": "", "muted_list_description": "" } }, "context": { "followed": false } }, "id": 7 }
I would like to introduce a new profile field named "badges_to_show_on_profile" to control which badges to show on the user's profile header. My account @quochuy is already populated with it.
Can Hivemind return it in the get_account call? This should look like this:
{ "jsonrpc": "2.0", "result": { "id": 725721, "name": "quochuy", "created": "2018-02-05T19:33:57", "active": "2020-11-05T04:30:18", "post_count": 4227, "reputation": 74.66, "blacklists": [], "stats": { "rank": 0, "following": 101, "followers": 1783 }, "metadata": { "profile": { "name": "Quoc-Huy Nguyen Dinh", "about": "Huy (for short) aka The Little Worm Farmer. Witness | Developer", "website": "https:\/\/thelittlewormfarm.com\/", "location": "Wyoming, NSW, Australia", "cover_image": "https:\/\/cdn.steemitimages.com\/DQmXirwAgXhejoXXtLNyw8VXv2EjJUZH3tzgw7eAgtujuGd\/quochuy-steemit-header.jpg", "profile_image": "https:\/\/cdn.steemitimages.com\/DQmZB6CadTjD89bw2t8L2F4oGZfhRBeXBiUFArmWC7HLk8J\/quochuy-steem-witness.jpg", "blacklist_description": "", "muted_list_description": "", "badges_to_show_on_profile": ["peakd"], } }, "context": { "followed": false } }, "id": 7 }