Bitbucket Data Center API Client
    Preparing search index...

    Interface AddInsightAnnotationData

    Payload for adding or replacing a single Code Insights annotation.

    interface AddInsightAnnotationData {
        externalId?: string;
        line?: number;
        link?: string;
        message: string;
        path?: string;
        severity: InsightAnnotationSeverity;
        type?: InsightAnnotationType;
    }
    Index

    Properties

    externalId?: string

    Identifier assigned by the reporting tool; unique within the report

    line?: number

    Line to annotate; omit (or 0) to annotate the whole file

    link?: string

    Link to the finding in the reporting tool

    message: string

    The finding's message, max 2000 characters

    path?: string

    Path of the annotated file, relative to the repository root