Bitbucket api extension