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

Per discussion with @nedtwigg in #1290 , it might make sense to turn down the warning/linting level for javadoc in the project. > I love when javadoc has example inputs/outputs...

task

https://docs.github.com/en/rest/reference/gists#truncation points out that file contents are truncated after one megabyte. This situation is not handled.

bug

Is there an API to create sub modules within a repository? Any help to handle this programmatically is appreciated. Thanks for your help! Regards, Balaji

good first issue
documentation

See https://github.com/github/rest-api-description

enhancement
task
more information needed

The urls returned from github are often problematic and inaccurate. Example: The url return `getRef()` returns a url with `git/refs` in it, even when the original query was to `git/ref`.

enhancement
task

**Describe the bug** ```log Error: Exception in thread "main" org.kohsuke.github.HttpException: {"message":"tree.path cannot start with a slash","documentation_url":"https://docs.github.com/rest/reference/git#create-a-tree"} at org.kohsuke.github.GitHubClient.interpretApiError(GitHubClient.java:483) at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:407) at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:355) at org.kohsuke.github.Requester.fetch(Requester.java:76) at org.kohsuke.github.GHTreeBuilder.create(GHTreeBuilder.java:171) at com.osiris.pandomiumbuilder.STEP3.(STEP3.java:140) at com.osiris.pandomiumbuilder.Main.main(Main.java:49)...

good first issue
documentation

Found by #1175 Related #1199 Issue events are similar to webhook events: there are a set of common attributes and then different events types have different additional fields. See: *...

bug
enhancement
task
breaking change

**Describe the bug** Given a user with Triage access, labels are not added when creating an issue. **To Reproduce** 1. Give a user Triage access to a repo 2. Create...

enhancement
external

Hello, I don't see enough documentation on how to create branch and then pull requests for changes in that branch. Could you please help me with that?

documentation

https://developer.github.com/changes/2020-08-20-graduate-machine-man-and-sailor-v-previews/ https://github.com/hub4j/github-api/blob/main/src/main/java/org/kohsuke/github/internal/Previews.java#L90 Previews.MACHINE_MAN deprecations (and preview annotations) should no longer be necessary.

enhancement
chore