Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit f840a9e

Browse files
committed
mention the owned and public options
1 parent 0a63fc8 commit f840a9e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

_posts/2010-04-23-orgs.markdown

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,17 @@ List all repositories across all the organizations that you can access:
120120
]
121121
}
122122

123+
By default, this only shows repos that you have explicit access to
124+
through a non Owner's Team. You can include all repos from
125+
Organizations that you own:
126+
127+
$ curl https://github.com/api/v2/json/organizations/repositories?owned=1
128+
129+
You can also add public repos from Organizations that you don't have
130+
explicit access to.
131+
132+
$ curl https://github.com/api/v2/json/organizations/repositories?public=1
133+
123134
List all members of the organization's Owners team:
124135

125136
/organizations/:org/owners [GET]

0 commit comments

Comments
 (0)