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
Gets the state of the replication service.
Example Request:
GET /api/service/v1/services/replication HTTP/1.1 Host: zfssa.example.com:215 Authorization: Basic ab6rt4psMWE= Accept: application/json
Example Results:
HTTP/1.1 200 OK Content-Type: application/json Content-Length: 131 X-Zfssa-Replication-Api: 1.0 { "service": { "<status>": "online", "href": "/service/v1/services/replication", "sources": [], "targets": [] } }