Skip to content

Releases totalCount using GraphQL v4 API #24384

Answered by kyeno
kyeno asked this question in API and Webhooks
Discussion options

You must be logged in to vote

And I just figured it out myself.

{
  repository(owner: "repo-owner", name: "repo-name") {
    refs(refPrefix: "refs/tags/") {
      totalCount
    }
  }
}

Works like a charm. :slight_smile:

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant