Internal Repository API

I noticed this morning we have a new type of repository available for GHE (cloud) of type Internal Repository, “Make this repository visible only to the people in your Enterprise.”

Where is the API documentation around this feature? Specifically, I am testing out a probot, prevent-public-repos, that while the code looks good, it maybe unable to change the status back to private, if there are additional attributes to set now that we have Internale Repository type. 

You can find documentation on the internal repositories feature in our help docs. It doesn’t appear that there is any documentation for it in our API docs yet.

I hope that helps!

Any progress on this or any idea when GitHub API will be able to handle internal repositories?

3 Likes