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.
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 deploymentFor example, use ?expand=pullRequests
to include the pullRequests
field in the response. By default, this field is not included in the response.
The deployment ID
Expand properties in response. Options: pullRequests
, flagReferences
Deployment response
The deployment ID
The application key
The application version
The time the deployment started
The status of the deployment
The kind of deployment
Whether the deployment is active
Whether the deployment is archived
The environment key
The number of contributors
The number of pull requests
The number of lines added
The number of lines deleted
The total lead time from first commit to deployment end in milliseconds
The time the deployment ended
The duration of the deployment in milliseconds
The metadata associated with the deployment
The pull requests contained in the deployment
The flag references contained in the deployment
The lead time stages for the deployment