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

[Schema Inaccuracy] get-by-id operation using unrecognized URL path #4730

Closed
supertxtnet opened this issue Apr 10, 2025 · 2 comments
Closed

Comments

@supertxtnet
Copy link

Schema Inaccuracy

The get-by-id get operation is based on the URL path user/{account_id}. When using this URL path I get a 404 status.

Expected

When accessing the GitHub API using this URL path with the account_id variable set then the user information should be returned with a 200 status.

Reproduction Steps

curl -H ‘Authorization: Bearer …’ -H ‘X-Github-API…’ https://api.github.com/user/supertxtnet
@supertxtnet
Copy link
Author

It appears that the URL path should be /user[s]/supertxtnet instead. That path is working ok.

@supertxtnet
Copy link
Author

Account id’s are not user names. There is a distinction. Closing this.

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

1 participant