このコマンドは、宛先データに使用できる使用可能なストレージプールのリストを含む、単一のレプリケーションターゲットの詳細を一覧表示します。ターゲットは、href (target-000) または <name>=<value> の選択によってアクセスします。
リクエストの例:
GET api/service/v1/services/replication/targets/hostname=luxor HTTP/1.1 Authorization: Basic ab6rt4psMWE= Host: zfs-storage.example.com:215 Accept: application/json
レスポンスの例:
HTTP/1.1 200 OK
X-Zfssa-Replication-Api: 1.0
Content-Type: application/json
Content-Length: 337
{
    "hostname=luxor": {
        "actions": 0,
        "address": "10.80.231.52:216",
        "asn": "fa5bf303-0dcb-e20d-ac92-cd129ccd2c81",
        "hostname": "luxor",
        "href": "/service/v1/services/replication/targets/hostname=luxor",
        "label": "luxor"
    }
}