A git ref (branch or tag) as referenced in a pull request.

interface BitbucketRef {
    displayId: string;
    id: string;
    latestCommit: string;
    repository: {
        id: number;
        links: Record<string, unknown>;
        name: string;
        slug: string;
    };
    type: "BRANCH"
    | "TAG";
}

Properties

displayId: string
id: string
latestCommit: string
repository: {
    id: number;
    links: Record<string, unknown>;
    name: string;
    slug: string;
}
type: "BRANCH" | "TAG"