Skip to main content
Previous section   Next section

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.

To use this endpoint, you must log in as a user with access to the %SAM.Admin resource.

Note:

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

Request Example

GET /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:52775",
        "name": "IRIS_primary",
        "description": "Primary Mirror Member",
        "cluster": 1
    },
    {
        "id": 2,
        "instance": "172.16.6.8:52775",
        "name": "IRIS_backup",
        "description": "Backup Mirror Member",
        "cluster": 1
    }

]
Copy code to clipboard
Previous section   Next section