I’m trying to get a list of an organization’s all repositories, including private ones. I tried initially Personnel access token, but it’s not getting the private repo details. Can anyone please help me on this?
Hey hey @veerakumarasamy – thanks for posting and welcome! Hope you’re keeping well, out there in the world…
By default, the list endpoint for Organizations defaults to pulling each
type of repository, including
private. We mention this in our docs.
It looks like both of your tokens have full private repo access, though… hmm!
So when you say:
I tried initially Personnel access token, but it’s not getting the private repo details.
…does that mean you aren’t getting details for a specific repository, or for many/all private repositories?
Curious to know a little more detail about what isn’t being returned!