Get a pull request

View as Markdown
Gets information about a pull request, such as the source and destination details, who reviewed the pull request, the merge's current status, and whether the element is accessible.

Authentication

x-api-keystring
API Key authentication via header
OR
Authorizationstring
A valid [SCIM API key](https://learning.postman.com/docs/administration/scim-provisioning/scim-provisioning-overview/#generating-scim-api-key) for calls to SCIM endpoints.
OR
AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

pullRequestIdstringRequired
The pull request's ID.

Response

Successful Response
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 optional comment about why the pull request was declined.

fortkTypestring
The type of element the pull request was forked from.
sourceobject

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

destinationobject
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.
mergeobject
Information about the current progress of the pull request's merge.
reviewerslist of objects
Information about the reviewers assigned to the pull request.

Errors

403
Forbidden Error
500
Internal Server Error