I am creating an App that uses an installation token. The app is private to an organization.
I’m trying to get the contents of a single file during a pull request. I am able to successfully retrieve the file if it’s owned by the organization directly using this endpoint - https://developer.github.com/v3/repos/contents/#get-contents.
How can I get the file contents if it’s coming from a fork of a private repo of a member in the same organization? It currently gives me a 404. Am I missing an App permission?