Represents a git commit in a Bitbucket Data Center repository.

interface BitbucketCommit {
    author: BitbucketCommitAuthor;
    authorTimestamp: number;
    committer: BitbucketCommitAuthor;
    committerTimestamp: number;
    displayId: string;
    id: string;
    message: string;
    parents: { displayId: string; id: string }[];
}

Properties

authorTimestamp: number

Unix timestamp (ms) of the author date

committerTimestamp: number

Unix timestamp (ms) of the committer date

displayId: string

Abbreviated commit SHA

id: string

Full commit SHA

message: string
parents: { displayId: string; id: string }[]