Changesets
Manage changesets resources on a repository. Unauthenticated calls for these resources only return values for public repositories.
Prepare:
$changesets = new Bitbucket\API\Repositories\Changesets();
$changesets->setCredentials( new Bitbucket\API\Authentication\Basic($bb_user, $bb_pass) );
Get a list of changesets associated with a repository:
$changesets->all($account_name, $repo_slug, 'aea95f1', 20);
Get an individual changeset:
$changesets->get($account_name, $repo_slug, 'aea95f1');
Get statistics associated with an individual changeset:
$changesets->diffstat($account_name, $repo_slug, '4ba1a4a');
Get the diff associated with a changeset:
$changesets->diff($account_name, $repo_slug, '4ba1a4a');
Get the likes on an individual changeset
NOTE: Because of a ( bug ) in the API, implementation for this method is missing for the moment.