问题描述
我正在尝试遵循these的说明
GET https://dev.azure.com/{organization}/{project}/_apis/build/repos/{repoType}/badge?api-version=6.0-preview.2
在我的github仓库上获取azure管道状态徽章。有人可以告诉我repoType参数指的是什么吗?这些说明很有帮助,说它的“存储库类型”从字面上告诉我什么。
解决方法
我猜这是RepositoryTypes的一个字段
Bitbucket
Git
GitHub
GitHubEnterprise
Svn
TfsGit
TfsVersionControl