Web api for branches