2
我已经在php中使用“gentlero/bitbucket-api”来获取bitbucket信息。 https://github.com/gentlero/bitbucket-api从bitbucket存储库获取分支
我想从bitbucket存储库获取分支但无法获取分支机构信息。 任何帮助将不胜感激。
我已经在php中使用“gentlero/bitbucket-api”来获取bitbucket信息。 https://github.com/gentlero/bitbucket-api从bitbucket存储库获取分支
我想从bitbucket存储库获取分支但无法获取分支机构信息。 任何帮助将不胜感激。
你可以通过后面的代码获取分支。试试这个代码。希望能帮到
$result=Bitbucket::connection('alternative')->api('Repositories\Repository')->branches('repo name', 'api name');
$data=json_decode($result->getContent());
dd($data);