Issue #255: List open branches with kallithea API
Reported by: | Anssi Taskinen |
State: | resolved |
Created on: | 2016-11-28 13:43 |
Updated on: | 2017-03-12 20:20 |
Description
It seems like there is no way to list branches for a repository with kallithea api. I guess this should be implemented with/inside this http://kallithea.readthedocs.io/en/0.3.1/api/api.html#get-repo method?
Attachments
Comments
Comment by Søren Løvborg, on 2016-11-29 11:06
There's no official API, but you can use the refs-data
endpoint. Example: https://kallithea-scm.org/repos/kallithea/refs-data
Comment by Anssi Taskinen, on 2016-11-29 15:31
Wow, I didn't even knew that kind of thing exists. This solved the issue with my use case, thank you Søren Løvborg!
Comment by Anssi Taskinen, on 2017-03-12 20:20
Use the refs-data endpoint.