Bitbucket Data Center API Client
    Preparing search index...

    Interface AddCommitCommentData

    Payload for POST /rest/api/latest/projects/{key}/repos/{slug}/commits/{id}/comments.

    interface AddCommitCommentData {
        anchor?: {
            fileType?: "FROM" | "TO";
            line?: number;
            lineType?: "CONTEXT" | "ADDED" | "REMOVED";
            path?: string;
            srcPath?: string;
        };
        parent?: { id: number };
        text: string;
    }
    Index

    Properties

    Properties

    anchor?: {
        fileType?: "FROM" | "TO";
        line?: number;
        lineType?: "CONTEXT" | "ADDED" | "REMOVED";
        path?: string;
        srcPath?: string;
    }

    Anchor the comment to a specific file/line.

    parent?: { id: number }

    Parent comment id for reply threads.

    text: string