GitHub API v4 does not show the results for companies when user query is used. If I use repositoryOwner instead, it returns results for both users and companies. However, user query can return more detailed information such as biography, website,…
I found out that you can do this via the REST API, but ideally I want to stick to the GraphQL API in my program. I've been scouring the API Documentation but I am also pretty shaky and new to GraphQL so I can not seem to find a way to mutate the…
I have an apollo-wrapped component that's supposed to provide my component with response data from the github graphql v4 api. I intend to use a string(SEARCH_QUERY) from another part of the app to be used in my gql query but github keeps returning…
Is it possible to list all github's organizations with GitHub GraphQL API v4 like we did with REST API v3 ?
Follow a limited sample call :
$ curl https://api.github.com/organizations?since=32358551
[
{
"login": "NxtReader",
"id":…
I want to determine the size of the file "foo" in the master branch of johndoe's "boo" repository.
Any suggestion?
I am using https://docs.github.com/en/graphql/overview/explorer to make the query.
I stumbled on GitHub GraphQL today and at first glance, it seemed to me I could do more with it than I already do with their regular RESTful API. I created some Adapters in my existing application and managed to authenticate Users based on a…
I've been trying to retrieve all GitHub issues of a specific project using their GraphQL API.
The problem that i have is that i need to specify in the items a first or last param it doesn't work. Although by specifying one of these params i get only…
I am scraping some data from GitHub. The RESTful URL to this particular PR shows that it has a merge_commit_sha value: https://api.github.com/repos/ansible/ansible/pulls/15088
However, when I try to get the same PR using GitHub GraphQL API, it shows…
I have a GitHub app that is authorized to access data from my workplace's private repository. I use the GitHub GraphQL API to search for each user's recent pull requests.
The pull request query works great except in the case of one user who has made…
How do I get the order of items in a board view column from the API? I found the sortBy object in the ProjectV2 views, but I'm struggling querying the items ordered by fieldValue (position?).
Would you mind helping me construct a query for the JSON…
I’m writing a workflow to add issues/PRs as project items to the projects beta. I was previously using a personal access token for the GraphQL API call, which worked successfully. However, using a token generated from a GitHub App does not work. The…
With Github's GraphQL API I recently found "Github API: Getting topics of a Github repository" that mentions you can get a count of topics:
{
repository(owner: "twbs", name: "bootstrap") {
repositoryTopics(first: 10) {
edges {
…
I am just wondering, did anyone manage to authenticate into the Github GraphQL API with using a Github App and how?
The purpose of this is to write a script that pulls information from Github with the GraphQL API, but uses an app for authentication…
Looking at the set up for go-vcr
// Start our recorder
r, err := recorder.New("fixtures/etcd")
if err != nil {
log.Fatal(err)
}
defer r.Stop() // Make sure recorder is stopped once done with it
// Create an etcd…