Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong API endpoint for listUserRepos #255

Closed
juli1 opened this issue Mar 1, 2019 · 1 comment
Closed

Wrong API endpoint for listUserRepos #255

juli1 opened this issue Mar 1, 2019 · 1 comment

Comments

@juli1
Copy link

juli1 commented Mar 1, 2019

In listUserRepos the API called is users/$user/repos. This seems to be the incorrect endpoint and be /user/repos

listUserRepos is documented to have a type parameter that can take the values "all", "public", "private",
"forks", "sources" or "member" which seems to fit more or less with /user/repos. On the other hand, users/$user/repos does not even has the value private or public for the type. I guess there is a problem with the API being called.

juli1 added a commit to juli1/github4s that referenced this issue Mar 3, 2019
@github-actions github-actions bot removed WIP labels Mar 27, 2020
@BenFradet
Copy link
Contributor

The implementation seems to correspond to https://developer.github.com/v3/repos/#list-repositories-for-a-user, feel free to reopen if I'm missing something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants