Provides properties that describe a Git pull request iteration. Iterations are created as a result of creating and pushing updates to a pull request.

interface GitPullRequestIteration {
    _links?: any;
    author?: IdentityRef;
    changeList?: GitPullRequestChange[];
    commits?: GitCommitRef[];
    commonRefCommit?: GitCommitRef;
    createdDate?: Date;
    description?: string;
    hasMoreCommits?: boolean;
    id?: number;
    newTargetRefName?: string;
    oldTargetRefName?: string;
    push?: GitPushRef;
    reason?: IterationReason;
    sourceRefCommit?: GitCommitRef;
    targetRefCommit?: GitCommitRef;
    updatedDate?: Date;
}

Properties

_links?: any

A collection of related REST reference links.

author?: IdentityRef

Author of the pull request iteration.

changeList?: GitPullRequestChange[]

Changes included with the pull request iteration.

commits?: GitCommitRef[]

The commits included with the pull request iteration.

commonRefCommit?: GitCommitRef

The first common Git commit of the source and target refs.

createdDate?: Date

The creation date of the pull request iteration.

description?: string

Description of the pull request iteration.

hasMoreCommits?: boolean

Indicates if the Commits property contains a truncated list of commits in this pull request iteration.

id?: number

ID of the pull request iteration. Iterations are created as a result of creating and pushing updates to a pull request.

newTargetRefName?: string

If the iteration reason is Retarget, this is the refName of the new target

oldTargetRefName?: string

If the iteration reason is Retarget, this is the original target refName

push?: GitPushRef

The Git push information associated with this pull request iteration.

The reason for which the pull request iteration was created.

sourceRefCommit?: GitCommitRef

The source Git commit of this iteration.

targetRefCommit?: GitCommitRef

The target Git commit of this iteration.

updatedDate?: Date

The updated date of the pull request iteration.