Details
-
Bug
-
Resolution: Fixed
-
Low
Description
The REST API allows a repository to be queried for a list of branches. What is returned by the API is a JSON litteral, not a list of branches.
{
"master":
"trunk": { ... }
}
It should be formed something like {[
{ "name" : "master", ... },
{ "name" : "trunk", ... }]}
It would also be useful if it could also return if the branch is currently involved in a pull-request.