#How can I get the count of branches in a repository via GraphQL API in a single request?

3 messages · Page 1 of 1 (latest)

random stream
#

I've read the GraphQL resources, but AFAIK it is not possible.

I do know that one can run multiple queries to get the information from Repository.branchNames.

#

For comparison, one can get the count of pipelines in a project in a single request

meager crane
#

There's no way to get a raw "count" without iterating through the Repository.branchNames as you mention