Github API result

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 17:09:08

问题


I use github api to get the details of repository, in the result field, there is "fork" and "has_issue" field, which means whether the project allows to fork and report issue.

In my understanding: if the value of "fork" is false, then the value of "forks_count" will be 0, because no one is allowed to fork it; if the value of "has_issue" is false, then "open_issues_count" should be 0.

However, https://api.github.com/repos/textmate/textmate both "fork" and "has_issue" are false, but "forks_count" and "open_issues_count" are much larger than 0, Anyone knows why?

Another problem is that, the value of "language" is predefined by repository owners or automatically extracted by Github?

来源:https://stackoverflow.com/questions/45399219/github-api-result

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!