Get GitHub repository detail info, branches info with default_branch's all sources in one API request?

217 Views Asked by At

I can use these three API to get those result.

  • 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

But it will cost me three API calls. Maximum limit is 60 per hour.

Is there a way to get all those result in one request?

0

There are 0 best solutions below