Skip to content

remove unneeded param type #59

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Crunch09
Copy link
Member

Hi,
GET /users/:username/repos only returns public repos by default and public isn't even one of the available options for the type param.
See https://developer.github.com/v3/repos/#list-user-repositories for more
information.

GET /users/:username/repos only returns public repos by default.
See https://developer.github.com/v3/repos/#list-user-repositories for more
information.
@parkr
Copy link
Member

parkr commented May 26, 2016

@benbalter Oh, this needed type => public before... did this recently change?

@parkr
Copy link
Member

parkr commented Jun 20, 2016

I think we meant to do /user/repos: https://developer.github.com/v3/repos/#list-your-repositories, but maybe that's not what we should be looking for.

@Crunch09
Copy link
Member Author

@parkr Yes, i think it's good that we don't use /user/repos because as of now the user doesn't need to be authenticated if he / she only wants to access public fields and this would change if we used that call.

@benbalter
Copy link
Contributor

Should this be visibility?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants