List pull requests
Get a list of pull requests
Expanding the pull request collection response
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 request
- flagReferences includes details on all of the references to flags in each pull request
- leadTime includes details about the lead time of the pull request for each stage
For example, use ?expand=deployments to include the deployments field in the response. By default, this field is not included in the response.
Query parameters
The project key
The project key
Required if you are using the <code>sort</code> parameter's <code>leadTime</code> option to sort pull requests.
Required if you are using the <code>sort</code> parameter's <code>leadTime</code> option to sort pull requests.
Filter the results to pull requests deployed to a comma separated list of applications
Filter the results to pull requests deployed to a comma separated list of applications
Filter results to pull requests with the given status. Options: open, merged, closed, deployed.
Filter results to pull requests with the given status. Options: open, merged, closed, deployed.
Filter list of pull requests by title or author
Filter list of pull requests by title or author
The number of pull requests to return. Default is 20. Maximum allowed is 100.
The number of pull requests to return. Default is 20. Maximum allowed is 100.
Expand properties in response. Options: deployments, flagReferences, leadTime.
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.
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.
Unix timestamp in milliseconds. Default value is 7 days ago.
Unix timestamp in milliseconds. Default value is now.
Identifier used for pagination
Identifier used for pagination
Identifier used for pagination
Identifier used for pagination
Response
Pull request collection response