Get a collection's pull requests

GET {{baseUrl}}/collections/{{collectiondUid}}/pull-requests

Gets information about a collection's pull requests, such as the source and destination IDs, status of the pull requests, and a URL link to the pull requests.

RESPONSES

status: OK

{"data":[{"createdAt":"2024-02-20T09:55:46.000Z","updatedAt":"2024-02-20T09:58:38.000Z","id":"4e1a6609-1a29-4037-a411-89ecc14c6cd8","href":"/pull-requests/4e1a6609-1a29-4037-a411-89ecc14c6cd8","sourceId":"87654321-3b79068c-dbe5-41d5-a826-51be4bf646ef","destinationId":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2","title":"Open PR","description":"This is an open pull request.","createdBy":"12345678","updatedBy":"12345678","status":"open"},{"createdAt":"2024-02-20T09:58:57.000Z","updatedAt":"2024-02-20T09:58:57.000Z","id":"ac959187-568f-4e5e-9d17-584eb44fbed2","href":"/pull-requests/ac959187-568f-4e5e-9d17-584eb44fbed2","sourceId":"87654321-e50a18a3-0dcd-49cb-afa5-d3a82cdf6134","destinationId":"12345678-24f57217-1169-4b7c-a810-0e957c04eaa5","title":"Approved PR","description":"This is an approved PR.","createdBy":"12345678","updatedBy":"12345678","status":"approved"},{"createdAt":"2024-02-20T09:55:46.000Z","updatedAt":"2024-02-20T09:58:38.000Z","id":"eda21e1f-8688-43aa-8660-35337dbac04b","href":"/pull-requests/eda21e1f-8688-43aa-8660-35337dbac04b","sourceId":"87654321-4beee503-1a7a-4925-a165-16fc29eaad22","destinationId":"12345678-c7f30bd9-5cc7-4569-a5fe-92270af33c6c","title":"Declined PR","description":"This is a declined PR.","createdBy":"12345678","updatedBy":"12345678","status":"declined","comment":"Missing information."}]}