I want to retrieve private organization repository from Github API V 3.0, I have a private repository in an organization account and when I want to get my repositories, the API just return my public and public-fork repositories but private repositories doesn't retrieve, any idea?
If the repo is under an organization, you need to retrieve a list of organization repos, not your own user repos. So, instead of using this:
http://developer.github.com/v3/repos/#list-user-repositories
you need to use this:
http://developer.github.com/v3/repos/#list-organization-repositories
Solved! I was using github-node and called the getFromUser method but should've used the getAll method for retrieving both private and public repos. It also returns private-organization repositories that I fork.