Skip to content

Commit 5e862fc

Browse files
committed
Draft changes article re: fork/source org repos
1 parent 318a8ed commit 5e862fc

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: Finding sources and fork repositories for organizations
4+
created_at: 2012-12-08
5+
author_name: rick
6+
---
7+
8+
We've made a couple of changes today to the Organization repositories
9+
listing to bring it a bit closer to the functionality of the GitHub.com
10+
Organization repositories tab. We now let you retrieve repositories
11+
which are forks of another repo, as well as those repositories which
12+
are sources (not forks).
13+
14+
# Grab all fork Repositories for an Organization
15+
curl "https://api.github.com/orgs/:org/repos?type=forks"
16+
17+
# Grab all source Repositories for an Organization
18+
curl "https://api.github.com/orgs/:org/repos?type=sources"
19+
20+
Check out the docs for sorting and filtering options:
21+
22+
* [Organization Repositories](/v3/repos/#list-organization-repositories)

0 commit comments

Comments
 (0)