The Atlassian API for fetching the repository using repository service is repositoryService.getBySlug(project, slug);
It could also be a user's repository that does not have a project. Example below
How to get the repository for users?
http://ubox:7990/bitbucket/users/kshi/repos/kshitijrepo/commits/643ea6502e8bd8db70f9e62d920297ea1c9e4c65
There is another API that gives the repository getById(int id). Here the id is the repository ID. How to fetch the id using the HTTPRequest to further fetch the repository?
getBySlug API fails because this repository does not have any project created for it.
Really programs that nice good
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.