Update deployment

PATCH
/api/v2/engineering-insights/deployments/:deploymentID

Update a deployment by ID. Updating a deployment uses a JSON patch representation of the desired changes. To learn more, read Updates.

The deployment ID is returned as part of the List deployments response. It is the id field of each element in the items array.

Path parameters

deploymentIDstringRequired

The deployment ID

Request

This endpoint expects a list of objects.
list of objects

Response

Deployment response

idstringformat: "uuid"

The deployment ID

applicationKeystring

The application key

applicationVersionstring

The application version

startedAtlong

The time the deployment started

statusstring

The status of the deployment

kindstring

The kind of deployment

activeboolean

Whether the deployment is active

archivedboolean

Whether the deployment is archived

environmentKeystring

The environment key

numberOfContributorsinteger

The number of contributors

numberOfPullRequestsinteger

The number of pull requests

linesAddedlong

The number of lines added

linesDeletedlong

The number of lines deleted

leadTimelong

The total lead time from first commit to deployment end in milliseconds

endedAtlongOptional

The time the deployment ended

durationMslongOptional

The duration of the deployment in milliseconds

metadatamap from strings to anyOptional

The metadata associated with the deployment

pullRequestsobjectOptional

The pull requests contained in the deployment

flagReferencesobjectOptional

The flag references contained in the deployment

leadTimeStagesobjectOptional

The lead time stages for the deployment

Errors

Built with