pulls
experimental

list pull requests

get/repositories/{repository}/pulls

Query parameters

prefixstring

return items prefixed with this value

afterstring

return items after this value

amountinteger

how many items to return

status'open' | 'closed' | 'all'

filter pull requests by status

Response

list of pull requests

Changes

Changed in 6 of the 52 revisions of this API.7317

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 429

      response-non-success-status-added

    • removed the non-success response with the status 420

      response-non-success-status-removed

    • added the optional property results/items/allOf[subschema #3]/closed_date to the response with the 200 status

      response-optional-property-added

  • 86ce93ccfb8911See the full diff
    • deleted the query request parameter state

      request-parameter-removed

    • added the new optional query request parameter status

      new-optional-request-parameter

  • 22a048c6de1c611See the full diff
    • the results/items/ response's property type/format changed from object/ to / for status 200

      response-property-type-changed

    • removed the required property results/items/author from the response with the 200 status

      response-required-property-removed

    • removed the required property results/items/creation_date from the response with the 200 status

      response-required-property-removed

    • removed the required property results/items/destination_branch from the response with the 200 status

      response-required-property-removed

    • removed the required property results/items/id from the response with the 200 status

      response-required-property-removed

    • removed the required property results/items/source_branch from the response with the 200 status

      response-required-property-removed

    • removed the optional property results/items/commit_id from the response with the 200 status

      response-optional-property-removed

    • added subschema #2 subschema #3 to the results/items/ response property allOf list for the response status 200

      response-property-all-of-added

  • 3b10653a80131111See the full diff
    • the results/items/ response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • deleted the query request parameter status

      request-parameter-removed

    • added the new optional query request parameter state

      new-optional-request-parameter

    • added the non-success response with the status 420

      response-non-success-status-added

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • removed the non-success response with the status 429

      response-non-success-status-removed

    • added the optional property results/items/commit_id to the response with the 200 status

      response-optional-property-added

    • removed subschema #2 subschema #3 from the results/items/ response property allOf list for the response status 200

      response-property-all-of-removed

    • added the required property results/items/author to the response with the 200 status

      response-required-property-added

    • added the required property results/items/creation_date to the response with the 200 status

      response-required-property-added

    • added the required property results/items/destination_branch to the response with the 200 status

      response-required-property-added

    • added the required property results/items/id to the response with the 200 status

      response-required-property-added

    • added the required property results/items/source_branch to the response with the 200 status

      response-required-property-added

    This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog