Error
A valid request URL is required to generate request examples{
"success": true,
"deployment": {
"_id": "<string>",
"releaseId": "<string>",
"environment": "dev",
"status": "building",
"previousDeploymentId": "<string>"
}
}{
"error": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": null,
"retryable": true,
"requestId": "<string>"
}
}{
"error": "<string>"
}Get deployment
Get the status, environment, and release of one deployment, and the previous deployment you can roll back to.
GET
/
api
/
cicd
/
v1
/
projects
/
{projectId}
/
deployments
/
{deploymentId}
Error
A valid request URL is required to generate request examples{
"success": true,
"deployment": {
"_id": "<string>",
"releaseId": "<string>",
"environment": "dev",
"status": "building",
"previousDeploymentId": "<string>"
}
}{
"error": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": null,
"retryable": true,
"requestId": "<string>"
}
}{
"error": "<string>"
}_id, releaseId, environment, status, and previousDeploymentId. Poll it after you create or promote a deployment. The status is building, active, failed, or retired.
The response includes previousDeploymentId, which is the rollback target when one exists. You can promote a deployment only when its status is active. A deployment that doesn’t exist or that you can’t access returns 404.Authorizations
Path Parameters
Was this page helpful?