API changes for Community Health

GitHub cares about healthy communities forming and thriving around open source projects. To promote and support these kinds of projects, we are introducing Community Health metrics to the platform.

We've created a new GitHub endpoint to retrieve community health metrics for any public repository.

You can enable these changes during the preview period by providing a custom media type in the Accept header:

application/vnd.github.black-panther-preview

For example:

curl "https://api.github.com/repos/github/hubot/community/profile" \
  -H 'Authorization: token TOKEN' \
  -H "Accept: application/vnd.github.black-panther-preview"

If you have any questions or feedback, please let us know.