I want to get image from a github repository and show it in my website.
Say, I have a image in my github-repo called banner.png. I have been successful at getting the content of README.md file which is a plain text. But images are binary thus I…
I use Graphene on the server side with similar code to the one from documentation:
class UploadFile(graphene.ClientIDMutation):
class Input:
pass
# nothing needed for uploading file
# your return fields
success =…
I am using the following to search repositories by query name "android"
{
search(query: "android", type: REPOSITORY, first: 50) {
repositoryCount
edges {
node {
... on Repository {
id
name
…
I have a webhook that listen to all code reviews, then I fetch the comments of this PR review in order to get the position of the comment in the diff.
I'm using the GitHub REST API, but the issue I have is the same with the GraphQL API.
So the…
Is it possible to get details of a Git Commit using only the SHA-1 hash (without knowing the repository name and the respective branch) using the GitHub REST API or GraphQL API v4?
As per specification of GitHub's REST API, it isn't possible.…
I am using https://developer.github.com/v4/
And I have a huge query like this:
query ($login: String!, $first: Int, $after: String) {
user (login: $login){
avatarUrl
login
name,
followers(first: $first, after:$after) {
…
I'd like to determine when a card has moved from one column to another in a GitHub Project Board using the GitHub GraphQL API.
I can list all issues in a project board (for example, Twitter Bootstrap) using a query like this one:
{
…
Using GitHub GraphQL API (v.4) I would like to get all the branch names existing on a given repository.
My attempt
{
repository(name: "my-repository", owner: "my-account") {
... on Ref {
name
}
}
}
returns error:
{'data': None,…
I want to integrate GraphQL to my existing ASP.NET Framework (with Entity Framework 4) application which has an MSSQL Server as the backend.
While browsing through the GraphQL libraries for .NET I found 2 libraries - graphql-dotnet and graphql-net,…
I am using Github's GraphQL (v4) API to make some calls. I am trying to get commits information about a repository, but I am having issues with defining the since attribute of the history connection of the Commit object.
I am getting the following…
My application (spring-boot application) is going to invoke a set of graphQL services hosted in different server. My java code (server side) needs to invoke those services to fetch & update data.
I'm looking for Java based GraphQL clients (API) so…
I'm trying to use GitHub's GraphQL API to find a list of repos matching a query but limited to a specific language. However I can't find anything in the docs relating to the language filter the typical online search supports or how something like…
In a github discussion I am pinging folks who have pending PRs to review and to make the discussion less noisy I want to hide all previous comments before posting new comments. Probably this hide option would be good but I am not getting how to do…
I'm trying to build a simple Android app to list random repositories and be able to add a star to certain repos. Every time when I try to do a mutation to add a star to a project using Altair I get the said error message, but when I perform the same…
I am exploring Github's graphQL API, and I am new to this. In the below use case, I am trying to fetch the repos which are of Java and their owners are from the location "London". I have tried multiple filters, like the one below and none has worked…