使用Github API v3列出分叉 [英] List forks with Github API v3

查看:105
本文介绍了使用Github API v3列出分叉的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Github API(具有有效的个人访问令牌)列出存储库的所有分支:

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"

推荐答案

尝试删除斜杠:

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

这篇关于使用Github API v3列出分叉的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆