In bitbucket api 1.0, there's an endpoint: 1.0 privileges endpoint where I can add a group to a repository after it is created. However, I can't find an equivalent on in 2.0. Group privileges seem to be read only in 2.0. Did I miss something or is it not supported in 2.0?
What I'm trying to do is to create a repo and then add existing user groups with certain access right to that repo through the API.
Hi Yining, welcome to the Community :)
I'm afraid the group endpoint is not available in 2.0 API for now. We have a Feature request for that at https://bitbucket.org/site/master/issues/15196/removal-of-10-api. You can watch it to be notified of future updates, and also add a comment if there's something you'd like to add or if you have any questions.
Hope that helps!
Ana
Ok, thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.