List forks with Github API v3

百般思念 提交于 2019-12-12 00:53:49

问题


I'm trying to list all forks of a repository with the Github API (with a valid personal access token):

https://api.github.com/repos/nickperkinslondon/angular-bootstrap-nav-tree/forks/

but it returns a not found error:

documentation_url: "https://developer.github.com/v3", 
message: "Not Found"

回答1:


Try removing the trailing slash:

https://api.github.com/repos/nickperkinslondon/angular-bootstrap-nav-tree/forks



来源:https://stackoverflow.com/questions/31516921/list-forks-with-github-api-v3

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