Skip to main content

PullRequestGet

Properties

NameTypeRequiredDescription
createdAtstringThe date and time at which the pull request was created.
updatedAtstringThe date and time at which the pull request was updated.
idstringThe pull request's ID.
titlestringThe pull request's title.
descriptionstringThe pull request's description.
createdBystringThe ID of the user who created the pull request.
updatedBystringThe ID of the user who last updated the pull request.
commentstringIf the pull request is a decline status, an optoinal comment about why the pull request was declined.
fortkTypestringThe type of element the pull request was forked from.
sourceSourceInformation about the pull request's source (parent) element.
destinationDestinationInformation about the pull request destination element.
statusstringThe 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.
mergeMergeInformation 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
idstringThe pull request's source ID.
namestringThe source element's name.
forkNamestringThe name of the fork created from the source element.
existsbooleanIf true, whether the element is present and not deleted.

Destination

Information about the pull request destination element.

Properties

NameTypeRequiredDescription
idstringThe destination element's ID.
namestringThe destination element's name.
existsbooleanIf true, whether the element is present and not deleted.

Merge

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

Properties

NameTypeRequiredDescription
statusMergeStatusThe 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
idstringThe reviewer's user ID.
statusstringThe 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 →