Tags mark a specific commit at a point in your repository history. When you tag a commit, you're including all the changes before it. You can later compare tags to see the difference between two points in history. Tags are commonly used to mark release versions, with the release name as the tag name.
bitbucket_tag table can be used to query information about ANY repository, and you must specify which repository in the where.
Get commits by tags
selectname,repository_full_name,split_part(target -> 'links' ->> 'self', '/commit/', 2) as commit_hashfrombitbucket_tagwhererepository_full_name = 'my-workspace/my-repo';
Bitbucket repository tags.
|heads||jsonb||The repository's full name.|
|name||text||Name of the ref.|
|repository_full_name||text||The concatenation of the repository owner's username and the slugified name, e.g. "turbot/steampipe-plugin-bitbucket". This is the same string used in Bitbucket URLs.|
|self_link||text||A link to a resource related to this object.|
|target||jsonb||Specifies details of target of the tag.|
|title||text||Title of the resource.|
|type||text||Type of the Bitbucket resource. It will be always "tag".|