github-api
github-api copied to clipboard
Java API for GitHub
Return open or closed issues in pagination ``` public List getIssues(GHIssueState state) throws IOException { return this.listIssues(state).toList(); } public List getIssues(GHIssueState state, GHMilestone milestone) throws IOException { Requester requester =...
We need to document how the project supports using "Preview" API endpoints, including `@Preview`, `@Deprecated`, `withPreview()`, and the `Previews` class. Also all `@Preview` items should include a link of GitHub...
The `GithubRequest.with()` currently discard null values. Only `GithubRequest.withNullable()` keeps them. This is convenient sometimes but leaves things open for confusing issues with missing fields. Also, the presence of `withNullable()` implies...
Several users have filed issues around serializing objects to JSON: #1034, #971. Consider adding a `toJSON()` method to objects, `readRawJSON()` method to `GitHub`, or documenting a supported way to do...
It would be great if the `GHIssueEvent` class could include Project card details. This information is valuable with project-related issue events The relevant GitHub API endpoint is `GET /repos/:owner/:repo/issues/:issue_number/events` -...
I want to download attachments added to Github issue. Usually an attachment is added to in Issue into the body of the comment. My problem is the GHIssueComment has a...
I'm trying to download assets from a private repository - the asset is a jar/zip file which is saved in the latest release. I'm able to connect and see the...
I have a project where I have various branch protections enabled like linear history, required status checks, and so on and those restrictions should also be valid for administrators usually...
Github is dropping support for basic auth on Nov 13, 2020 (with service brownouts on Sep 30 and Oct 28) https://developer.github.com/changes/2020-02-14-deprecating-password-auth/ We should make sure that we support using personal...
**Describe the bug** When Github organization scans for repos, it fails if the repo contains submodules with following error: Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `[Lorg.kohsuke.github.GHContent;` out of START_OBJECT...