added badgeClass info to example of  endpoint in api docs.