github-api
github-api copied to clipboard
Java API for GitHub
**Description of the bug** When listing installations for a given App ID, the deserialization of the JSON response fails with the exception: ``` hudson.remoting.ProxyException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type...
See https://docs.github.com/en/rest/git/refs?apiVersion=2022-11-28#list-matching-references. The endpoint is `/repos/{owner}/{repo}/git/matching-refs/{ref}`. The goal of this endpoint is to list refs that match the given prefix. It's useful to avoid fetching all available refs.
# Description This is spike considering what it would look like if we published each new version in it's own package. The most complex code should be move to internal...
https://github.com/hub4j/github-api/actions/runs/16606284210 ``` 2025-07-29T20:24:21.7667363Z ##[group]Run mvn -B clean deploy -DskipTests -Prelease -Pbridged 2025-07-29T20:24:21.7668059Z [36;1mmvn -B clean deploy -DskipTests -Prelease -Pbridged[0m 2025-07-29T20:24:21.7696714Z shell: /usr/bin/bash -e {0} 2025-07-29T20:24:21.7697147Z env: 2025-07-29T20:24:21.7698515Z JAVA_11_PLUS_MAVEN_OPTS: --add-opens jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED...
I notice that Github has a rest api to retrieve the dependencies of a repository: https://docs.github.com/en/rest/dependency-graph/sboms?apiVersion=2022-11-28#export-a-software-bill-of-materials-sbom-for-a-repository However, I did not find a corresponding API call in github-api. I tried to...
The Library uses Java HttpClient, which was removed in Android 7. Using this library on > Android 7 results in the following error: `NoClassDefFoundError: Failed resolution of: Ljava/net/http/HttpClient;` **To Reproduce**...
# Description *Opening as a draft since the tests are not ready and I have questions about them* This PR provides support for the device authentication flow for github apps,...
`GHPullRequestSearchBuilder` is built on the previous GitHub API, which does not use advanced search. On September 4, 2025, advanced search will be enabled by default, but currently, it's not supported...