Skip to content

[Schema Inaccuracy] /user/repos have a team_id field which is documented to be invalid #152

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

Open
masklinn opened this issue Jan 8, 2021 · 0 comments

Comments

@masklinn
Copy link

masklinn commented Jan 8, 2021

Schema Inaccuracy

According to its documentation, team_id is not valid on user repositories. But since the request body of user and organisation repository types are specified separately, why have this field at all on the user endpoint?

Expected

Not having the field on user repositories, and the mention seems unnecessary in the documentation of that field in /orgs/{org}/repos.

@bruce bruce added the P4 label Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants