Azure Connectors Node.js SDK
    Preparing search index...

    Definition: PullRequest

    interface PullRequest {
        active_lock_reason?: string;
        additions?: number;
        assignee?: UserDetailsModel;
        assignees?: UserDetailsModel[];
        author_association?: string;
        base?: Record<string, unknown>;
        body?: string;
        changed_files?: number;
        closed_at?: string;
        comments?: number;
        comments_url?: string;
        commits?: number;
        commits_url?: string;
        created_at?: string;
        deletions?: number;
        diff_url?: string;
        draft?: boolean;
        head?: Record<string, unknown>;
        html_url?: string;
        id?: number;
        issue_url?: string;
        labels?: Label[];
        locked?: boolean;
        maintainer_can_modify?: boolean;
        merge_commit_sha?: string;
        mergeable?: boolean;
        mergeable_state?: string;
        merged?: boolean;
        merged_at?: string;
        merged_by?: UserDetailsModel;
        milestone?: Milestone;
        node_id?: string;
        number?: number;
        patch_url?: string;
        rebaseable?: boolean;
        requested_reviewers?: UserDetailsModel[];
        requested_teams?: TeamDetails[];
        review_comment_url?: string;
        review_comments?: number;
        review_comments_url?: string;
        state?: string;
        statuses_url?: string;
        title?: string;
        updated_at?: string;
        url?: string;
        user?: UserDetailsModel;
    }
    Index
    active_lock_reason?: string

    Reason that the conversation was locked.

    additions?: number

    The number of additions in this pull request.

    assignee?: UserDetailsModel
    assignees?: UserDetailsModel[]

    The list of assignees for the pull request.

    author_association?: string

    Author's association with the subject of the comment.

    base?: Record<string, unknown>

    Base

    body?: string

    The body as Markdown.

    changed_files?: number

    The number of changed files in this pull request.

    closed_at?: string

    The date and time when the pull request was closed.

    comments?: number

    The number of comments in this pull request.

    comments_url?: string

    The Diff URL for the pull request.

    commits?: number

    The number of commits in this pull request.

    commits_url?: string

    The commit URL for the pull request.

    created_at?: string

    The date and time when the pull request was created.

    deletions?: number

    The number of deletions in this pull request.

    diff_url?: string

    The Diff URL for the pull request.

    draft?: boolean

    Indicates whether or not the pull request is a draft.

    head?: Record<string, unknown>

    Head

    html_url?: string

    The HTML URL for the pull request.

    id?: number

    The Unique Identifier for the pull request.

    issue_url?: string

    The issue URL for the pull request.

    labels?: Label[]

    The list of labels associated with the pull request.

    locked?: boolean

    Whether the pull request is locked or not.

    maintainer_can_modify?: boolean

    Indicates whether maintainers can modify the pull request.

    merge_commit_sha?: string

    The merge commit Sha of the pull request.

    mergeable?: boolean

    Whether or not the pull request can be merged based on the existence of merge conflicts.

    mergeable_state?: string

    The mergeable state of the pull request.

    merged?: boolean

    Whether or not the pull request was merged.

    merged_at?: string

    The date and time that the pull request was merged.

    merged_by?: UserDetailsModel
    milestone?: Milestone
    node_id?: string

    The Node ID for the pull request.

    number?: number

    Number uniquely identifying the pull request within its repository.

    patch_url?: string

    The patch URL for the pull request.

    rebaseable?: boolean

    Whether or not the pull request is rebaseable.

    requested_reviewers?: UserDetailsModel[]

    The list of Users assigned to this pull request.

    requested_teams?: TeamDetails[]

    The list of requested teams to this pull request.

    review_comment_url?: string

    The review comment URL for the pull request.

    review_comments?: number

    The number of review comments in this pull request.

    review_comments_url?: string

    The review comments URL for the pull request.

    state?: string

    State of this Pull Request. Either open or closed.

    statuses_url?: string

    The statuses URL for the pull request.

    title?: string

    The title of the pull request.

    updated_at?: string

    The date and time when the pull request was last updated.

    url?: string

    The HTTP URL for this pull request.