github-metadata icon indicating copy to clipboard operation
github-metadata copied to clipboard

remove unneeded param `type`

Open Crunch09 opened this issue 9 years ago • 4 comments

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.

Crunch09 avatar May 13 '16 22:05 Crunch09

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

parkr avatar May 26 '16 20:05 parkr

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.

parkr avatar Jun 20 '16 01:06 parkr

@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.

Crunch09 avatar Jun 29 '16 21:06 Crunch09

Should this be visibility?

benbalter avatar Oct 05 '16 14:10 benbalter