8000 Merge pull request #811 from github/update-1435204587 · Ratts704/developer.github.com@0583822 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0583822

Browse files
committed
Merge pull request github#811 from github/update-1435204587
2 parents 157d289 + 98cacfe commit 0583822

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
kind: change
3+
title: Licenses API update
4+
created_at: 2015-06-24
5+
author_name: mislav
6+
---
7+
8+
We are expanding the [Licenses API](/v3/licenses) to make it more useful for auditing license usage across all repositories owned by a user or organization.
9+
10+
Before, license information was only returned for an individual repository:
11+
12+
GET /repos/github/hubot
13+
14+
Now, license information will also be included in reponses from endpoints that list multiple repositories, such as [List organization repositories](/v3/repos/#list-organization-repositories):
15+
16+
GET /orgs/github/repos
17+
18+
As before, to access the API during the preview period, you must provide a custom [media type](/v3/media) in the `Accept` header:
19+
20+
application/vnd.github.drax-preview+json
21+
22+
For more information, see the [Licenses API documentation](/v3/licenses/), and if you have any questions or feedback, please [let us know](https://github.com/contact?form%5Bsubject%5D=Licenses+API).

0 commit comments

Comments
 (0)
0