Skip to content

Can I take repository from Github GraphQl Api by ID #22184

Answered by hajczek
hajczek asked this question in New to GitHub
Discussion options

You must be logged in to vote

Thanks for help again!

I found the solution of my problem :slight_smile:

Here is my query, which works well:

query repository($id:  ID!){ 
    node(id: $id){
    ... on Repository {
      id
      nameWithOwner
    }
  }
} 

Have a nice evening!!!

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@luckydonald
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants