在一个 api 请求中获取 github 存储库详细信息、带有 default_branch 的所有源的分支信息?

时间:2021-02-13 20:17:13

标签: javascript api fetch github-api github-api-v3

我可以使用这 3 个 api 来获得这些结果。

repo info api: GET /repos/{owner}/{repo}/

branch api: GET /repos/{owner}/{repo}/branches

tree api: GET /repos/{owner}/{repo}/git/trees/{tree_sha}?recursive=true

但这将花费我 3 个 api 调用。最大限制为每小时 60 个。

有没有办法在一个请求中获得所有这些结果?

0 个答案:

没有答案
相关问题