| Skip Navigation Links | |
| Exit Print View | |
|
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Chapter 2 Working with the API
Chapter 3 Alert Service Commands
Chapter 8 Problem Service Commands
This command lists the details of a single replication target including the list of available storage pools that can be used for destination data. The target is accessed by its href (target-000) or by a <name>=<value> selection.
Example Request:
GET api/service/v1/services/replication/targets/hostname=luxor HTTP/1.1 Authorization: Basic ab6rt4psMWE= Host: zfs-storage.example.com:215 Accept: application/json
Example Response:
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"
}
}