pull-request-controller
get/api/pullrequests/repository/{id}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/pullrequests/repository/{id}
  • Auth: none declared

Path parameters

idinteger required

Response

OK

idinteger required
numberinteger required
titlestring required
state'OPEN' | 'CLOSED' required
isDraftboolean required
isMergedboolean required
commentsCountinteger required
additionsinteger required
deletionsinteger required
headShastring required
headRefNamestring required
headRefRepoNameWithOwnerstring required
mergedAtstring date-time
closedAtstring date-time
htmlUrlstring required
createdAtstring date-time
updatedAtstring date-time

Example response

[
  {
    "labels": [
      {
        "name": "bug",
        "color": "ff0000"
      }
    ]
  }
]

Changes

    • ○

      added the non-success response with the status

    • ○

      added the optional property //// to the response with the status

    • ○

      added the optional property //// to the response with the status

    • ○

      added the optional property //// to the response with the status

    • ○

      added the optional property //// to the response with the status

    • ○

      added the optional property //// to the response with the status

    • ○

      added the optional property //// to the response with the status

    • ○

      added the optional property // to the response with the status

    • ○

      added the optional property // to the response with the status

    • ○

      added the optional property // to the response with the status

    • ○

      added the optional property // to the response with the status

    • ○

      added the optional property // to the response with the status

    • ○

      added the optional property // to the response with the status

    • ○

      added the required property //// to the response with the status

    • ○

      added the required property // to the response with the status