To view the current service status, the following command can be called (Note we are excluding the routers in this example for readability)
GET https://localhost:8090/api/v2/manager/status/service/usa?includeRouters=false
The returned ServiceStatusPayload will look something like the following
{
"payloadType": "ServiceStatusPayload",
"payloadVersion": "1",
"payload": {
"name": "usa",
"type": "CLUSTERED_MASTER_SLAVE",
"composite": true,
"multimaster": false,
"policy": "AUTOMATIC",
"coordinators": [
"db2",
"db4"
],
"datasources": [
"east",
"west"
]
}
}