I am trying to retrieve all public repos using the /user/repos endpoint but it is only returning results for public repos owned by my user outside the organization.
Thanks for being here, could you try passing the param affiliation=all?
Hi, already tried every single option without success. Sorry.
If you want to see all repos that you have access to, then you should leave the
affiliation parameter at the default value.
affiliation=owner restricts the output to repositories that you directly own, in other words repositories that can be found under https://github.com/ajanoni.
So if you want to see all public repos that you have access to, you can use the following URL as a base:
I hope that helps.
However, if this was a private account and the developer cannot afford to set that setting to true…