I would like to create an annotated tag in BB cloud for a repo using the rest api. is this currently possible or is it only for BB server?
curl -X POST -u your-username:your-password -H "Content-Type: application/json" -v --trace - -d '{"name":"your-tag-name","target":{"hash":"your-hash"}}' https://api.bitbucket.org/2.0/repositories/your-team/your-repo/refs/tags
(Replace your-xxxx with appropriate content)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you do it when using OAth ? I would like to automate this process.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.