Domain is blocked [github.com] #7435
-
Since a shield for the number of contributors to a GitHub Org doesn't exist (and it doesn't appear to be an easy addition), I've hacked together a script to output the number of unique contributors. This data is stored on GitHub, yet I cannot use it since the badge displays Related Code: shields/services/endpoint/endpoint.service.js Lines 67 to 69 in 23c0406 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Because GitHub rate limits their APIs fairly aggressively, exceptionally so for unauthenticated requests. We deal with a fairly large volume of badge requests which means that we send a lot of API traffic at GitHub, and in order to avoid hitting the rate limits and having all of our GitHub badges taken offline, we have to authenticate all those requests. We can't start sending GitHub auth tokens from our pool to random user-defined endpoints, nor can we let someone "use" the endpoint badge to simply fetch content from GitHub anonymously directly from our servers as it would be a huge surface for abuse and DOS of our GitHub badges (which is the most used badge family we provide). There's a number of viable, supported ways to get badges with content from GitHub
|
Beta Was this translation helpful? Give feedback.
Because GitHub rate limits their APIs fairly aggressively, exceptionally so for unauthenticated requests. We deal with a fairly large volume of badge requests which means that we send a lot of API traffic at GitHub, and in order to avoid hitting the rate limits and having all of our GitHub badges taken offline, we have to authenticate all those requests.
We can't start sending GitHub auth tokens from our pool to random user-defined endpoints, nor can we let someone "use" the endpoint badge to simply fetch content from GitHub anonymously directly from our servers as it would be a huge surface for abuse and DOS of our GitHub badges (which is the most used badge family we provide).
There's a…