We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See https://developer.github.com/v3/repos/contents/#get-repository-content
The GET /repos/:owner/:repo/contents/:path endpoint can have 4 different types of responses
GET /repos/:owner/:repo/contents/:path
It can also respond with a 404 nothing exists at the given path.
404
We should probably throw errors for response types 2-4, and pass null to the function in case of a 404 response
null
See CONTRIBUTING.md for instructions on how to record fixtures for a new test, if needed
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See https://developer.github.com/v3/repos/contents/#get-repository-content
The
GET /repos/:owner/:repo/contents/:path
endpoint can have 4 different types of responsesIt can also respond with a
404
nothing exists at the given path.We should probably throw errors for response types 2-4, and pass
null
to the function in case of a404
responseSee CONTRIBUTING.md for instructions on how to record fixtures for a new test, if needed
The text was updated successfully, but these errors were encountered: