Bitbucket Data Center API Client
    Preparing search index...

    Interface DiffParams

    Query parameters accepted by GET /rest/api/latest/projects/{key}/repos/{slug}/commits/{id}/diff[/{path}].

    interface DiffParams {
        contextLines?: number;
        since?: string;
        srcPath?: string;
        whitespace?: "IGNORE_ALL" | "IGNORE_CHANGE";
    }
    Index

    Properties

    contextLines?: number

    Number of context lines to include around each change (default: 10)

    since?: string

    Only include changes introduced after this commit SHA

    srcPath?: string

    Limit the diff to a specific file path. When provided it is appended to the URL as a path segment: .../diff/{encodedSrcPath}

    whitespace?: "IGNORE_ALL" | "IGNORE_CHANGE"

    Whitespace handling: 'IGNORE_ALL' | 'IGNORE_CHANGE'