How can I tell if a branch exists in my vsts git repo using the REST API?
I see there's a ref endpoint, and I can filter the query for heads(branches) only, but how can I specific a branch name filter? Pulling back all the branch names and filtering on the client isn't a great answer.
I didn't find anything in the API docs at https://www.visualstudio.com/en-us/docs/integrate/api/git/refs#just-branches