github-api
github-api copied to clipboard
Java API for GitHub
# Description It looks like as far back as GHE 2.12 the `/meta` endpoint supports returning the GHE version as `installed_version`. * https://developer.github.com/enterprise/2.12/v3/meta/ * https://developer.github.com/enterprise/2.20/v3/meta/ This field is not preset...
Related #1017 #1003 Currently, we mark preview APIs as deprecated. Instead we should require consumers to enable the specific Preview endpoints they want and by doing so they accept that...
Is the following API supported? GET /repos/:owner/:repo/collaborators/:username https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-collaborator Also does collaborator just imply a user that has write access? I looked at the code but i'm not seeing it in...
Can you please correct me if I am wrong, but I cannot find implementation for access code scanning. I would love that the code scanning feature is supported in the...
**Describe the bug** Using latest 1.128: `ghContent.getOwner().getStarGazersCount()` returns 0, but `gitHub.getRepository(ghContent.getOwner().getFullName()).getStargazersCount());` returns the proper count. Probably related to #349 and #1068 **Expected behavior** stargazer count should be fetched, throw error...
Different endpoints in the REST API return different subsets of various data types. `GHRepository` comes in any number of forms depending on what endpoint is returning it. When we implement...
See #1095 . > We should probably implement a 202 handling behavior in GitHubClient. Currently, forking and statistics both implement their own waiting behavior. However, now that I look at...
Currently, Preview methods are only enabled on specific methods but their usage is otherwise untracked. This means that if I'm checking if any of my repositories are templates, [this code](https://github.com/hub4j/github-api/blob/7e1531dbcad2ed7dae809d96ea3787ec348f8889/src/main/java/org/kohsuke/github/GHRepository.java#L718-L731)...
**Describe the bug** if a symlink exists in the repository it does not seem possible to resolve it using the current API methods **To Reproduce** Steps to reproduce the behavior:...
[GHEventPayload](https://github.com/hub4j/github-api/blob/master/src/main/java/org/kohsuke/github/GHEventPayload.java) is one monolithic class with a bunch of inner classes for payloads. We should look at refactoring these inner classes into their own files in a separate namespace.