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.
The project key
Required if you are using the sort
parameter’s leadTime
option to sort pull requests.
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 list of pull requests by title or author
The number of pull requests to return. Default is 20. Maximum allowed is 100.
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.
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
Pull request collection response
The total number of pull requests
A list of pull requests
The location and content type of related resources