Bitbucket: refactoring url for api 1.0