Skip to main content

PullRequestGet

Properties

NameTypeRequiredDescription
createdAtstring❌The date and time at which the pull request was created.
updatedAtstring❌The date and time at which the pull request was updated.
idstring❌The pull request's ID.
titlestring❌The pull request's title.
descriptionstring❌The pull request's description.
createdBystring❌The ID of the user who created the pull request.
updatedBystring❌The ID of the user who last updated the pull request.
commentstring❌If the pull request is a decline status, an optoinal comment about why the pull request was declined.
fortkTypestring❌The type of element the pull request was forked from.
sourceSource❌Information about the pull request's source (parent) element.
destinationDestination❌Information about the pull request destination element.
statusstring❌The pull request's current review status: - open — The pull request is still open. - approved — The pull request was approved by its reviewers. - declined — The pull request was not approved by its reviewers.
mergeMerge❌Information about the current progress of the pull request's merge.
reviewersReviewers[]❌Information about the reviewers assigned to the pull request.

Source

Information about the pull request's source (parent) element.

Properties

NameTypeRequiredDescription
idstring❌The pull request's source ID.
namestring❌The source element's name.
forkNamestring❌The name of the fork created from the source element.
existsboolean❌If true, whether the element is present and not deleted.

Destination

Information about the pull request destination element.

Properties

NameTypeRequiredDescription
idstring❌The destination element's ID.
namestring❌The destination element's name.
existsboolean❌If true, whether the element is present and not deleted.

Merge

Information about the current progress of the pull request's merge.

Properties

NameTypeRequiredDescription
statusMergeStatus❌The pull request's current merge status: - inactive — There is no merge in progress. - inprogress — The pull request is currently merging. - failed — The pull request's merge failed.

MergeStatus

The pull request's current merge status: - inactive — There is no merge in progress. - inprogress — The pull request is currently merging. - failed — The pull request's merge failed.

Properties

NameTypeRequiredDescription
INACTIVEstring✅"inactive"
INPROGRESSstring✅"inprogress"
FAILEDstring✅"failed"

Reviewers

Properties

NameTypeRequiredDescription
idstring❌The reviewer's user ID.
statusstring❌The reviewer's review status response. One of: - approved - declined

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →