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
The get replication action status command returns the status of a single replication action given by its ID.
Example Request:
GET /api/storage/v1/replication/actions/1438ed7f-aad3-c631-d869-9e85cd7f15b4 HTTP/1.1 Authorization: Basic ab6rt4psMWE= Accept: application/json
Example Response:
HTTP/1.1 200 OK X-Zfssa-Replication-Api: 1.0 Content-Type: application/json Content-Length: 529 { "action": { "average_throughput": 0.0, "bytes_sent": 0.0, "collection": "local", "continuous": false, "enabled": true, "estimated_size": 0.0, "estimated_time_left": 0.0, "href": "/api/storage/v1/replication/actions", "id": "8373d331-de60-e590-90e8-9ad69fcb4aec", "include_snaps": true, "last_sync": "20130916T21:36:50", "last_try": "20130916T21:36:50", "max_bandwidth": 0, "pool": "gold", "project": "blah1", "share": "fs1", "state": "sending", "target": "38094753-6c90-49ed-aa92-995a296d432a", "use_ssl": true } }