github-api icon indicating copy to clipboard operation
github-api copied to clipboard

Java API for GitHub

Results 268 github-api issues
Sort by recently updated
recently updated
newest added

**Describe the bug** https://docs.github.com/en/rest/pulls/comments#get-a-review-comment-for-a-pull-request Github states that review comment has following fields: ``` "start_line": { "type": [ "integer", "null" ], "description": "The first line of the range for a multi-line...

enhancement
good first issue

**Describe the bug** ObsoleteUrlFactory.getInputStream() throws FileNotFoundException regardless of the type of client-side or server-side error response from an HTTP request. GitHubClient.interpretApiError(IOException, GitHubRequest, ResponseInfo) then _assumes_ this exception is due to...

bug
enhancement

this is a very weird model which has business logic coupled with pojo, setters should not actually perform the github rest calls, instead a dedicated service should do that. while...

new feature
breaking change

**Describe the bug** When using the [GHCreateRepositoryBuilder](https://github.com/hub4j/github-api/blob/main/src/main/java/org/kohsuke/github/GHCreateRepositoryBuilder.java) to create a repo and setting the [visibility](https://github.com/hub4j/github-api/blob/main/src/main/java/org/kohsuke/github/GHRepositoryBuilder.java#L161), the resulting API call fails with the following exception (see below). This happens when any...

bug

**Describe the bug** I encounter OutOfMemoryError over GHRepository.readZip while having reasonable free heap. **To Reproduce** Steps to reproduce the behavior: 1. Consider a large Github repository (e.g. 50MB) 2. Rely...

enhancement

# Description 1. Fixes [#1325](https://github.com/hub4j/github-api/issues/1325) by adding a lazy download from the `raw_url` field of `GHGistFile` object if the gist file `content` is uninitialized. 2. From the [list public gist](https://docs.github.com/en/rest/reference/gists#list-public-gists)...

work-abandoned

# Description Fixes #1402 # Before submitting a PR: - [ ] Changes must not break binary backwards compatibility. If you are unclear on how to make the change you...

**Describe the bug** 404 error in Java doc when try to search. **To Reproduce** Steps to reproduce the behavior: 1. Go to [javadoc](https://github-api.kohsuke.org/apidocs/index.html) 2. Search `GHRepository` 3. See error **Expected...

bug
documentation

# Description Fixes issue #1265. - added null and empty check for 'ref' and throw IllegalArgumentException if null or empty is passed in. I'm not sure what would be the...

The v4 API provides a much more customizable API based on GraphQL. It is out of scope for this library to provide a generalized API the fully leverages the power...

new feature