2017-06-23 40 views
2

有人可以告诉我 - 在哪里有一种方法可以使用graphql API获取所有提交的特定存储库的统计信息? 现在我与查询这样结束:使用graphql提交来自github的统计信息

query { 
    viewer { 

    repository(name: "CRM_system") { 
    ref(qualifiedName: "master") { 
     target { 
     ... on Commit { 
      id 
      history(since: my_date_time) { 
      edges { 
       node { 
       messageHeadline 
       oid 
       message 
       author { 
        name 
        email 
        date 
       } 
       } 
      } 
      } 
     } 
     } 
    } 
    } 
} 
    } 

但它仅表明“主”和犯规表演统计承诺不惜一切,我想看到类似GitHub的REST API:

stats: { 
total: 27 
additions: 27 
deletions: 0} 
+0

你知道了吗?我也需要解决方案。 – bart

+0

infortunatelly not,also see https://platform.github.community/t/commit-stats-for-commits-in-repository/2193 – Vova

回答