github-api
github-api copied to clipboard
Java API for GitHub
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...
https://docs.github.com/en/rest/reference/gists#truncation points out that file contents are truncated after one megabyte. This situation is not handled.
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
See https://github.com/github/rest-api-description
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`.
**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)...
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: *...
**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...
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?
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.