I can see only the public snippet using the https://api.bitbucket.org/2.0/snippets/{team_name} endpoint
Hi Davide!
You'll need to authenticate if you want to fetch the private snippets too. Remember that, in the case of a team, you need to authenticate as a team member with administrative access. If you are testing an application, you can use a client such as cURL together with basic authentication (username/password, or if you have two-step verification enabled, username/app password).
Hope that helps!
Ana
Thanks for the reply, I was able to find the solution to my problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear that, Davide! Have a good day,
Ana
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.