Hi @ramakrishna
You can't build this list easily, you will need to check each repository manually.
There is a feature request for an entry point to check if a given user has write access, which could be used to build such list, but this is just a feature request: [BCLOUD-8542] Determine whether authenticated user has "write" access to a repository?.
In case you think we should have a different entry point via REST for such report, please share what in your opinion would be the parameters send and returned and I'll open a feature request for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @ramakrishna
I had a typo in my first message. I said "You can build this list easily" when it should be "You can't build this list easily". The best you can do is to check what repositories he has access using the workaround provided by evzijst on [BCLOUD-8542] Determine whether authenticated user has "write" access to a repository?.
GET /2.0/repositories/{username}?role=contributor
For more details on this API you can check Bitbucket API - Repositories/{username}.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.