Closed shreyas1599 closed 3 years ago
https://gitee.com/api/v5/swagger#/getV5ReposOwnerRepoBranches
This should be the "getting all branches" API
https://gitee.com/api/v5/swagger#/getV5ReposOwnerRepoBranches
Oh no, this one I got. I mean all commits for a single branch. After selecting a particular brand the commits screen should display all commits specific to that branch right?
Oh, sorry, didn't see it clearly 😂.
Does this API work? It seems to have a sha
parameter to specify the branch
Does this API work? It seems to have a
sha
parameter to specify the branch
Ah ok I didn't notice the parameters. I was only searching the endpoints. I'll try this.
Edit: It works
Hi @pd4d10, I'm trying to add branches to
gitee
. This is all I could find for getting commits for a single branch:Getting a single branch
- returns a response that only includes the most recent commit -Example Response
is supposed to return 2 commits. It does not return a list. I might've missed something. Perhaps you could help.