通过REST获取bitbucket服务器中的分支模型

问题描述 投票:0回答:1

有人知道如何通过REST API获取PROJECT的分支模型。不是存储库。我无法在任何地方找到它。

在bitbucket服务器中,我通过网站在https://mybitbucket.com/plugins/servlet/branchmodel/projects/ {project-key}找到它

rest server bitbucket
1个回答
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/ {项目键} / branchmodel /配置

© www.soinside.com 2019 - 2024. All rights reserved.