I am trying to get a list of all the repositories of an organization I have access to in Github through the v3 API.
I Start by requesting the permissions thanks to:
I get back the code which I put in:
Which gives me the token with the ask authorizations:
Finally, when I query one of my organizations’ repositories with:
curl \ -H "Accept: application/vnd.github.v3+json" -H "Authorization: token MY_TOKEN" \ 'https://api.github.com/orgs/MY_ORG/repos' | jq -r '..full_name'
And no private repository (putting
?type=private returns nothing).
What am I missing? Thanks in advance.