我希望有人能为我指出正确的方向,通过sha调用github api v3来获取提交的详细信息。我得到一个一致的信息“找不到
{
message: "Not Found"
}我要打的电话是:
https://api.github.com/repos/{所有者}/{回复名称}/{sha}
我是否需要密钥或安全令牌才能完成此调用?
谢谢。
发布于 2013-01-23 12:36:36
看起来这就是您需要的URL:
https://api.github.com/repos/{user}/{repo name}/git/commits/{sha}示例:
https://api.github.com/repos/guillaumepotier/Parsley.js/git/commits/3934bc47e17620eb27876e9079ebe360611f8693https://stackoverflow.com/questions/14472482
复制相似问题