Bitbucket Data Center API Client
    Preparing search index...

    Interface BitbucketBranch

    Represents a git branch in a Bitbucket Data Center repository.

    interface BitbucketBranch {
        displayId: string;
        id: string;
        isDefault: boolean;
        latestChangeset: string;
        latestCommit: string;
        type: "BRANCH";
    }
    Index

    Properties

    displayId: string

    Short branch name (e.g., 'main')

    id: string

    Full ref name (e.g., 'refs/heads/main')

    isDefault: boolean

    Whether this is the repository's default branch

    latestChangeset: string
    latestCommit: string

    SHA of the latest commit on this branch

    type: "BRANCH"