PHP Bitbucket API

Simple Bitbucket API wrapper for PHP

Commits comments

Manage commits comments.

Prepare:

$commit = new Bitbucket\API\Repositories\Commits();
$commit->setCredentials( new Bitbucket\API\Authentication\Basic($bb_user, $bb_pass) );

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)