query getProject(
  $projectPath: ID!
  $branchNamesLimit: Int!
  $branchNamesOffset: Int!
  $branchNamesSearchPattern: String!
) {
  project(fullPath: $projectPath) {
    id
    repository {
      branchNames(
        limit: $branchNamesLimit
        offset: $branchNamesOffset
        searchPattern: $branchNamesSearchPattern
      )
      rootRef
    }
  }
}
