Deployment
Read a deployment
Read a specific deployment
get/deployment/{id}
Path parameters
idstring required
The ID of the deployment to read.
Query parameters
include_messagesboolean
Specifies whether it includes messages in the response.
Response
An object representing the deployment.
Example response
{
"id": 1,
"scope_id": 1234,
"release_id": 5678,
"status": "running",
"status_in_scope": "ACTIVE",
"strategy": "blue_green",
"strategy_data": {
"switched_traffic": 30,
"desired_switched_traffic": 50,
"amount_instances_to_wait": 5,
"healthy_instances": 3,
"launched_instances": 5,
"switch_traffic_step": true
},
"created_at": "2023-10-01T12:34:56Z",
"updated_at": "2023-10-01T12:34:56Z",
"messages": [
{
"level": "INFO",
"message": "Deployment started successfully",
"code": "DEPLOYMENT_STARTED",
"timestamp": 1696166096
}
],
"deployment_token": "abc123xyz",
"nrn": "organization=1:account=2:namespace=4:application=4:scope=5"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.