【发布时间】:2023-01-27 15:47:42
【问题描述】:
标签: bitbucket-api
标签: bitbucket-api
我为 Bitbucket Server 找到了这个选项:
使用参数{"query":""<file_name_with_extension>"","entities":{"code":{}},"limits":{"primary":25,"secondary":10}}调用POST请求https://<bitbucket_server>/rest/search/latest/search端点
或者
带参数{"query":"<part_of_file_name> ext:<file_extension>","entities":{"code":{}},"limits":{"primary":25,"secondary":10}}
此请求返回 JSON。
【讨论】: