Get a list of pull requests
LaunchDarkly supports expanding the pull request collection response to include additional fields.
To expand the response, append the expand query parameter and include the following:
deployments includes details on all of the deployments associated with each pull requestflagReferences includes details on all of the references to flags in each pull requestleadTime includes details about the lead time of the pull request for each stageFor example, use ?expand=deployments to include the deployments field in the response. By default, this field is not included in the response.
Required if you are using the sort parameter’s leadTime option to sort pull requests.
Filter results to pull requests with the given status. Options: open, merged, closed, deployed.
Expand properties in response. Options: deployments, flagReferences, leadTime.
Sort results. Requires the environmentKey to be set. Options: leadTime (asc) and -leadTime (desc). When query option is excluded, default sort is by created or merged date.