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} and GET /rest/api/latest/projects/{key}/repos/{slug}/pull-requests/{id}/diff/{path}.

    interface DiffParams {
        contextLines?: number;
        path?: string;
        since?: string;
        srcPath?: string;
        whitespace?: "ignore-all";
    }
    Index

    Properties

    contextLines?: number

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

    path?: string

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

    since?: string

    Only include changes introduced after this commit SHA

    srcPath?: string

    The previous path of the file, if the file has been copied, moved or renamed. Sent as a query parameter.

    whitespace?: "ignore-all"

    Whitespace handling: 'ignore-all'