【发布时间】:2020-05-02 21:20:23
【问题描述】:
如何在我的组织中检索最近更新的 git 存储库列表(例如从最近 1 天或 2 天或一周或一个月)。我更愿意根据 organization_id 进行此搜索
【问题讨论】:
-
你想在 github 或其他任何东西上做这个吗?
-
另外,你想用特定的编程语言来做这个吗?
标签: git
如何在我的组织中检索最近更新的 git 存储库列表(例如从最近 1 天或 2 天或一周或一个月)。我更愿意根据 organization_id 进行此搜索
【问题讨论】:
标签: git
您需要:
list repositories in your organization
https://api.github.com/orgs/:org/repos
对于每个 repo,get the latest commit date of, for instance, the master branch
https://api.github.com/repos/:owner/:repo/branches/master
【讨论】:
GET /...,一旦你只有一个URL。这可能会令人困惑。