Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Repository hooks are not accessible by Integration #800
I could not get the list of repository hooks with Integration authorization using this functions https://github.com/google/go-github/blob/master/github/repos_hooks.go#L109
I receive the error:
It works well if we authorize by OAuth2 token, but not by Integration.
Could you please suggest any other way how could I get the list of the repository hooks with the Integration?
This sounds like a GitHub API question, not a
I'm not sure what the answer is. I don't see anything on this topic at https://developer.github.com/v3/repos/hooks/#list-hooks.
I'd suggest searching through the rest of GitHub documentation, and if you don't find anything, try contacting GitHub support. At the top of https://developer.github.com/v3/, it says:
If you find that there is something that can be applied to
You're right, this is a question for the GitHub API.
It's not possible to get hooks list this way as it's not even in their list of available endpoints for app: