GET /api/sam/admin/target/
Get clusters of all instances
Description
Reports the clusters and metadata for all InterSystems IRIS® data platform instances monitored by SAM.
Request Example
GET http://localhost:8080/api/sam/admin/target/
Response Example
This method returns a JSON array of JSON objects that contain the metadata for all of the configured targets. For example:
[
{
"id": 1,
"instance": "172.16.6.9:80",
"name": "IRIS_primary",
"description": "Primary Mirror Member",
"cluster": 1,
"urlPrefix": "/mirror1",
"dashboardId": "2"
},
{
"id": 2,
"instance": "172.16.6.8:80",
"name": "IRIS_backup",
"description": "Backup Mirror Member",
"cluster": 1,
"urlPrefix": "/mirror2",
"dashboardId": "HTIxx8IVz"
}
]
Note:
The urlPrefix and dashboardId properties were added in SAM version 2.0.