对于orgs / eea / repos,Github API不完整/永久缓存JSON

时间:2013-08-27 14:00:36

标签: json git api caching github

我有一个github API v3的问题,因为它似乎永远缓存或以某种方式删除了这个JSON中的一些存储库:

https://api.github.com/orgs/eea/repos

寻找eea.soercontent或eea.package。即使它们显示在这里,它们也会丢失:

https://github.com/eea/

有任何线索吗?有没有办法让这个缓存失效?如果有的话?

1 个答案:

答案 0 :(得分:1)

2013年8月27日下午06:48,James Dennes(GitHub Staff)写道:

  

Hey Alin,

     

感谢您的联系 - 看起来您正在接受Troled By Pagination™。

     

您需要请求下一页结果才能查看这些存储库。响应的链接头包含分页详细信息:

     

链接:https://api.github.com/organizations/1176627/repos?page=2; rel =“next”,https://api.github.com/organizations/1176627/repos?page=2;的rel = “最后一个”

     

关于分页的所有细节都在这里:

     

http://developer.github.com/v3/#pagination

     

我希望有所帮助。

     

干杯,   詹姆斯