title: How to list organization's private repositories via GitHub API?
body: <p>I'm trying to get a list of an organization's all repositories, including private ones. (Or to be more specific, all of the private repositories a certain user has access to.)</p>
  <p>Reqesting info for the organization (<code>https://api.github.com/orgs/acme?access_token=[...]</code>) shows that there indeed are plenty of private repositories:</p>
  <pre><code>...
  &quot;public_repos&quot;: 5,
  &quot;total_private_repos&quot;: 68, 
  &quot;owned_private_repos&quot;: 68, 
  ...
  </code></pre>
  <p>(The access token I'm using had been previously <a href="http://developer.github.com/v3/oauth/#create-a-new-authorization" rel="nofollow noreferrer">generated using the API</a> for username/passwd.)</p>
  <p>But whatever I try to list the repos...</p>
  <pre><code>https://api.github.com/orgs/acme/repos?access_token=[...]   
  </code></pre>
  <p>...GitHub API just returns the 5 public repositories. (<a href="http://developer.github.com/v3/repos/#list-organization-repositories" rel="nofollow noreferrer">Documentation says</a> <code>type=all</code> is default. Also tried adding the parameter <code>type=private</code>; no difference.)</p>
  <p>Any idea what I'm doing wrong?</p>
  <p>The user to whom the access token was generated in fact has Push &amp; Pull access to just some  of the organization's private repositories, but none of those appear in the list I get (just the 5 public repositories).</p>