Represents a git tag in a Bitbucket Data Center repository.

interface BitbucketTag {
    displayId: string;
    hash?: string;
    id: string;
    latestChangeset: string;
    latestCommit: string;
    type: "TAG";
}

Properties

displayId: string

Short tag name (e.g., 'v1.0.0')

hash?: string

Tag object SHA (only present for annotated tags)

id: string

Full ref name (e.g., 'refs/tags/v1.0.0')

latestChangeset: string
latestCommit: string

SHA of the commit this tag points to

type: "TAG"