Skip to main content

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.

Note:

This endpoint returns a subset of the information returned by GET /api/sam/target/state/

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.

FeedbackOpens in a new tab