Commits comments
Manage commits comments.
Prepare:
// @see: https://bitbucket.org/account/user/<username or team>/api
$oauth_params = array(
'client_id' => 'aaa',
'client_secret' => 'bbb'
);
$commit = new \Bitbucket\API\Repositories\Commits();
$commit->getClient()->addListener(
new \Bitbucket\API\Http\Listener\OAuth2Listener($oauth_params)
);
Get a list of a commit comments: (API 2.0)
$commit->comments()->all($account_name, $repo_slug, $commitSHA1)
Get an individual commit comment: (API 2.0)
$commit->comments()->get($account_name, $repo_slug, $commitSHA1, $commentID)