Licenses API update
We are expanding the Licenses API to make it more useful for auditing license usage across all repositories owned by a user or organization.
Before, license information was only returned for an individual repository:
GET /repos/github/hubot
Now, license information will also be included in responses from endpoints that list multiple repositories, such as List organization repositories:
GET /orgs/github/repos
As before, to access the API during the preview period, you must provide a custom media type in the Accept
header:
application/vnd.github.drax-preview+json
For more information, see the Licenses API documentation, and if you have any questions or feedback, please let us know.