Skip to main content

GET /api/sam/admin/target/{id}

Get cluster of a specific instance


This method returns the cluster and metadata of the target InterSystems IRIS® data platform instance.


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

Request Example

GET http://localhost:8080/api/sam/admin/target/3

id Required path variable. The id of the target instance.

Response Example

The format of the JSON response body is a simple object with a cluster field. For example:

    "name": "IRIS3",
    "description": "Local IRIS3",
    "cluster": 1,
    "instance": "iris:80"
    "urlPrefix": "/local3",
    "dashboardId": "UBE6j_IVk"

The urlPrefix and dashboardId properties were added in SAM version 2.0.

FeedbackOpens in a new tab