DEV: Document some of the badge api endpoints (PR #13919)

Adding some api documentation for the badge routes.

GitHub