Hello all,
I'm unable to pull private projects and repos list using the api https://api.bitbucket.org/2.0/workspaces/UUID/projects. When i do a API call, i'm getting only public projects list within my organization workspace.
Thanks in advance!!
Hi, @puru kovvuri, thank you for reaching out to Atlassian Community.
Could you please confirm which type of authentication you are using when making this request?
In case you are using Basic Auth, we have deprecated account passwords, so you need to use an app password (if you are not using one already). If you are using an app password, make sure it has all the necessary permissions. And if you use OAuth, permissions could also be an issue.
This is an example (utilizing an app password) you can follow:
curl -X GET -u username:apppassword https://api.bitbucket.org/2.0/workspaces/{workspaceID}/projects
Please feel free to share any additional questions or concerns regarding this case.
Kind regards,
Caroline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What are you passing in as the user/auth for the REST API call?
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.