Skip to content

Instantly share code, notes, and snippets.

@zautomata
Forked from katopz/GetRepositoryInfo.gql
Created July 30, 2022 10:43
Show Gist options
  • Save zautomata/06a913a6977c7ca068db05d4da728b66 to your computer and use it in GitHub Desktop.
Save zautomata/06a913a6977c7ca068db05d4da728b66 to your computer and use it in GitHub Desktop.

Revisions

  1. @katopz katopz revised this gist Sep 17, 2016. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions GetRepositoryInfo.gql
    Original file line number Diff line number Diff line change
    @@ -1,24 +1,24 @@
    // Try at : https://graphql-explorer.githubapp.com/
    query {
    repositoryOwner (login: "facebook") {
    repositories() {
    repositories {
    totalCount
    }
    repository(name: "react") {
    description
    forks() {
    forks {
    totalCount
    }
    issues() {
    issues {
    totalCount
    }
    stargazers() {
    stargazers {
    totalCount
    }
    watchers() {
    watchers {
    totalCount
    }
    pullRequests() {
    pullRequests {
    totalCount
    }
    labels(first:10) {
  2. @katopz katopz created this gist Sep 16, 2016.
    40 changes: 40 additions & 0 deletions GetRepositoryInfo.gql
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,40 @@
    // Try at : https://graphql-explorer.githubapp.com/
    query {
    repositoryOwner (login: "facebook") {
    repositories() {
    totalCount
    }
    repository(name: "react") {
    description
    forks() {
    totalCount
    }
    issues() {
    totalCount
    }
    stargazers() {
    totalCount
    }
    watchers() {
    totalCount
    }
    pullRequests() {
    totalCount
    }
    labels(first:10) {
    edges {
    node {
    name
    }
    }
    }
    milestones(first:10) {
    edges {
    node {
    title
    }
    }
    }
    }
    }
    }