This gist I want to shere how to get data from bitbucket api.
In my case, I want to list all repo tag
curl -v https://user:[email protected]/2.0/repositories/reposname/project-name/refs/tags
find Authorization key
> Host: api.bitbucket.org
> Authorization: Basic #TOKEN
> User-Agent: curl/7.54.0