{
"data":
{
"services": [
{
"name": "service-name",
"domain": "domain-id",
"desiredState":
{
"replicas": 3,
"replicaSelector": { "name": "service-name" },
"replicaPolicy": {
"atLeast": 2
},
"activeDeployment": "a_deployment_id",
"podTemplate":
{
"desiredState":
{
"image": "server/domain/name",
"network-ports": [
{
"hostPort": 8080,
"containerPort": 80
}
],
"owner": true
},
"labels": {
"name": "service-name"
}
}
}
}
],
"links": [
{
"id": "53c4249f076573c0f4000001",
"projectId": "myproject-1234123132",
"source": {
"serviceId": "nginx-1893747912737"
},
"destination": {
"serviceId": "ruby1.9-1237471273",
"port": 8080
}
"policy": "round-robin"
}
]
}
}