Insights deployments (beta)
Get deployment
Get a deployment by ID.
The deployment ID is returned as part of the List deployments response. It is the id field of each element in the items array.
Expanding the deployment response
LaunchDarkly supports expanding the deployment response to include additional fields.
To expand the response, append the expand query parameter and include the following:
- pullRequests includes details on all of the pull requests associated with each deployment
- flagReferences includes details on all of the references to flags in each deployment
For example, use ?expand=pullRequests to include the pullRequests field in the response. By default, this field is not included in the response.
get/api/v2/engineering-insights/deployments/{deploymentID}
Path parameters
deploymentIDstring string required
The deployment ID
The deployment ID
Query parameters
expandstring string
Expand properties in response. Options: pullRequests, flagReferences
Expand properties in response. Options: pullRequests, flagReferences
Response
Deployment response