I'm trying to look up the GitHub username for a few hundred users based on their email (which I pulled from the git log). Unfortunately I can't figure out how to do this without making a single call per email.
How do I look up many GitHub usernames…
Recently I was given a test task to implement a repository list with pagination using React and Github GraphQL API. It was required to allow to skip pages (e.g. going from page №1 to page №5).
I am struggling to do so, because as far as I know…
I need to find top 5 popular discussions in the last month for a Github repo. By popular, I mean most interacted with. I am using the below java-script code which gives me the total count of comments and reactions for each discussion. But how do I…
I'm trying to get the last commit with typesaftey but can't get past the history property because it can be an empty object, {}, null, undefined, or the actual object I want, Commit.
My GitHub GraphQL query is
query OrgReposAgExtended_v3(
…
I am trying to create a new repository based on a template using the Github GraphQL api.
I am using the mutation notation in combination with some custom variables. I know there is a 'cloneTemplateRepository' call which accepts some input. However I…
I am trying to sort reservesUSD of nested object dailyPoolSnapshots In descending order by timestamp and return it's first value (in other words, return the latest entry).
I know almost nothing of GraphQL and it's documentation seems confusing and…
How to change the default branch of a repository by using graphql api. I write the query to get the default branch but I didn’t able to find how to change with another branch.
Thabkyou for the response
Please help to write a query to change the…
I'm trying to build a module for my portfolio and I want to has a list with the last repository I've participate in.
I'm using Github GraphQL API.
I've come up with this request :
query
{
viewer {
login
name
…
The GitHub GraphQL API documentation for the Repository object shows an isLocked field, which it describes with, "Indicates if the repository has been locked or not."
I can't find a reference in the GitHub documentation to "locking" a repository.…
at my company we want to make use of the relatively new API feature "Automerge" (not through a UI but through an API call),
However we can't seem to find any documentation of a webhook (or other asyc way) of finding out if a merge request failed and…
I want to fetch all the repos, that I'm owner/contributor with specific topic.
I tried below this request. This returned, all my repos that I'm owner/contributor with all the topics.
{
viewer {
repositories(first: 100) {
pageInfo {
…
I've successfully implemented automatic file creation/update via Github V3 Rest API, however the only downside is that for each file I have a commit.
There is a possibility to do the same for multiple files, but unfortunately it involves some…