Details
-
Bug
-
Resolution: Not a bug
-
Medium
Description
I'm working on migrating a product which obtains a list of repositories a Bitbucket users has read/write access to. Previously it used the following API request to obtain private, public and team-specific repositories for a user:
GET /1.0/user/repositories
There is no equivalent for the current API version, the closest looking equivalent endpoint lists private and public, but no team-specific repositories:
GET /2.0/repositories/<username>
I've tried another endpoint providing something very similar looking, but got redirected to the previous one:
GET /2.0/users/<username>/repositories