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

Viewed 137

I can use these 3 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 3 api call. Maximum limit is 60 per hour.

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

0 Answers
Related