I have a GraphQL query.
I cannot understand why it is not working.
{
repositoryOwner(login: "Naramsim") {
login
repositories(first: 3, isFork: true, orderBy: {field: CREATED_AT}) {
edges {
node {
description
…
I am able to get the list of commits (with fields like commit messages, oid, commit url etc) along with the number of changedFiles, made in a repository on the master branch.
However I am not able to figure out how to get any information about the…
I'm using Github API v4 to run search query.
From the API documentation I can understand that the following query gives me pageInfo but I don't know how to use it to traverse.
query {
search(first: 100, type:USER, query:"location:usa repos:>0…
I saw clientMutationId field in documentation
- https://developer.github.com/v4/guides/migrating-from-rest/#example-strong-typing
what does clientMutationId mean? How can I generate it?
I am using GraphQL to get some data from a list of repositories using Github's GraphQL (v4) API. I want to get a list of the latest commits from a repository, no matter what is the commit's branch/tag/ref.
For now I am doing the following to get the…
I started to use graphQl with react relay. And I followed some tutorials and I can able to get and post with the help of mutations and queries. Everything works fine but my question here is,
Where qraphql is saving the data and fetching that for…
I'm trying to get repositories of user with login name "somelogin".
It returns all repositories but I'm trying to get repositories owned by him only. Because new API uses GraphQL I couldn't did it.
Currently I'm using:
{
"query": "query {…
V3 of the Api provides a REST interface for this:
POST /repos/:owner/:repo/issues
{
"title": "Found a bug",
"body": "I'm having a problem with this.",
"assignees": [
"octocat"
],
"milestone": 1,
"labels": [
"bug"
]
}…
I'm wrestling with Github's graphql api (while learning graphql) trying to get it to list all issues in a certain milestone. I can't figure out how to do that from the API docs.
I can query issues and see what milestone they're in (sorry, names…
I want to query using GitHub Graphql api for project contributors, can anyone give me any hints how to make it? Just been trying for some time, and I guess that I am missing some small element.
I'd like to get sth like…
Here is an example of a cURL query to the GitHub api v4 that keeps returning an error:
curl -H "Authorization: bearer token" -X POST -d " \
{ \
\"query\": \"query { repositoryOwner(login: \"brianzelip\") { id } }\" \
} \
"…
The v3 has a specific API for retrieving the readme.md file. But in the new V4 GraphQL, there is no such field in the Repository Object.
Does anyone know how to retrieve the readme file?
Thanks!
One of the advantage of Github Search v4 (GraphQL) over v3 is that it can selectively pick the fields that we want, instead of always getting them all. However, the problem I'm facing now is how to get certain fields.
I tried the online help but it…