有些人知道如何通过REST API获取项目的分支模型。不是存储库。我在任何地方都找不到方法。
在bitbucket服务器中,我可以通过https://mybitbucket.com/plugins/servlet/branchmodel/projects/ {project-key}上的Web找到它
答案 0 :(得分:0)
我找到了:
不是实际版本的REST API文档 (https://docs.atlassian.com/bitbucket-server/rest/5.14.0/bitbucket-rest.html)
然后,您可以将GET请求发送至:
https://mybitbucket.com/rest/branch-utils/1.0/projects/ {project-key} /分支模型/配置