Referencing Branches by Id

Branch URLs currently use an Id for the stream and a urlencoded branch name as the URL.

Given that Branchs also have UIDs, could the API allow for a branch to be referenced either by Id or by Name?


Or am I missing something where this is already possible?

1 Like

Ah, we could add that. It would make the api a bit more consistent (streams, commits and users are by id, branches - nope, by name :sweat_smile:) And guess what, there’s already a primary index on branch ids in the table definition.

Tracked here.