I would like to execute a query for issues in a specific repository using GitHub GraphQL. Here is what I have:
query MyQuery {
search(query: "repo:spring-projects/spring-boot in:title fonts", type: ISSUE, first: 3) {
edges {
node {
…
Can we compare two branches with the Github GraphQL?
From their v3 rest API, you can do:
/repos/:owner/:repo/compare/:base...:head
(docs: https://developer.github.com/v3/repos/commits/#compare-two-commits)
and this works with SHA's, branches, tags,…
I am trying to automate some stuff that will require to get the current images from a GitHub private repo.
Ideally, I'd iterate over the root directory and, for all images, get the URL for the RAW file.
For example:
For this image:…
I'm the lead student-researcher on a team trying to analyze and mine GitHub repositories. We're trying to get (the repo_owner and repo_name) for every project hosted on Github that meets the following criteria:
query MyQuery {
search(query:…
How do I query GitHub Packages to determine whether a package already exists? I want to prevent CI/CD from attempting to publish a Maven package if that package already exists.
I'm trying a query that looks like:
curl -X POST -H "Authorization:…
I am writing a script that will query the github graphql API for open pull requests, and post the count and summary information about them to a slack channel.
I am able to query the github-graphql API and return the results. I am able to iterate…
I want to create a gist using GitHub's GraphQL API. Although, I couldn't find the mutation to use.
I tried searching for a mutation in the docs but there was none matching addGist.
Is there still a way to make a POST request to create a gist using…
With Github GraphQL I want to answer the question:
What commits have been merged into master between releases/tags?
The result should be similar to the results for this question Get commit list between tags in Git if I were to do it on the command…
I am getting the error "Validation error of type FieldsConflict" when i am not using aliases in my request. kindly confirm if this is expected or if there is a workaround
{
person(search: [{firstname: "DAN", lastname: "WATLER", country:…
Hi I am using Apollo android to get a list of repositories with a keyword from the Github GraphQl
I have to add cursor based pagination as well.
This is the .graphql file
query Search($query: String!,$afterCursor: String!){
search(query:$query,…
I'm relatively new to GraphQL and want to implement GraphQL to my existing ASP.NET Framework (with Entity Framework 4) application which has an MSSQL Server as the backend.
While browsing for GraphQL libraries and for their demos/examples I found…
The following GraphQL query runs perfectly fine in Github GraphQL Explorer:
$ cat GraphQL_query.graphql
query {
__schema {
types {
name
kind
description
fields {
name
}
}
}
}
however, when I send it…
As title, I'm using Github GraphQL explorer to fetch list of my gists.
query {
viewer {
gists(first:5, privacy:ALL) {
edges {
node {
id
description
name
…
So, I have created a query to retrieve some data from Github using its GraphQL API (tested with REST API; same problem). The query is partially shown below (showing just what matters):
query listRepos($queryString: String!, $numberOfRepos: Int!,…
I am trying to retrieve some data from Github's GraphQL API using graphql.js library.
var graph = graphql("https://api.github.com/graphql", {
method: "POST",
headers: {
"Authorization": "Bearer ",
"Content-Type":…