User API only shows 3 badges


(Ryan Odening) #1

user_bages endpoint does not work.
In user api, only 3 of a user’s badges are shown.

How can I receive all of a user’s badges?


(Dean Taylor) #2

The endpoint appears to work for me…

Here you can find all 223 badges I currently have:
https://meta.discourse.org/user-badges/deanmarktaylor.json
image

Here you can find all 68 of the Bug Reporter badges for me:
https://meta.discourse.org/user_badges.json?username=deanmarktaylor&badge_id=114


A good place to look if you are ever trying to work out an Discourse API call is here:


Perhaps you could be more specific about how you are requesting the data:

  • programming language?
  • Any API / SDK interface you are using?
  • and code sample?

(Ryan Odening) #3

The endpoints syntax looked different in the docs. Your user-badges syntax works great! Thanks!