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.
Glad to hear that, Davide! Have a good day,
It looks like you're new here. Sign in or register to get started.