我试图让我的github提交作为RSS提要,但到目前为止,我还没有设法弄明白.我知道私有源可用以下语法:
https://github.com/username.atom?token=token
Run Code Online (Sandbox Code Playgroud)
但这是用户活动的Feed.我想要一个我的项目的提交源.提前致谢!
完美,谢谢!! 这是最后的语法:
https://github.com/username/repository_name/commits/branch_name.atom?login=login&token=token.
Run Code Online (Sandbox Code Playgroud)
尽管如此,仍然无法查看所有分支机构的提交.
例如,https://github.com/vanillaforums/Garden是GitHub存储库.但我只想https://github.com/vanillaforums/Garden/tree/master/plugins在存储库中"监视"此目录.
我怎么做?似乎没有办法.
我可以看到特定用户的所有事件,例如这里是我的:
https://api.github.com/users/arasbm/events
但我只对特定类型的事件感兴趣:
"type": "PushEvent",
Run Code Online (Sandbox Code Playgroud)
如何在不处理所有事件列表(可能很慢)的情况下获取此数据.我正在尝试这样做,因为我想获得已经合并的所有PR的列表.如果你能给我一个很棒的curl命令.我无法在github api文档中的任何地方找到它.