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 deploymentflagReferences
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.
Path parameters
deploymentID
The deployment ID
Headers
Authorization
Query parameters
expand
Expand properties in response. Options: pullRequests
, flagReferences
Response
Deployment response
id
The deployment ID
applicationKey
The application key
applicationVersion
The application version
startedAt
The time the deployment started
status
The status of the deployment
kind
The kind of deployment
active
Whether the deployment is active
archived
Whether the deployment is archived
environmentKey
The environment key
numberOfContributors
The number of contributors
numberOfPullRequests
The number of pull requests
linesAdded
The number of lines added
linesDeleted
The number of lines deleted
leadTime
The total lead time from first commit to deployment end in milliseconds
endedAt
The time the deployment ended
durationMs
The duration of the deployment in milliseconds
metadata
The metadata associated with the deployment
pullRequests
The pull requests contained in the deployment
flagReferences
The flag references contained in the deployment
leadTimeStages
The lead time stages for the deployment